GTK+/Quartz: 'de-maximize' fails for documents opened in maximized state (incl. new documents)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Low
|
Unassigned |
Bug Description
Inkscape trunk builds with GTK+/Quartz on OS X cannot be 'de-maximized' if opened in a 'maximized' state - this is especially annoying with the recent change to open new documents per default as 'maximized' (with default prefs).
Steps to reproduce (trunk):
1) save a document in maximized state
2) quit inkscape
3) launch inkscape with the just saved file
4) de-maximize the maximized document window
Expected result:
The document window reverts to a small state if de-maximized via WM (buttons in the window decoration).
Actual result:
The document window size is unchanged (fills available screen area), and needs to be manually resized with the mouse.
Does not affect trunk builds using GTK+/X11, nor stable builds with either backend.
Related branches
Changed in inkscape: | |
milestone: | none → 0.91 |
Changed in inkscape: | |
importance: | Undecided → Low |
milestone: | 0.91 → 0.92 |
tags: |
added: gtk-quartz removed: gtk-osx |
New window (based on default 'maximized') saved with GTK+/X11:
<sodipodi: namedview "#ffffff" r="#666666" ity="1. 0" pageopacity= "0.0" pageshadow= "2" zoom="0. 35" cx="375" cy="520" document- units=" px" current- layer=" layer1" "false" window- width=" 1280" window- height= "752" window- x="0" window- y="0" window- maximized= "1" />
id="base"
pagecolor=
bordercolo
borderopac
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
showgrid=
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
New window (based on default 'maximized') saved with GTK+/Quartz:
<sodipodi: namedview "#ffffff" r="#666666" ity="1. 0" pageopacity= "0.0" pageshadow= "2" zoom="0. 35" cx="375" cy="520" document- units=" px" current- layer=" layer1" "false" window- width=" 1280" window- height= "752" window- x="0" window- y="22" window- maximized= "0" />
id="base"
pagecolor=
bordercolo
borderopac
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
showgrid=
inkscape:
inkscape:
inkscape:
inkscape:
inkscape:
Under GTK+/Quartz the window state is not recorded as 'maximized', probably because the vertical offset (y) of 22px for the global menubar is not taken into account (either by GDK/Quartz, or by Inkscape).