After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783916 - Positioning windows in xfce4
Positioning windows in xfce4
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-18 09:59 UTC by l_atome2
Modified: 2018-05-02 18:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A screen capture with margin of evince (203.45 KB, image/png)
2017-06-18 09:59 UTC, l_atome2
Details
1.png (203.45 KB, image/png)
2017-06-19 15:32 UTC, l_atome2
Details
2.png (197.42 KB, image/png)
2017-06-19 15:33 UTC, l_atome2
Details

Description l_atome2 2017-06-18 09:59:44 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
Comment 1 Jason Crain 2017-06-18 18:58:52 UTC
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.
Comment 2 l_atome2 2017-06-19 15:31:28 UTC
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
Comment 3 l_atome2 2017-06-19 15:32:22 UTC
Created attachment 354048 [details]
1.png

1.png
Comment 4 l_atome2 2017-06-19 15:33:13 UTC
Created attachment 354049 [details]
2.png

2.png
Comment 5 Jason Crain 2017-06-19 16:57:52 UTC
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.
Comment 6 l_atome2 2017-06-24 03:49:48 UTC
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
Comment 7 Daniel Boles 2017-09-07 07:16:15 UTC
(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
Comment 8 Daniel Boles 2018-03-30 11:39:05 UTC
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.
Comment 9 GNOME Infrastructure Team 2018-05-02 18:35:18 UTC
-- 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.