GNOME Bugzilla – Bug 783916
Positioning windows in xfce4
Last modified: 2018-05-02 18:35:18 UTC
Created attachment 353974 [details] A screen capture with margin of evince Hello i try to modify the position of the evince's windows in the screen ... I try to put the windows in the corner of the screen but a space, like margin, is adding... In the screen capture, you will the spacing and the windows positionning give my the command "wmctrl -l -G" .. It appears that the geometry positionng is 0 0 1366 688 is normally a fullscreen (with a little margin in the bottom for the panel) I use Debian stretch, xfce4 and i just compil the last release of evince (3.24.0) Thanks for your help Thomas
I'm afraid I don't understand. You can't move the evince window around with your mouse? Does this also happen with other gtk header bar applications like gedit? I've tried evince in xfce4 and it seems to be fine.
This two sceen captures will try to explain my problem * For the 1.png ... I move the windows with the command wmctrl -r :ACTIVE: -e 0,0,1366,688 which normally will place the windows in the top-left corner and will give at the windows all the width of my screen ... But you can see in the screen capture, that the evince's window don't touch the top-left corner * For the 2.png ... To take all place of my screen, i need to indicate this parameters to wmctrl : wmctrl -r :ACTIVE: -e -22,-18,1414,7779 that means : the top-left corner have (-22,-18) of coordonates and the width of the windows is 1414 (> of my width screen). But you can see that the window touch the left-top corner wich have (0,0) coordonate If you have other question, Thanks Thomas
Created attachment 354048 [details] 1.png 1.png
Created attachment 354049 [details] 2.png 2.png
I'm reassigning this to gtk because this isn't specific to evince. gedit also does this. I suspect this is because of how the size of client side decorations is tracked.
Thanks for your diagnostic ... I'll waiting help from the gtk's team .. Other problems, i'm working on a little screen 1366x768 and i like work with evince on a half width screen and emacs (with my LaTeX code) on the other half width screen ... But i can't reduce the width of window's evince less than 777 pixels for the width : it's not the half of my screen Thanks Tom
(In reply to l_atome2 from comment #6). > But i can't reduce the width of window's evince less than 777 pixels for the > width : it's not the half of my screen That would need another bug. And one already exists: Bug 737239
This is probably a dupe of https://bugzilla.gnome.org/show_bug.cgi?id=729781 ultimately; by my understanding, there's currently no way to tell the WM about the shadows and their extents except through a hint, and that depends on the WM knowing to check for that hint; presumably wmctrl does not propagate it through.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/836.