Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost tile after switching workspace and back (Wayland only) #776

Open
Stanvk opened this issue Dec 13, 2020 · 15 comments
Open

Ghost tile after switching workspace and back (Wayland only) #776

Stanvk opened this issue Dec 13, 2020 · 15 comments

Comments

@Stanvk
Copy link

Stanvk commented Dec 13, 2020

(1) Issue/Bug Description:
A single tile in a workspace will become a half tile whenever the user goes to another workspace and back; it seems like a "ghost window" opens. This only happens in Wayland, not in Xorg.

(2) Steps to reproduce (if you know):

  • Start Gnome in Wayland.
  • Enable tiling
  • Open an application, e.g. Firefox (This will become a full tile automatically)
  • Move one workspace below and go back. Now Firefox will be halved.
  • Executing the same procedure in Xorg will return expected behavior.

(3) Expected behavior:
The tile should stay a "full tile" when swapping workspaces and back.

(4) Distribution (run cat /etc/os-release):

NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

(5) Gnome Shell version:
GNOME 3.38.2

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):
1.0.3-1

(7) Where was Pop Shell installed from:
Official Manjaro Repositories

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
One 1080p, 24" monitor

(9) Other Installed/Enabled Extensions:
Activities Configurator
Blyr
GSConnect
OpenWeather
Dash to Dock
Desktop Icons
Appindicator Support
Native Windows Placement
Night Theme Switcher
(User Themes)

(10) Other Notes:
I am not sure if I missed a setting or a particular configuration. However, the behavior is not independent of the windowing system, here Wayland and Xorg.

@Stanvk Stanvk changed the title Ghost tile after switching workplaces and back in Wayland only Ghost tile after switching workplaces and back (Wayland only) Dec 13, 2020
@Stanvk Stanvk changed the title Ghost tile after switching workplaces and back (Wayland only) Ghost tile after switching workspace and back (Wayland only) Dec 13, 2020
@fnune
Copy link

fnune commented Jan 14, 2021

Can confirm this is happening to me, too.

NAME="Pop!_OS"
VERSION="20.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.10"
VERSION_ID="20.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
LOGO=distributor-logo-pop-os
pop-shell:
  Installed: 1.1.0~1610483356~20.10~891525b
  Candidate: 1.1.0~1610483356~20.10~891525b
  Version table:
 *** 1.1.0~1610483356~20.10~891525b 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main amd64 Packages
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main i386 Packages
        100 /var/lib/dpkg/status

GNOME 3.38.1

@kolgza
Copy link

kolgza commented Feb 4, 2021

I can confirm everything that everyone else has confirmed.

colin@colin-laptop:~$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="20.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.10"
VERSION_ID="20.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
LOGO=distributor-logo-pop-os
colin@colin-laptop:~$ apt policy pop-shell
pop-shell:
  Installed: 1.1.0~1611709512~20.10~673b87a
  Candidate: 1.1.0~1612395769~20.10~190ad70
  Version table:
     1.1.0~1612395769~20.10~190ad70 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main amd64 Packages
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main i386 Packages
 *** 1.1.0~1611709512~20.10~673b87a 100
        100 /var/lib/dpkg/status
colin@colin-laptop:~$ neofetch
             /////////////                colin@colin-laptop 
         /////////////////////            ------------------ 
      ///////*767////////////////         OS: Pop!_OS 20.10 x86_64 
    //////7676767676*//////////////       Host: Lemur Pro lemp9 
   /////76767//7676767//////////////      Kernel: 5.8.0-7630-generic 
  /////767676///*76767///////////////     Uptime: 1 day, 2 hours, 8 mins 
 ///////767676///76767.///7676*///////    Packages: 2371 (dpkg), 84 (flatpak) 
/////////767676//76767///767676////////   Shell: bash 5.0.17 
//////////76767676767////76767/////////   Resolution: 3840x1600 
///////////76767676//////7676//////////   DE: GNOME 3.38.2 
////////////,7676,///////767///////////   WM: Mutter 
/////////////*7676///////76////////////   WM Theme: Pop 
///////////////7676////////////////////   Theme: Pop [GTK2/3] 
 ///////////////7676///767////////////    Icons: Pop [GTK2/3] 
  //////////////////////'////////////     Terminal: gnome-terminal 
   //////.7676767676767676767,//////      CPU: Intel i5-10210U (8) @ 4.200GHz 
    /////767676767676767676767/////       GPU: Intel UHD Graphics 
      ///////////////////////////         Memory: 3475MiB / 15881MiB 
         /////////////////////
             /////////////                                        
                                                                  


colin@colin-laptop:~$ 



@jonubulin
Copy link

Here are some example screenshots where I added more and more windows while tiling is activated. You can see that there is always some unused space which looks like if there is one "invisible" tile.

example_1
example_2
example_3

@mmstick
Copy link
Member

mmstick commented Feb 10, 2021

@jonubulin Wayland or X11? Is this with 0657c59? Reproducible steps?

@jonubulin
Copy link

jonubulin commented Feb 11, 2021

Wayland with pop shell 1.1.0 1612935070 20.10~0657c59 on Pop!_OS 20.10.
This issue appears right from the start as soon as I open a window and switch workspaces.
When I then create new windows, the tiling always behaves as if there is one invisible window that uses some of the space and new windows are arranged accordingly.

@kolgza
Copy link

kolgza commented Feb 12, 2021

I just tested it again with the recent 1.1.0 update and got some very interesting screenshots:

Screenshot from 2021-02-12 10-51-48
Screenshot from 2021-02-12 10-51-52

@kolgza
Copy link

kolgza commented Feb 18, 2021

I just found that the issue subsides after disabling the following GNOME shell extension: Desktop Icons NG.

Screenshot from 2021-02-18 12-16-59
Screenshot from 2021-02-18 12-17-08

Here is a full printout from my running journalctl -f:

colin@colin-laptop:~$ journalctl -f
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
-- Logs begin at Sat 2021-01-23 13:42:10 EST. --
Feb 18 12:16:16 colin-laptop systemd[1886]: tracker-extract.service: Succeeded.
Feb 18 12:16:22 colin-laptop gnome-shell[2083]: libinput error: event21 - ELAN040D:00 04F3:311D Touchpad: client bug: event processing lagging behind by 31ms, your system is too slow
Feb 18 12:16:28 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=1903 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Feb 18 12:16:28 colin-laptop systemd[1886]: Starting Tracker metadata extractor...
Feb 18 12:16:28 colin-laptop tracker-extract[6166]: Set scheduler policy to SCHED_IDLE
Feb 18 12:16:28 colin-laptop tracker-extract[6166]: Setting priority nice level to 19
Feb 18 12:16:28 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
Feb 18 12:16:28 colin-laptop systemd[1886]: Started Tracker metadata extractor.
Feb 18 12:16:38 colin-laptop systemd[1886]: tracker-extract.service: Succeeded.
Feb 18 12:16:39 colin-laptop gnome-shell[2083]: DING: 
                                                (gjs:6130): Gdk-CRITICAL **: 12:16:14.706: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
                                                GNOME nautilus 3.38.1
Feb 18 12:16:47 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=1903 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Feb 18 12:16:47 colin-laptop systemd[1886]: Starting Tracker metadata extractor...
Feb 18 12:16:47 colin-laptop tracker-extract[6191]: Set scheduler policy to SCHED_IDLE
Feb 18 12:16:47 colin-laptop tracker-extract[6191]: Setting priority nice level to 19
Feb 18 12:16:47 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
Feb 18 12:16:47 colin-laptop systemd[1886]: Started Tracker metadata extractor.
Feb 18 12:16:55 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Activating service name='org.gnome.ArchiveManager1' requested by ':1.331' (uid=1000 pid=6209 comm="gjs /home/colin/.local/share/gnome-shell/extension" label="unconfined")
Feb 18 12:16:55 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Successfully activated service 'org.gnome.ArchiveManager1'
Feb 18 12:16:57 colin-laptop systemd[1886]: tracker-extract.service: Succeeded.
Feb 18 12:16:59 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=1903 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
Feb 18 12:16:59 colin-laptop systemd[1886]: Starting Tracker metadata extractor...
Feb 18 12:16:59 colin-laptop tracker-extract[6244]: Set scheduler policy to SCHED_IDLE
Feb 18 12:16:59 colin-laptop tracker-extract[6244]: Setting priority nice level to 19
Feb 18 12:17:00 colin-laptop dbus-daemon[1905]: [session uid=1000 pid=1905] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
Feb 18 12:17:00 colin-laptop systemd[1886]: Started Tracker metadata extractor.
Feb 18 12:17:06 colin-laptop gnome-shell[2083]: DING: 
                                                (gjs:6209): Gdk-CRITICAL **: 12:16:55.652: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
                                                GNOME nautilus 3.38.1
Feb 18 12:17:19 colin-laptop systemd[1886]: tracker-extract.service: Succeeded.
Feb 18 12:17:21 colin-laptop firefox[3568]: Couldn't map window 0x7fe7832e7da0 as subsurface because its parent is not mapped.
Feb 18 12:17:21 colin-laptop firefox[3568]: Couldn't map window 0x7fe7832ea160 as subsurface because its parent is not mapped.
Feb 18 12:17:21 colin-laptop firefox[3568]: Couldn't map window 0x7fe7832e7da0 as subsurface because its parent is not mapped.
Feb 18 12:17:21 colin-laptop firefox[3568]: Couldn't map window 0x7fe7832ea160 as subsurface because its parent is not mapped.
Feb 18 12:17:24 colin-laptop gnome-shell[2083]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Feb 18 12:17:24 colin-laptop gnome-shell[2083]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Feb 18 12:17:36 colin-laptop gnome-shell[2083]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Feb 18 12:17:37 colin-laptop gnome-shell[2083]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Feb 18 12:17:39 colin-laptop tracker-store[6103]: OK
Feb 18 12:17:39 colin-laptop systemd[1886]: tracker-store.service: Succeeded.
Feb 18 12:17:45 colin-laptop gnome-shell[2083]: libinput error: event10 - Logitech Gaming Mouse G402: client bug: event processing lagging behind by 36ms, your system is too slow
Feb 18 12:17:51 colin-laptop gnome-shell[2083]: JS ERROR: Error: actor not in scroll view
                                                ensureActorVisibleInScrollView@resource:///org/gnome/shell/misc/util.js:381:19
                                                select@/usr/share/gnome-shell/extensions/pop-shell@system76.com/dialog_search.js:151:27
                                                update_search_list@/usr/share/gnome-shell/extensions/pop-shell@system76.com/dialog_search.js:182:18
                                                Search/<@/usr/share/gnome-shell/extensions/pop-shell@system76.com/dialog_search.js:31:22
                                                reset@/usr/share/gnome-shell/extensions/pop-shell@system76.com/dialog_search.js:141:19
                                                exit_modes@/usr/share/gnome-shell/extensions/pop-shell@system76.com/extension.js:358:28
                                                on_active_workspace_changed@/usr/share/gnome-shell/extensions/pop-shell@system76.com/extension.js:430:14
                                                signals_attach/<@/usr/share/gnome-shell/extensions/pop-shell@system76.com/extension.js:1351:18
                                                actionMoveWorkspace@resource:///org/gnome/shell/ui/windowManager.js:2204:23
                                                _onScrollEvent@resource:///org/gnome/shell/ui/workspacesView.js:763:17
                                                _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                                _onScrollEvent@resource:///org/gnome/shell/ui/overview.js:394:14
^C
colin@colin-laptop:~$ 

@kolgza
Copy link

kolgza commented Feb 18, 2021

And so, a good temporary workaround for now would seem to be just disabling that extension. After all, it's not like most people use desktop icons.

@Stanvk
Copy link
Author

Stanvk commented Feb 18, 2021

Well found, disabling the Desktop Icons extension fixes the problem for me too!

@fnune
Copy link

fnune commented Apr 3, 2021

Disabling the Desktop Icons NG extension worked for me, too! Thank you!

@flurdy
Copy link

flurdy commented Aug 14, 2021

Disabling "Desktop Icons NG" extension did not work for me. But uninstalling the extension completely did the trick.

@flurdy
Copy link

flurdy commented Aug 15, 2021

But uninstalling the extension completely did the trick.

I'm sorry for the noise. This extension is like a cockroach, after a reboot, it is back, and now I can't even uninstall it. 😫

(Wayland, 21.04)

@jmlouw
Copy link

jmlouw commented Sep 1, 2021

But uninstalling the extension completely did the trick.

I'm sorry for the noise. This extension is like a cockroach, after a reboot, it is back, and now I can't even uninstall it.

(Wayland, 21.04)

Go to Extensions (search for the app), scroll to the bottom and disable "Desktop Icons NG (DING)".

image

@DanielMenke
Copy link

Same Issue here. Problem: I can't even open the extensions application. Is there any way to get rid of the desktop icons extension manually?

@DanielMenke
Copy link

DanielMenke commented Apr 20, 2023

As the broken DING-extension prevents the GNOME-extensions application from opening on my machine, I had to remove it manually. To accomplish this I simply removed ding@rastersoft.com from the directory /usr/share/gnome-shell/extensions
Doing this also lets me open the GNOME-extensions application again.

tldr: $ sudo rm -r /usr/share/gnome-shell/extensions/ding@rastersoft.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants