pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.85k stars 264 forks source link

Gnome 43 (X11) GTK4 windows failed to render #1541

Closed HideyoshiNakazone closed 1 year ago

HideyoshiNakazone commented 1 year ago

(1) Issue/Bug Description: When opening a gnome GTK4 Window in Gnome 43 X11 the window fails to render and i have to reload the shell with alt+f2 r.

(2) Steps to reproduce (if you know): Open any GTK4 Window in Gnome 43 with the Pop Shell extension activated and the window will fail to render.

(3) Expected behavior: The window to render correctly.

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

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

(5) Gnome Shell version: 43.1

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

(7) Where was Pop Shell installed from: gnome-shell-extension-pop-shell-git AUR

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

(9) Other Installed/Enabled Extensions:

User-Installed Extensions:

'Espresso' by tharbold
Extension ID: espresso@coadmunkee.github.com

'X11 Gestures' by JoseExposito
Extension ID: x11gestures@joseexposito.github.io

'Clipboard History' by SUPERCILEX
Extension ID: clipboard-history@alexsaveau.dev

'Remove App Menu' by stuarthayhurst
Extension ID: RemoveAppMenu@Dragon8oy.com

'Alphabetical App Grid' by stuarthayhurst
Extension ID: AlphabeticalAppGrid@stuarthayhurst

'Bluetooth Quick Connect' by bjarosze
Extension ID: bluetooth-quick-connect@bjarosze.gmail.com

'AppIndicator and KStatusNotifierItem Support' by 3v1n0
Extension ID: appindicatorsupport@rgcjonas.gmail.com

'Blur my Shell' by aunetx
Extension ID: blur-my-shell@aunetx

'Hide Top Bar' by tuxor1337
Extension ID: hidetopbar@mathieu.bidon.ca

'Color Picker' by grroot
Extension ID: color-picker@tuberry

'User Themes' by fmuellner
Extension ID: user-theme@gnome-shell-extensions.gcampax.github.com

'GSConnect' by dlandau
Extension ID: gsconnect@andyholmes.github.io

'Auto Move Windows' by fmuellner
Extension ID: auto-move-windows@gnome-shell-extensions.gcampax.github.com

'Quick Settings Tweaker' by qwreey75
Extension ID: quick-settings-tweaks@qwreey

System Extensions:

'Dash to Dock' by michele_g
Extension ID: dash-to-dock@micxgx.gmail.com

'Pop Shell' by (null)
Extension ID: pop-shell@system76.com

(10) Other Notes:

journalctl -f _COMM=gnome-shell                                                                                                                                                                              ~
Nov 05 05:15:12 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba9c88430] is on because it needs an allocation.
Nov 05 05:15:12 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6acc0] is on because it needs an allocation.
Nov 05 05:15:12 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba28c98a0] is on because it needs an allocation.
Nov 05 05:15:12 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6b770] is on because it needs an allocation.
Nov 05 05:15:16 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba28c98a0] is on because it needs an allocation.
Nov 05 05:15:16 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6b770] is on because it needs an allocation.
Nov 05 05:15:16 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba9c88430] is on because it needs an allocation.
Nov 05 05:15:16 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6acc0] is on because it needs an allocation.
Nov 05 05:15:20 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba9c88430] is on because it needs an allocation.
Nov 05 05:15:20 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6acc0] is on because it needs an allocation.
Nov 05 05:15:29 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba9c88430] is on because it needs an allocation.
Nov 05 05:15:29 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6acc0] is on because it needs an allocation.
Nov 05 05:15:31 valfenda gnome-shell[110099]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3200004
Nov 05 05:15:31 valfenda gnome-shell[110099]: pop-shell: [DEBUG] attach to workspace: focused window is not tilable
Nov 05 05:15:31 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba695e340] is on because it needs an allocation.
Nov 05 05:15:31 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6b770] is on because it needs an allocation.
Nov 05 05:15:34 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba695e340] is on because it needs an allocation.
Nov 05 05:15:34 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6b770] is on because it needs an allocation.
Nov 05 05:15:34 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x556ba9c88430] is on because it needs an allocation.
Nov 05 05:15:34 valfenda gnome-shell[110099]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x556ba4f6acc0] is on because it needs an allocation.

Screenshot from 2022-11-05 05-07-25 Screenshot from 2022-11-05 05-07-05 Screenshot from 2022-11-05 05-06-55

HideyoshiNakazone commented 1 year ago

I made an edit attaching my journalctl logs, i hope it helps

philmmanjaro commented 1 year ago

Well, some say it is some change made in 43.1 which creates the regression. 43.0 is claimed to work still fine: https://archive.archlinux.org/packages/m/mutter/

Konsonanz commented 1 year ago

I'm observing the same problem. Additionally, for some reason dragging the scrollbar in some applications (i.e. firefox) is not updating the view durring the drag, only on release. Both problems disappear on disabling tiling-mode.

Also, downgrading mutter and gnome-shell to 43.0 as suggested above did fix both problems for me as well.

mmstick commented 1 year ago

This is something that GNOME or Arch will have to patch and fix

HideyoshiNakazone commented 1 year ago

This is something that GNOME or Arch will have to patch and fix

Why would Gnome and Mutter have to make a code regression to fix support for Pop-shell? I think that the patch to add support for Gnome and Mutter 43.1 should come from this project and not from upstream.

yochananmarqos commented 1 year ago

@HideyoshiNakazone I'm not sure what the cause of the problem is, but it also effects Forge, not just Pop Shell.

HideyoshiNakazone commented 1 year ago

@HideyoshiNakazone I'm not sure what the cause of the problem is, but it also effects Forge, not just Pop Shell.

I understand now, thank you @yochananmarqos and @mmstick for the clarification. Since this is probably a upstream problem if everybody agrees i will be closing this issue until further notice.