-
Notifications
You must be signed in to change notification settings - Fork 587
Description
I'm on Guake 3.8.0, the latest from the linuxuprising ppa on ubuntu 22.04
I've not tested on 3.10.0, but from the changelogs and main branch code I don't believe that's relevant to this issue.
The floating terminal goes beyond visible area on the right side and is covered by the activity pane on the top on my primary monitor in a multi monitor setup, and there seems to be no UI option to specify settings for each monitor individually.
This however can be very easily solved by in utils.py ie. /usr/lib/python3/dist-packages/guake/utils.py locally inside the RectCalculator.set_final_window_rect method.
if screen.get_n_monitors() > 1 and monitor == 0:
log.debug("Adjustment for Primary monitor in multi-monitor env applied")
window_rect.width -= 70 # reduce width
window_rect.y += 34 # increase top gap
I'm not sure if it makes sense upstreaming it, given the very specific scenario it shows up in, but the underlying bug of Guake overflowing on the primary monitor in multi-monitor setups (with both left and center alignment), is real.
I've shared more details, before/after pictures on my blog article and believe it'd be a good idea to somehow highlight this solution in the docs/ readme on github to help new users facing this.
Thanks for building Guake!