8000 Guake window opens maximized but resets to correct size after opening new tab or toggling full screen · Issue #2278 · Guake/guake · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Guake window opens maximized but resets to correct size after opening new tab or toggling full screen #2278

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

Open
dniku opened this issue Mar 10, 2025 · 1 comment

Comments

@dniku
Copy link
dniku commented Mar 10, 2025

Describe the bug

Screencast.From.2025-03-10.10-02-04.mp4

See the screencast above. I pressed the following keys: F12, Ctrl+Shift+T, Ctrl+D, F12, F12, F12. Note how the window initially opens maximized but switches to the correct height after I open a new tab.

This started happening after I upgraded Guake version from 3.9.0-3 to 3.10-3 on Manjaro. I can no longer downgrade because Python version got upgraded in the meantime.

Expected behavior

Consistent window size.

Actual behavior

Window initially maximized.

To Reproduce

Just launch Guake.


Output of guake -v

$ guake --support

Guake Version: 3.11.dev0

Vte Version: 0.78.3

Vte Runtime Version: 0.78.3


GTK+ Version: 3.24.48

GDK Backend: <GdkX11.X11Display


Desktop Session: gnome


Display: :1

RGBA visual: True

Composited: True

  • Monitor: 0 - SHP eDP-1
    • Geometry: 1920 x 1080 % 2 at 0, 0
    • Size: 346 x 194 mm²
    • Primary: True
    • Refresh rate: 59.996 Hz
    • Subpixel layout: unknown
@jean-bernard-valentaten

Similar issue here with fresh install on Ubuntu 24.04 using Gnome.

Repro

  1. In the guake preferences, set window-height=90
  2. Make guake appear (press <F12>))
    => guake opens in a window taking up 90% of desktop height
  3. hide guake (press <F12>)
  4. make guake appear (press <F12>)
    => guake opens in a window taking up 100% of desktop height and 100% of desktop width
  5. enable fullscreen mode (press <F11>)
  6. revert fullscreen mode (press <F11>)
    => guake reverts to a window taking up 90% of desktop height

I can confirm that opening a new tab also reverts the window's height to the expected value.

Playing around with the parameter window-height I found out that this behaviour starts happening with a value of 85, below that the window behaves as expected in terms of height.

Here are my preferences as exported by guake --save-prefences:

$ guake --save-preferences=myprefs.cfg
[general]
abbreviate-tab-names=false
background-image-file='some.svg'
background-image-layout-mode=2
display-n=0
display-tab-names=0
fullscreen-hide-tabbar=false
gtk-use-system-default-theme=true
hide-tabs-if-one-tab=false
history-size=2000
load-guake-yml=true
max-tab-name-length=100
mouse-display=true
open-tab-cwd=true
prompt-on-close-tab=1
prompt-on-quit=true
quick-open-command-line='gedit %(file_path)s'
restore-tabs-notify=true
restore-tabs-startup=true
save-tabs-when-changed=true
scroll-keystroke=true
start-at-login=true
use-default-font=false
use-popup=false
use-scrollbar=true
use-trayicon=false
window-halignment=0
window-height=90
window-losefocus=false
window-
window-refocus=true
window-tabbar=true
window-vertical-displacement=50
window-width=95

[keybindings/local]
decrease-transparency='Down'
focus-terminal-down='Down'
focus-terminal-left='Left'
focus-terminal-right='Right'
focus-terminal-up='Up'
increase-transparency='Up'
split-tab-horizontal='minus'
split-tab-vertical='less'

[style/background]
transparency=75

[style/font]
allow-bold=true
palette='#000000000000:#cccc00000000:#4e4e9a9a0606:#c4c4a0a00000:#34346565a4a4:#757550507b7b:#060698209a9a:#d3d3d7d7cfcf:#555557575353:#efef29292929:#8a8ae2e23434:#fcfce9e94f4f:#72729f9fcfcf:#adad7f7fa8a8:#3434e2e2e2e2:#eeeeeeeeecec:#ffffffffffff:#000000000000'
palette-name='Tango'
style='UbuntuMono Nerd Font 13'

And here's the output of `guake --support`:
$ guake --support Guake Version: 3.10 Vte Version: 0.76.0 Vte Runtime Version: 0.76.0 -------------------------------------------------- GTK+ Version: 3.24.41 GDK Backend:

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

2 participants
0