View Single Post
Old 09-29-2017, 09:50 AM   #1
Claghorn
Member
Claghorn began at the beginning.
 
Claghorn's Avatar
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
Linux window position shifts

calibre-3.1.1-1.fc26.x86_64 on fedora 26 linux.

I think this started happening when calibre started using Qt5. It tries to save the window position in ~/.config/calibre/gui.py main_window_geometry, but that geometry doesn't seem to take the window decorations into account (I'm using fvwm as window manager).

As a result, every time it starts, it shifts up and left till the decorations are off the screen.

I currently fix this by using a perl script to replace the main_window_geometry with one I saved, so it will always start in the same place, but that seems silly.

If pyqt can't do this right, any chance we could get some advanced "window shift" setting so we could manually set the window decoration width and have calibre correct the geometry by that amount on startup?
Claghorn is offline   Reply With Quote