Guake / guake

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

Guake stopped remembering the size of his window #2041

Open igorog opened 2 years ago

igorog commented 2 years ago

Hello! After the last update, Guake stopped remembering the size of his window. In the settings, the height is 50% and width 100%, but in reality the window is scaled to a quarter of the screen. And changing the settings through the Settings does not work. The second point: the context menu in the tray, on the Guake icon, did not appear. And :), third (a trifle), the under-translation of the menu item, although it was previously translated. (Split |).

Full_screen

Operating System: Arch Linux 64bit
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-3537U CPU @ 2.00GHz
Memory: 7.7 ГиБ of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000

Guake Terminal 3.8.6.dev0
VTE 0.66.2
Gtk 3.24.31
--------------------------------------------------------------------------------------
Guake not running, starting it
Loading Gnome schema from: /usr/share/glib-2.0/schemas
Language previously loaded from: /usr/share/locale

(guake:1237): Gtk-WARNING **: 11:01:38.623: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:01:38.623: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:01:38.624: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:01:38.645: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:01:38.645: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:01:38.645: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Guake Terminal 3.8.6.dev0
VTE 0.66.2
Gtk 3.24.31
created fresh notebook for workspace 0
Spawning new terminal at ~/.
current workspace is 0
can't bind show-focus key
Spawning new terminal at ~/.
Guake tabs restored from ~/.config/guake/session.json
Guake initialized
current workspace is 0
Current link under cursor: None
Current link under cursor: None

(guake:1237): Gtk-WARNING **: 11:02:41.567: Refusing to add the same cell renderer to a GtkCellAreaBox twice

(guake:1237): VTE-WARNING **: 11:02:41.569: (../vte/src/vtepty.cc:667):bool _vte_pty_spawn_sync(VtePty*, const char*, const char* const*, const char* const*, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, GPid*, int, GCancellable*, GError**): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)

(guake:1237): Gtk-WARNING **: 11:02:41.589: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.589: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.589: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.589: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.614: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.614: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.615: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.615: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.638: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.638: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.638: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.638: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.659: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.659: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.659: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(guake:1237): Gtk-WARNING **: 11:02:41.659: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
/usr/lib/python3.10/site-packages/guake/prefs.py:749: Warning: unable to set property 'accel-key' of type 'guint' from value of type 'gchararray'
  self.get_widget("config-window").show_all()
/usr/lib/python3.10/site-packages/guake/prefs.py:749: Warning: unable to set property 'accel-mods' of type 'GdkModifierType' from value of type 'gchararray'
  self.get_widget("config-window").show_all()
igorog commented 2 years ago

PS: I also forgot to add: the settings window is not scaled. The window cannot be resized. Soon there will be no access to some of the settings at all.

Screenshot_20220213_115136

igorog commented 2 years ago

PSS: I have Cinnamon (GTK) installed on another disk partition. So, now I checked, Guake works fine there. There are absolutely NO bugs! It turns out that this problem comes out only on Plasma.

alexejk commented 2 years ago

Have similar issue. When width is 99% it gets wider but doesn't cover everything (and doesnt feel like 99%), however if you set it to 100% width then one can observe the same issue as described above.

Also KDE Plasma

Davidy22 commented 2 years ago

Assuming your jump was from 3.8.1 to the newest version, the only thing that looks like it might be related to window proportions is an added flag, but only if you have the GUAKE_ENABLE_WAYLAND flag set systemwide. If you upgraded from a version from before 3.8.1, it may have been the addition of a GDK_BACKEND flag that forces Guake to use X11 instead of Wayland, which you can optionally overridding by setting the GUAKE_ENABLE_WAYLAND env variable mentioned previously to anything. If the jump was from 3.8.1 to latest and the var isn't set, I'm going to need to scour for possible unintended side effects from the last release's commit log.

igorog commented 2 years ago

Hello, @Davidy22! Yes that's right. I updated Guake from version 3.8.1. I did not change any flags, and did not set them on purpose. Tell me how it's done? In Plasma, I always work under X, but for the sake of experiment, I now booted into a Wayland session. The first time Guake started with a delay of 10 seconds. The second time the tray icon started up, but the window itself did not appear. Write what logs you need, and most importantly, how to write them correctly. ) PS: I repeat. This bug appears ONLY on KDE (Plasma). Everything works fine on GTK (Cinnamon).

simpson-sean commented 2 years ago

Also having the same issue on openSUSE tumbleweed, KDE Plasma(x11).

rnnc commented 2 years ago

on version 3.8.6 same problem, on manjaro kde plasma

s1awek commented 2 years ago

Any news on this issue? Having the same problem.

DittoGod commented 1 year ago

Any update on this?

class101 commented 1 year ago

Same issue observed on Steam Deck (KDE wayland but under chroot it defaults to x11 backend because I don't chroot wayland, I use SteamOS as-is in read-only mode and I bridge the display with the display and dbus env variables )

Issue is observed with the following Arch Linux official package guake
as of writing at commit 1e8ea6f14dd8ba511aab929a601d1a8fa3a910dd v3.9.0-2

$ guake --support ```bash Guake Version: 3.9.1.dev0 Vte Version: 0.70.2 Vte Runtime Version: 0.70.2 -------------------------------------------------- GTK+ Version: 3.24.36 GDK Backend:

Issue NOT observed with the following Arch Linux AUR package guake-git
as of writing at commit 2e5e309e889b15f0ff0970350cf58b70cf12db74

$ guake --support ```bash Guake Version: 3.9.1.dev25 Vte Version: 0.70.2 Vte Runtime Version: 0.70.2 -------------------------------------------------- GTK+ Version: 3.24.36 GDK Backend:

I even took care to reinstall the affected version in order to see that the bug came back, and it was indeed the case.

Correct me If I'm wrong author but you fixed the issue already and seeing it might be a sign of an outdated version

I will flag the Arch Linux out of date anyway, several commits came after June 2022.