A gnome-shell extensions that try to add rounded corners for all windows

Overview

Rounded Window Corners

A gnome-shell extensions that try to add rounded corners for all windows

Features

  • Works with Gnome 40/41/42
  • Custom border radius and clip paddings for windows
  • Black list for applications which draw window decoration itself
  • Custom shadow for rounded corners windows
  • Skip libadwaita / libhandy application
  • Superelliptical shape for rounded corners, thanks to @YuraIz
  • A simple reset preferences dialog

Compatibility

  • Compiz alike magic lamp effect

    Hide shadow when magic lamp effect running. Need to restart (disable then enable) this extension when Compiz alike magic lamp effect enabled.

Notes

  • The rounded corners effect for window is base on this shader from mutter project
  • The TypeScript support for GJS is power by gi.ts

Screenshots

2022-07-29 23-49-57

Installation

From Ego

Install extensions from here.

From source code

It will install extensions to ~/.local/share/gnome-shell/extensions

git clone https://github.com/yilozt/rounded-window-corners
cd rounded-window-corners
yarn install
yarn ext:install

From Releases / Github Actions

Download extensions pack from Releases Page, or download git version from Github Actions. After download extensions pack, you need use gnome-extensions to install it, then restart gnome-shell to enable this extensions.

gnome-extensions install [email protected]

Development

Build

yarn build 

Watch files

Build and install extensions when files in src folder changed.

yarn dev

Test in Virtual Box by Vagrant

Need to install Vagrant and Virtual Box. This command will setup a virtual machine that enable log of extensions in terminal.

yarn vm
Comments
  • mutter-43.1: broke corners

    mutter-43.1: broke corners

    After mutter update few apps like gnome-terminal, firefox, chrome... got broken: Zrzut ekranu z 2022-11-04 21-30-30 it's happened on adwaita aswell.

    the root of problem is here: first bad commit after revert it issue dissapear

    bug 
    opened by frosth555 8
  • Artifacts on overview after dragging windows.

    Artifacts on overview after dragging windows.

    After dragging a window on the overview it creates an artifact border on the bottom right of the window.

    video.webm

    it works both moving the window to other workspace or releasing it on the same workspace.

    Edit: Extension Version 5, Fedora 36, Shell 42.3, Wayland, AMD integrated graphics.

    bug 
    opened by jntdofe 8
  • `meta_context_notify_ready: assertion 'priv->state == META_CONTEXT_STATE_STARTED || priv->state == META_CONTEXT_STATE_RUNNING' failed`

    `meta_context_notify_ready: assertion 'priv->state == META_CONTEXT_STATE_STARTED || priv->state == META_CONTEXT_STATE_RUNNING' failed`

    Noticed this error in my logs on a clean shell restart (alt + F2 -> r) with only your plugin installed, no user themes either. Only happens with this plugin installed and enabled.

    OS: Gentoo - 5.19.0 GNOME: 42.3.1

    $ journalctl -r /usr/bin/gnome-shell
    Aug 06 11:38:25 localhost gnome-shell[1707]: Registering session with GDM
    Aug 06 11:38:25 localhost gnome-shell[1707]: GNOME Shell started at Sat Aug 06 2022 11:38:23 GMT-0700 (PDT)
    Aug 06 11:38:23 localhost gnome-shell[1707]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
    Aug 06 11:38:23 localhost gnome-shell[1707]: meta_context_notify_ready: assertion 'priv->state == META_CONTEXT_STATE_STARTED || priv->state == META_CONTEXT_STATE_RUNNING' failed
    Aug 06 11:38:23 localhost gnome-shell[1707]: Failed to create file /run/user/1000/gnome-shell-disable-extensions: Error opening file “/run/user/1000/gnome-shell-disable-extensions”: File exists
    Aug 06 11:38:23 localhost gnome-shell[1707]: Will monitor session 3
    Aug 06 11:38:23 localhost gnome-shell[1707]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
    Aug 06 11:38:22 localhost gnome-shell[1707]: Enabling experimental feature 'scale-monitor-framebuffer'
    Aug 06 11:38:22 localhost gnome-shell[1707]: Running GNOME Shell (using mutter 42.3) as a X11 window and compositing manager
    

    Disabling the plugin (and restarting the GNOME shell), makes the error go away.

    Aug 06 11:45:52 localhost gnome-shell[1707]: Registering session with GDM
    Aug 06 11:45:52 localhost gnome-shell[1707]: GNOME Shell started at Sat Aug 06 2022 11:45:49 GMT-0700 (PDT)
    Aug 06 11:45:50 localhost gnome-shell[1707]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
    Aug 06 11:45:49 localhost gnome-shell[1707]: Will monitor session 3
    Aug 06 11:45:49 localhost gnome-shell[1707]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
    Aug 06 11:45:48 localhost gnome-shell[1707]: Enabling experimental feature 'scale-monitor-framebuffer'
    Aug 06 11:45:48 localhost gnome-shell[1707]: Running GNOME Shell (using mutter 42.3) as a X11 window and compositing manager
    
    opened by peterlobster 8
  • overview broken

    overview broken

    I have no direct evidence that this is caused by this extension and only that, but it happens only when the extension is installed and stops when removed. At some point this is what happens to the overview: Captura de tela de 2022-08-03 09-05-38

    This is what the log journal shows when I try to show the overview in this state: JS ERROR: Error: Expected an object of type ClutterActorBox for argument 'box' but got type undefined vfunc_allocate@resource:///org/gnome/shell/ui/overviewControls.js:202:33

    As shown in the below screenshot: Captura de tela de 2022-08-03 17-44-50

    I'm running Fedora 36 with Gnome 42.3

    bug 
    opened by caetano-m 8
  • Errors logged when GNOME shell is restarted, after activation

    Errors logged when GNOME shell is restarted, after activation

    There seems to be a series of errors logged by the extension when the GNOME shell is restarted, for the first time, after plugin activation. These errors don't appear after that first restart.

    Might be related to #25

    Aug 06 11:59:12 localhost gnome-shell[1707]: DING: GNOME nautilus 42.2
    Aug 06 11:59:12 localhost gnome-shell[1707]: DING: Detected async api for thumbnails
    Aug 06 11:59:11 localhost gnome-shell[1707]: Registering session with GDM
    Aug 06 11:59:11 localhost gnome-shell[1707]: GNOME Shell started at Sat Aug 06 2022 11:59:09 GMT-0700 (PDT)
    Aug 06 11:59:09 localhost gnome-shell[1707]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
    Aug 06 11:59:09 localhost gnome-shell[1707]: meta_context_notify_ready: assertion 'priv->state == META_CONTEXT_STATE_STARTED || priv->state == META_CONTEXT_STATE_RUNNING' failed
    Aug 06 11:59:09 localhost gnome-shell[1707]: Will monitor session 3
    Aug 06 11:59:09 localhost gnome-shell[1707]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
    Aug 06 11:59:08 localhost gnome-shell[1707]: Enabling experimental feature 'scale-monitor-framebuffer'
    Aug 06 11:59:08 localhost gnome-shell[1707]: Running GNOME Shell (using mutter 42.3) as a X11 window and compositing manager
    Aug 06 11:59:08 localhost gnome-shell[1707]: Timelines with detached actors are not supported. <unnamed>[<StBin>:0x5586714cd490] in animation of duration 300ms but not on stage.
    Aug 06 11:59:08 localhost gnome-shell[1707]: Timelines with detached actors are not supported. <unnamed>[<StBin>:0x5586710aa310] in animation of duration 300ms but not on stage.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e1bef00), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e1beb10), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e1be720), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e1be330), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10bed0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10bae0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10b6f0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10b300), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10af10), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   7ffe258cbe60 b   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10ab20), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10a730), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e10a340), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e059ec0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e059ad0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e0596e0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e0592f0), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e058f00), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e058b10), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e058720), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    Aug 06 11:59:08 localhost gnome-shell[1707]: #1   55866f5d42d8 i   resource:///org/gnome/shell/ui/main.js:251 (22307eef150 @ 12)
    Aug 06 11:59:08 localhost gnome-shell[1707]: #0   55866f5d4358 i   file:///home/peter/.local/share/gnome-shell/extensions/rounded-window-corners@yilozt/manager/rounded-corners-manager.js:333 (2bd2f3ffb380 @ 195)
    Aug 06 11:59:08 localhost gnome-shell[1707]: == Stack trace for context 0x55866b91f180 ==
    Aug 06 11:59:08 localhost gnome-shell[1707]: Object .MetaWindowActorX11 (0x55866e058330), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
    

    As mentioned before, if you restart the shell again (and as many times after) these errors no longer appear.

    Aug 06 11:56:17 localhost gnome-shell[1707]: Registering session with GDM
    Aug 06 11:56:17 localhost gnome-shell[1707]: GNOME Shell started at Sat Aug 06 2022 11:56:15 GMT-0700 (PDT)
    Aug 06 11:56:15 localhost gnome-shell[1707]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
    Aug 06 11:56:15 localhost gnome-shell[1707]: meta_context_notify_ready: assertion 'priv->state == META_CONTEXT_STATE_STARTED || priv->state == META_CONTEXT_STATE_RUNNING' failed
    Aug 06 11:56:15 localhost gnome-shell[1707]: Will monitor session 3
    Aug 06 11:56:15 localhost gnome-shell[1707]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
    Aug 06 11:56:14 localhost gnome-shell[1707]: Enabling experimental feature 'scale-monitor-framebuffer'
    Aug 06 11:56:14 localhost gnome-shell[1707]: Running GNOME Shell (using mutter 42.3) as a X11 window and compositing manager
    
    bug help wanted 
    opened by peterlobster 7
  • How to disable desktop border on Ubuntu 22.04

    How to disable desktop border on Ubuntu 22.04

    As you can see in the screenshot, after restart Ubuntu 22.04, the desktop also has borders like other windows, how can I remove the desktop borders, can I set it in the blacklist?

    Screenshot from 2022-11-25 12-39-02

    opened by orklann 6
  • Windows are being overcropped

    Windows are being overcropped

    Hello!

    Here I have an unmaximized Firefox window. When I click the menu icon, the window is overcropped:

    Screenshot from 2022-12-05 13-19-54-obfuscated

    (email removed from menu for privacy)

    I've also had this happen when simply launching the gnome-terminal.

    Fedora 37, Gnome 43, Wayland.

    Please let me know if you need anymore details!

    opened by ceiphr 5
  • Error on compilation:

    Error on compilation: "Cannot find module '@gi/Shell'"

    Hi.

    While trying to compile the source code and install extension (with yarn install && yarn run ext:install) I experience the following errors:

    yarn install v1.22.19
    warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
    [1/4] Resolving packages...
    success Already up-to-date.
    Done in 0.64s.
    yarn run v1.22.19
    $ gulp install
    [01:43:22] Using gulpfile ~/Projects/rounded-window-corners/gulpfile.js
    [01:43:22] Starting 'install'...
    [01:43:22] Starting '<anonymous>'...
    [01:43:22] Finished '<anonymous>' after 2.73 ms
    [01:43:22] Starting 'generate_gi_ext'...
    [01:43:22] Starting 'generate_gi_prefs'...
    [01:43:22] Finished 'generate_gi_ext' after 1.16 ms
    [01:43:22] Finished 'generate_gi_prefs' after 1.72 ms
    [01:43:22] Starting 'rename_gi'...
    [01:43:22] Finished 'rename_gi' after 9.82 ms
    [01:43:22] Starting '<anonymous>'...
    [01:43:22] Finished '<anonymous>' after 1.25 ms
    [01:43:22] Starting 'format'...
    [01:43:28] Finished 'format' after 6.25 s
    [01:43:28] Starting 'compile_ts'...
    src/effect/clip_shadow_effect.ts(4,41): error TS2792: Cannot find module '@gi/Shell'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
    src/effect/clip_shadow_effect.ts(24,18): error TS2339: Property 'add_glsl_snippet' does not exist on type '(Anonymous class)'.
    src/effect/clip_shadow_effect.ts(29,18): error TS2339: Property 'get_pipeline' does not exist on type '(Anonymous class)'.
    src/effect/linear_filter_effect.ts(5,41): error TS2792: Cannot find module '@gi/Shell'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
    src/effect/linear_filter_effect.ts(11,18): error TS2339: Property 'add_glsl_snippet' does not exist on type '(Anonymous class)'.
    src/effect/linear_filter_effect.ts(15,18): error TS2339: Property 'get_pipeline' does not exist on type '(Anonymous class)'.
    src/effect/rounded_corners_effect.ts(4,41): error TS2792: Cannot find module '@gi/Shell'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
    src/effect/rounded_corners_effect.ts(60,26): error TS2339: Property 'get_uniform_location' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(66,18): error TS2339: Property 'add_glsl_snippet' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(84,32): error TS2339: Property 'actor' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(114,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(115,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(116,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(117,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(118,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(119,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(120,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(121,18): error TS2339: Property 'set_uniform_float' does not exist on type 'Effect'.
    src/effect/rounded_corners_effect.ts(124,18): error TS2339: Property 'queue_repaint' does not exist on type 'Effect'.
    src/extension.ts(29,28): error TS2792: Cannot find module '@gi/Shell'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
    src/extension.ts(174,43): error TS2339: Property 'window_container' does not exist on type 'WindowPreview'.
    src/extension.ts(178,38): error TS2345: Argument of type 'RegisteredPrototype<(Anonymous class), { [key: string]: ParamSpec<unknown>; }, unknown[]>' is not assignable to parameter of type 'Effect'.
      Type 'Properties<(Anonymous class), SnakeToCamel<{ [key: string]: ParamSpec<unknown>; }> & SnakeToUnderscore<{ [key: string]: ParamSpec<unknown>; }>> & (Anonymous class)' is missing the following properties from type 'Effect': _init, queue_repaint, vfunc_modify_paint_volume, vfunc_paint, and 51 more.
    src/extension.ts(185,18): error TS2339: Property 'insert_child_below' does not exist on type 'WindowPreview'.
    src/extension.ts(189,24): error TS2769: No overload matches this call.
      Overload 1 of 2, '(source: Object, signal: "notify", callback: (_source: Object, pspec: ParamSpec<unknown>) => void): void', gave the following error.
        Argument of type 'WindowPreview' is not assignable to parameter of type 'Object'.
          Type 'WindowPreview' is missing the following properties from type 'Object': _init, g_type_instance, connect, connect_after, and 34 more.
      Overload 2 of 2, '(source: Object, args_0: string, args_1: (_: unknown[]) => unknown): void', gave the following error.
        Argument of type 'WindowPreview' is not assignable to parameter of type 'Object'.
    src/extension.ts(192,35): error TS2345: Argument of type 'WindowPreview' is not assignable to parameter of type 'Object'.
    src/extension.ts(397,40): error TS2339: Property 'window_container' does not exist on type 'WindowPreview'.
    src/extension.ts(398,40): error TS2339: Property 'get_allocation_box' does not exist on type 'WindowPreview'.
    src/manager/rounded_corners_manager.ts(23,28): error TS2792: Cannot find module '@gi/Shell'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
    src/manager/rounded_corners_manager.ts(179,51): error TS7006: Parameter 'actor' implicitly has an 'any' type.
    src/manager/rounded_corners_manager.ts(198,24): error TS7006: Parameter 'actor' implicitly has an 'any' type.
    src/manager/rounded_corners_manager.ts(305,13): error TS2345: Argument of type 'RegisteredPrototype<(Anonymous class), { [key: string]: ParamSpec<unknown>; }, unknown[]>' is not assignable to parameter of type 'Effect'.
      Type 'Properties<(Anonymous class), SnakeToCamel<{ [key: string]: ParamSpec<unknown>; }> & SnakeToUnderscore<{ [key: string]: ParamSpec<unknown>; }>> & (Anonymous class)' is missing the following properties from type 'Effect': _init, queue_repaint, vfunc_modify_paint_volume, vfunc_paint, and 51 more.
    src/manager/rounded_corners_manager.ts(431,61): error TS2345: Argument of type 'RegisteredPrototype<Effect, { [key: string]: ParamSpec<unknown>; }, unknown[]>' is not assignable to parameter of type 'Effect'.
    src/manager/rounded_corners_manager.ts(651,47): error TS7006: Parameter 'actor' implicitly has an 'any' type.
    src/manager/rounded_corners_manager.ts(776,58): error TS2345: Argument of type 'RegisteredPrototype<Effect, { [key: string]: ParamSpec<unknown>; }, unknown[]>' is not assignable to parameter of type 'Effect'.
      Type 'Properties<Effect, SnakeToCamel<{ [key: string]: ParamSpec<unknown>; }> & SnakeToUnderscore<{ [key: string]: ParamSpec<unknown>; }>> & Effect' is missing the following properties from type 'Effect': _init, queue_repaint, vfunc_modify_paint_volume, vfunc_paint, and 51 more.
    TypeScript: 34 semantic errors
    TypeScript: emit succeeded (with errors)
    [01:43:36] 'compile_ts' errored after 8.02 s
    [01:43:36] Error: TypeScript: Compilation failed
        at Output.mightFinish (/home/k/Projects/rounded-window-corners/node_modules/gulp-typescript/release/output.js:131:43)
        at /home/k/Projects/rounded-window-corners/node_modules/gulp-typescript/release/output.js:44:22
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
    [01:43:36] 'install' errored after 14 s
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    

    What should I do to resolve the issue?

    opened by kcpr 5
  • Border is drawn inside the windows

    Border is drawn inside the windows

    If the extension is turned off, the window border seems to be drawn outside the window boundary. When the extension is turned on, the border seems to be drawn inside the window, which makes the usable area of the window slightly smaller. This creates a visual difference to the default look. Could the borders be drawn outside the window boundary?

    Extension turned off: extension_off

    Extension turned on (border size is 1px): extension_on

    enhancement 
    opened by lonssi 5
  • Error when installing from gnome extension website

    Error when installing from gnome extension website

    Technical details:

    The settings of extension rounded-window-corners@yilozt had an error:

    SyntaxError: expected expression, got '.'
    

    Stack trace:

    _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
    OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
    asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
    run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
    main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
    run@resource:///org/gnome/gjs/modules/script/package.js:222:19
    start@resource:///org/gnome/gjs/modules/script/package.js:206:5
    @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
    
    opened by areepp 4
  • Breaks wobbly windows drop shadows on some apps

    Breaks wobbly windows drop shadows on some apps

    This extension seems to cause drop shadow artifacts on some apps if the compiz-like wobbly windows extension is enabled.

    Here's a video that I hope helps

    https://user-images.githubusercontent.com/7475484/185196515-bf3d38e9-9d4e-42ff-90f5-acbab44e78dd.mp4

    enhancement help wanted 
    opened by ryanfelder 4
  • optional addition of borders in full screen mode

    optional addition of borders in full screen mode

    you can make a function to add borders, such as in the blackbox (picture 1), just in case it has HEX #3f3e3d image picture 1

    e.g. lutris has borders in part-screen mode(figure 2) image figure 2

    but does not have in full screen mode(figure 3) image figure 3

    This is a small thing, but it would be nice to have such an optional feature

    opened by un-couteau 0
  • Option to type the amount of transparency somehow in the border color picker.

    Option to type the amount of transparency somehow in the border color picker.

    Please add an option to type the amount of transparency somehow in the border color picker. The current slider is very hard to get a precise number with and match my theme's GTK4 value.

    opened by stpnwf 0
  • Allow multiple window borders

    Allow multiple window borders

    Libadwaita draws two window borders, a 1px semi-transparent black border (it's actually done with a box shadow) on the outside of the window (mostly noticeable with the light theme) and a 1px semi-transparent white border inside the window (mostly noticeable with the dark theme). If possible I think this extension should have an option to have two borders, one inside the window, and one on the outside. This may also help with the issue of apps that don't follow the system light/dark theme preference discussed here https://github.com/yilozt/rounded-window-corners/issues/97

    opened by dgsasha 1
  • Blurry text on application startup

    Blurry text on application startup

    I've noticed that while the extension is enabled, some application windows retain a blurry appearance on startup; mousing over them fixes the issue, as does attempting to trigger a screenshot (the screenshots below are stills from a screen recording, as it was the only way to capture the effect occurring in action), so it's possible that 'refreshing' the window somehow fixes the blur.

    Blurry text when application is opened: image

    Clear text after mousing-over: image

    This has been happening to me mostly on Xorg, however I've noticed the issue occurring on Wayland as well. I thought perhaps it was related to the shadow blurring effect, though setting the shadow blur to 0px for both focused and unfocused windows seems not to prevent the issue.

    In case it's relevant, I'm running GNOME 43.2 with the 525.60.11 Nvidia drivers on Fedora 37 with an RTX3060ti, mixed-resolution multimonitor setup and with all scaling disabled, though disabling one monitor as well as any custom theming seems not to fix the issue.

    opened by helpvisa 0
  • Error while installing extension

    Error while installing extension

    The error occurs even when I remove the extension and install it again.

    This is the error I get:

    Gio.IOErrorEnum: An object is already exported for the interface
    yi.github.RoundedCornersEffect at /yi/github/RoundedCornersEffect
    

    Screenshot from 2022-12-21-114748(KSNIP)

    opened by Betzalel-Maor 0
Releases(v10)
  • v10(Dec 19, 2022)

    Bugs fix

    • Firefox PIP appears cropped after untiled / restore from fullscreen in Gnome 43.1 with Wayland (#92)
    • Firefox window appears cropped after accessing activities in Gnome 43.1 with Wayland (#100)

    Translations

    • Update German translations by @marco-kretz
    • Add & update Russian translations by @thejenja
    • Add & update Finnish translations by @bluelhf @ilLekaL
    Source code(tar.gz)
    Source code(zip)
    [email protected](65.76 KB)
  • v9(Nov 8, 2022)

    Bugs fix & Improvements

    • Fix the strong highlighting of rounded corners in screenshots (#67)
    • Change maximum value of clip padding in preferences pages to 80px, it should be enough in most time (#88)
    • Fix broke corners for Wayland clients after upgrade to Gnome 43.1 (#90)

    Translations

    • Add & update German translations by @CreatorSiSo
    • Add & update Dutch translations by @Vistaus
    Source code(tar.gz)
    Source code(zip)
    [email protected](57.64 KB)
  • v8(Sep 27, 2022)

  • v7(Sep 14, 2022)

    Fix & Improvement

    • Fix shadow artifacts when switching workspace (#55)
    • Draw border outside of windows when Border Width is a negative number (#56)
    • Make entry of preferences pages in right-click menu in desktop removable (#59)
    • Init Translations

    Translations

    • Add & Update Simplified Chinese translations by @yilozt
    • Add Norwegian Bokmål translations by @comradekingu
    Source code(tar.gz)
    Source code(zip)
    [email protected](50.92 KB)
  • v6(Sep 8, 2022)

    Fix & Improvement

    • Try to add rounded corners for some app when it's wm_class_instances property is empty when launching (#34)
    • Clear artifacts of shadow when dragging windows in overview (#39)
    • Use regular rounded corners by default by @flexagoon (#40)
    • Rounded corners should be added when restart gnome-shell in Xorg (#41)
    • Fix performances issues on maximized browsers (#44)
    • Clear warning message when enter/leave overview (#50)
    • Clear artifacts of corners when border is zero (#52)
    • Remove libnotify from this extensions

    Refactor

    • Using normal imports instead of ESM for this extensions (#25)
    Source code(tar.gz)
    Source code(zip)
    [email protected](46.03 KB)
  • v5(Aug 9, 2022)

    New Features

    • Superelliptical shape for rounded corners by @YuraIz (#9)
    • Allow keep rounded corners for fullscreen window (#10)
    • Reset dialog for preferences (#11)

    Fix & Improvement

    • Works with Compiz alike magic lamp effect, hide shadow when magic lamp effect running (#5)
    • Hide shadow when window is maxmized or fullscreen by @velitasali (#6)
    • Fix small arifacts of window when enter overview (#8)
    • Make default shadow looks similar to the style of Adwaita theme (#11 #12)
    • Fix overview broken when this extensions enabled with Burn My Window (#14)
    • Memory spike when resizing windows (#15)
    • Fix typo in preferences by @dxps (#19)
    • Disable rounded effect and shadow for icon grid application for DING (#19)
    • Fix blacklist is cleaned when click Add Window in preferences page (#21)
    • Disconnect all event signals when logout/shutdown/restart gnome-shell (#26)

    Reset Preferences Dialog

    image

    Superelliptical shape for rounded corners Video upload by @YuraIz in #16

    Source code(tar.gz)
    Source code(zip)
    [email protected](44.51 KB)
  • v4(Aug 2, 2022)

  • v1(Jul 30, 2022)

    Should be works in Gnome 40 / 41 / 42

    • Custom border radius and clip paddings for windows
    • Black list for applications which draw window decoration itself
    • Custom shadow for rounded corners windows
    • Custom border-width and border-color for rounded corners windows
    • Skip libadwaita / libhandy application
    • Perferences pages built by libhandy
    • Menu Item in background to open preferences pages.

    Special thanks to @Aleksanaa help test bugs of this extensions.

    Context menu item in background:

    img_014

    Preferences pages

    image

    Edit shadow for rounded corners window

    image

    Source code(tar.gz)
    Source code(zip)
    [email protected](37.52 KB)
Owner
Yi
Yi
GNOME Shell extension to integrate Plank, the simplest dock on the planet.

Dash to Plank Gnome Shell extension to integrate Plank, the simplest dock on the planet. To use this extension you must install Plank on your system.

Hardpixel 36 Dec 9, 2022
Extension personnelle pour GNOME SHELL

Extension perso GNOME Extension personnelle pour GNOME SHELL qui affiche des vues différentes dans la barre des tâches. Les vues affichent des informa

Adrien_D 20 Nov 13, 2022
Another Drop Down Terminal Extension for GNOME Shell

Another Drop Down Terminal Extension for GNOME Shell

Guilhem Lettron 9 Apr 6, 2022
GNOME Shell extension for controling Lenovo IdeaPad laptops options.

IdeaPad Controls GNOME Shell extension for controling Lenovo IdeaPad laptops options. Available options: Conservation Mode, Camera Lock, Fn Lock, Touc

null 17 Dec 23, 2022
Simplify gnome-extensions development

GISP GISP Is a Starter Pack About GISP is a project to simplify ?? gnome-extensions development. There're hundrends (maybe thousands?) of javascript d

Leandro Simões 3 Jul 18, 2022
Tunes overview UI of the gnome 40 a bit

Gnome 40 Overview UI Tune Simple gnome-shell (v40.0) extension that tunes overview UI to make it more usable. Changes Search textbox is hidden by defa

Alexey Manukhin 68 Nov 28, 2022
Playground for GNOME development

Workbench Playground for GNOME development Workbench aims to provide a great developer experience for the following use cases An application to learn

Sonny Piers 344 Jan 5, 2023
A Gnome extension to remind you to give a rest to your eyes every a specific period of time

A Gnome extension to remind you to give a rest to your eyes every a specific period of time

null 8 Jun 21, 2022
A Windows 98 classic, on the web 💥

A Windows 98 classic, on the web ??

Chance Strickland 5 Aug 17, 2022
A service to add web page screenshots to your Eleventy sites.

Screenshot API A runtime service to use live website screenshots on your site. Usage Image URLs have the formats: https://v1.screenshot.11ty.dev/:url/

Eleventy 91 Dec 24, 2022
A Unique Food order landing page web application called 'HOMELY' where you can select available meals and add them to cart then order them.

End Result Click the link : https://foodapp-by-eniola.netlify.com Getting Started with Create React App This project was bootstrapped with Create Reac

Eniola Odunmbaku 26 Dec 31, 2022
HULU Clone, View all the latest movies category wise. Built using TMDB API.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Hamnaikbalkhan 4 Sep 23, 2022
Math magicians is a single page app for all mathematics lovers. Math Magicians allow users to perform simple calculations and It generates mathematics quotes.

Math Magicians Math Magician is a single Page App that have three interfaces. It allows users to perform simple math calculations, user can read the m

levy_ukwishaka 10 Aug 21, 2022
Rimuru will take care of all your anilist custom css needs.

Rimuru will take care of all your anilist custom css needs. Whats the point in using this? Why not use automail? Rimuru is lightweight and fast, Rimur

Rim 8 Dec 27, 2022
A gnome-shell extension to keep the old topbar corners, which were removed for GNOME 42.

Panel corners A GNOME shell extension to keep the old topbar corners, which were removed for GNOME 42. It also allows you to customize the rounded cor

Aurélien Hamy 34 Dec 10, 2022
tauOS 17 Jul 10, 2022
Bookmarklet exploit that can force-disable extensions installed on Chrome. Also has a very fancy GUI to manage all extensions!

ext remover Bookmarklet exploit that can force-disable any extension installed on Google Chrome Instructions Here are the instructions to using this e

Echo 124 Jan 6, 2023
Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome.

Flatline Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome. Load the extension in Firefox Clone the repository Open

Cleo Menezes Jr. 43 Nov 7, 2022
Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome.

Flatline Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome. Instalation Enable Epiphany extension. Optional if not

GNOME Web Extensions 12 Sep 2, 2022