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 675528 - Must save normal/maximized window state between GIMP sessions
Must save normal/maximized window state between GIMP sessions
Status: RESOLVED DUPLICATE of bug 660475
Product: GIMP
Classification: Other
Component: User Interface
2.8.0
Other Windows
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 675661 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-05 19:27 UTC by strata_ranger
Modified: 2012-05-18 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Maximized GIMP window with position saved to disk. Upon restarting, the interior window area is slightly offset due to the system drawing borders around the window itself. (147.69 KB, image/png)
2012-05-05 19:27 UTC, strata_ranger
Details

Description strata_ranger 2012-05-05 19:27:32 UTC
Created attachment 213518 [details]
Maximized GIMP window with position saved to disk.  Upon restarting, the interior window area is slightly offset due to the system drawing borders around the window itself.

Yes, this is actually a bug.

The following steps were performed when running GIMP 2.8.0-RC1 in single-window mode on Win32 XP:

1 - Start GIMP and maximize the main image window.
2 - Save window positions and exit GIMP.
3 - Restart GIMP.

Notice that the window is not maximized, and furthermore has been slightly offset.  This occurs because a maximized window may or may not incorporate the border decorations typical of normal (non maximized) windows.  As a result, when GIMP sizes and places a (non-maximized) window according to the (maximized) width/height values in sessionrc, the actual position of the window's interior area is offset by whatever border decorations are provided by the user's system.  This causes the right and bottom edges to extend past the edge of the user's actual desktop, resulting in a cropped window.

Illustration is attached.  In my case the difference is only four pixels wide (noticeable but not serious), but if a user has their system's border decorations configured thick enough, this could cause tools/options near the edge of the window to be completely shoved offscreen.
Comment 1 yktooo 2012-05-11 15:06:12 UTC
I confirm the same issue with GIMP 2.8.0 on Ubuntu 12.04 Precise with Unity.
Comment 2 Michael Schumacher 2012-05-13 08:40:57 UTC
*** Bug 675661 has been marked as a duplicate of this bug. ***
Comment 3 strata_ranger 2012-05-13 15:56:42 UTC
Not that surprisingly, this also occurs in the default multi-window mode.
Comment 4 Michael Schumacher 2012-05-18 11:17:52 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 660475 ***