Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.41k stars 576 forks source link

Appears to be incompatible with GNOME 47 #2255

Open iconoclasthero opened 3 weeks ago

iconoclasthero commented 3 weeks ago

Describe the bug Appears to be incompatible with GNOME 47. Pressing toggle visibility does various things. Sometimes it causes the window to blink on, sometimes, if you hit it enough, it causes it to STAY ON!!! When it's on, sometimes it causes guake to blink off, sometimes it causes guake to stay off.

Also it appears on the wrong window from time to time, refuses to show up on one of my monitors at all.... not really showing up when and where it's supposed to and if it does, it doesn't stay there when told to do so. It's like a poorly trained dog.

Expected behavior Normal toggle visibility function.

Actual behavior Pressing toggle visibility does various things. Sometimes it causes the window to blink on, sometimes, if you hit it enough, it causes it to STAY ON!!! When it's on, sometimes it causes guake to blink off, sometimes it causes guake to stay off.

Also it appears on the wrong window from time to time, refuses to show up on one of my monitors at all.... not really showing up when and where it's supposed to and if it does, it doesn't stay there when told to do so. It's like a poorly trained dog.

To Reproduce toggle visibility in GNOME 47

NB It appears that using $ guake-toggle from the cli works properly.


$ guake --support

Guake Version: 3.10

Vte Version: 0.77.91

Vte Runtime Version: 0.77.91


GTK+ Version: 3.24.43

GDK Backend: None


Desktop Session: ubuntu


Traceback (most recent call last): File "/usr/bin/guake", line 33, in sys.exit(load_entry_point('guake==3.10', 'console_scripts', 'guake')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/guake/main.py", line 664, in exec_main if not main(): ^^^^^^ File "/usr/lib/python3/dist-packages/guake/main.py", line 462, in main print_support() File "/usr/lib/python3/dist-packages/guake/support.py", line 94, in print_support get_display() File "/usr/lib/python3/dist-packages/guake/support.py", line 86, in get_display populate_display(display) File "/usr/lib/python3/dist-packages/guake/support.py", line 22, in populate_display screen = display.get_default_screen() ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get_default_screen'



OS: Rhino Linux 2024.2~RC (server) x86_64 Kernel: Linux 6.10.4-061004-generic Shell: bash 5.2.21 Resolution: 1920x1080, 2560x1440, 1920x1080, 2560x1440 DE: GNOME 47.beta (Wayland) DE: GNOME Shell 47.beta WM: Mutter Terminal: guake

iconoclasthero commented 3 weeks ago

I managed to get back to gnome 46 on X and the problems went away, literally everything else being equal...

OS: Rhino Linux 2024.2~RC (server) x86_64 
Kernel: Linux 6.10.4-061004-generic 
Shell: bash 5.2.21 
Resolution: 2560x1440 @ 59.95Hz, 1920x1080 @ 60.00Hz, 1920x1080 @ 60.00Hz, 2560x1440 @ 59.95Hz 
DE: GNOME 46.0 
DE: GNOME Shell 46.0 
WM: Mutter 
Terminal: guake 

$ echo $XDG_SESSION_TYPE 
x11
johnheenan commented 2 weeks ago

Here is a workaround:

Remove F12 as key to 'Toggle Guake visibilty' in Guake Properties. Add F12 as 'Custom Shortcut' to command 'guake-toggle' in Gnome, Settings, Keyboard, View and Customize Shortcuts.

iconoclasthero commented 2 weeks ago

As a workaround I downgraded GNOME back ca. 46.0 or whatever was available when the Oracular repo was initiated on the machine I installed GNOME on right after 46.x was removed from the Oracular repo. On my other machine I apt-mark held enough to keep 46 from being upgraded to 47...

So for now, this is an FYI that you may have some issues with 47, but I can remap F12 when I do upgrade to 47. Had 46 not taken care of it, that would, in fact, have been my next step.

On Fri, Aug 23, 2024 at 9:45 PM johnheenan @.***> wrote:

Here is a workaround:

Remove F12 as key to 'Toggle Guake visibilty' in Guake Properties. Add F12 as 'Custom Shortcut' to command 'guake-toggle' in Gnome, Settings, Keyboard, View and Customize Shortcuts.

— Reply to this email directly, view it on GitHub https://github.com/Guake/guake/issues/2255#issuecomment-2307983333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEC3GSLTPTZ4KQZDTHG3BLZS7QSJAVCNFSM6AAAAABMWS2JY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXHE4DGMZTGM . You are receiving this because you authored the thread.Message ID: @.***>

effectfully commented 2 weeks ago

Here is a workaround:

Remove F12 as key to 'Toggle Guake visibilty' in Guake Properties. Add F12 as 'Custom Shortcut' to command 'guake-toggle' in Gnome, Settings, Keyboard, View and Customize Shortcuts.

Worked for me, thanks!