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 645229 - Gimp does not remember single window mode
Gimp does not remember single window mode
Status: RESOLVED DUPLICATE of bug 603848
Product: GIMP
Classification: Other
Component: User Interface
git master
Other Mac OS
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-19 16:15 UTC by Clemens Adolphs
Modified: 2011-03-19 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Clemens Adolphs 2011-03-19 16:15:57 UTC
I compiled gimp on the Mac, Snow Leopard, using the latest git master. So far, it seems to work fine.

However, when I start the GIMP, it never starts in Single Window Mode even when I selected it in a previous session. The gimprc-file isn't changed either.

Also, I'd suggest adding the "single window mode" switch to the preferences dialogue. That's where I first searched for it...
Comment 1 Clemens Adolphs 2011-03-19 17:57:18 UTC
More details: If I manually add "(single-window-mode yes)" to my gimprc, the GIMP *still* does not start in that mode, BUT the menu entry for single window mode gets a check. I then have to click it twice: First to remove the check, i.e., switching to multi window mode, and then a second time to re-switch to single window mode. 

However, when I then exit the program, the entry (single-window-mode yes) is removed from the gimprc. I suspect there's a minor glitch in the parsing of the option file. I'll try to find it myself, but I am absolutely unfamiliar with the GIMP source code as of yet.
Comment 2 Clemens Adolphs 2011-03-19 18:34:56 UTC
Okay, I see that this is a direct consequence of the session management. I also found the part in the code where it's deliberately deactivated on exit.

I suppose what happens is the following: When I manually add (single-window-mode yes) to my gimprc, it really starts in single window mode BUT as the docks aren't properly session-managed, they fly around wherever thy like. That's why it looks like multi-window mode although the entry "single-window mode" is checked.

A dirty workaround would be to manually call the single-window activation function after all other stuff is loaded, but the proper way would be to wait until session management is done for the swm.

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