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 746821 - W32: Maximized window is obscured by the taskbar
W32: Maximized window is obscured by the taskbar
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-03-26 15:40 UTC by LRN
Modified: 2015-03-26 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
W32: Correctly set maximized window position (1.19 KB, patch)
2015-03-26 15:40 UTC, LRN
committed Details | Review

Description LRN 2015-03-26 15:40:29 UTC
This happens when taskbar is positioned along the left or top edge
of the screen.
Comment 1 LRN 2015-03-26 15:40:41 UTC
Created attachment 300363 [details] [review]
W32: Correctly set maximized window position

Use screen workarea to *also* set the position of a maximized window,
not just its size. Without this the window position defaults to 0:0
(the topleft corner), which is wrong when taskbar is position along the
top or left edge of the screen.
Comment 2 Ignacio Casal Quinteiro (nacho) 2015-03-26 15:45:25 UTC
Review of attachment 300363 [details] [review]:

Patch looks good. Feel free to push it and to backport it for the gtk-3-16 branch and even 3-14
Comment 3 LRN 2015-03-26 15:52:20 UTC
Attachment 300363 [details] pushed as af9f6fc - W32: Correctly set maximized window position
Comment 4 LRN 2015-03-26 17:07:13 UTC
This needed additional fix, because it adversely affected non-CSDed windows. See the commit 3c80451b17f82a0a230d0bca1ae297d5e74bf3b3