paperwork
paperwork copied to clipboard
Paperwork window X11 geometry
Maybe I am among the rare few who do not use Paperwork fullscreen… Anyway, it is rather annoying that the main window keeps growing and growing, at each new start. My comfortable geometry is already full-height, so I only actually see the width getting wider every day.
Wouldn't there be a confusion somewhere in the code between inner geometry and outer geometry? Or maybe between the full window geometry and the main panel (document display) geometry? All the more since Paperwork is using client-rendered window decorations, as far as I can tell.
That was the gist of this issue. Now, as a side-issue (but maybe related), Paperwork is one of only 2 applications that I know (the other being Evince) that insists on displaying on my 2nd “monitor” when it is switched on. I my case, the 2nd monitor being the A/V amp(+TV), it is rather unfortunate because it makes it seem that Paperwork failed to start when someone is listening to music at home, whereas in fact it is only hidden on the 2nd, ghost, “monitor”… :-D
Wouldn't there be a confusion somewhere in the code between inner geometry and outer geometry?
Possible because of the GtkHeaderbar. A while ago, Gedit seemed to have the very same problem. I'm going to have a look at how they fixed it.
Now, as a side-issue (but maybe related), Paperwork is one of only 2 applications that I know (the other being Evince) that insists on displaying on my 2nd “monitor”
While Paperwork do restore its previous window size, it doesn't set its location. Your WM (Gnome shell ?) is the one responsible for placing the main window of Paperwork. However I guess it may be related to the window growing every time.
Thanks for the quick answer, @jflesch ! I forgot to mention that neither issue is new. I’m even almost 100% sure that both date back from before version 3.
For the growing, I have actually known about it for a long time. It bothers me too. But since Gedit was also affected, I didn't worry much about it and assumed it was a Gnome-shell bug. However it seems now it works fine for Gedit .. so the fix is most likely on the application side ... :/
Note to myself: Gtk manual suggests GtkWindow.resize() as an alternative.