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 782194 - GIMP color dialog appears in the first monitor while other GIMP windows are on the second monitor if window positions are saved at exit.
GIMP color dialog appears in the first monitor while other GIMP windows are o...
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
2.9.4
Other Linux
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
: 795727 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-05-05 00:25 UTC by crocket
Modified: 2018-05-24 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sessionrc when color dialog appears on the same monitor as GIMP does. (2.99 KB, text/plain)
2017-06-04 05:05 UTC, crocket
Details
sessionrc when color dialog appears on a wrong monitor. (3.08 KB, text/plain)
2017-06-04 05:10 UTC, crocket
Details

Description crocket 2017-05-05 00:25:48 UTC
I use XMonad, but this issue exists in windows and other desktop environments according to the internet users.

I use GIMP in my second monitor which happens to be the second workspace of XMonad.

All other GIMP dialogs appear in the second monitor, but only color dialog appears in the first monitor after the color dialog appears in the second monitor for the first time that it ever appears.

I found a way to work around the issue.

In `Edit -> Preferences -> Interface -> Window Management`,

* Click `Reset Saved Window Positions to Default Values`
* Uncheck `Saved window positions on exit`
* Restart `gimp`
* color dialog starts appearing in the correct workspace and monitor.

If windows positions aren't saved on exit, I have to manually save dock window arrangements via `Save Window Positions Now` in `Edit -> Preferences -> Interface -> Window Management` without opening color dialog and restart gimp. If `Save Window Positions Now` is clicked after color dialog is opened even once and gimp is restarted, the color dialog keeps appearing in the first monitor, again. Thus, I have to click `Reset Saved Window Positions to Default Values` again.

It seems gimp window management manages both dialog window positions and toolbox/dock window arrangements.

I see at least two solutions.

1) Give users an option to save dock/toolbar arrangements separately from positions and sizes of dialogs.
2) Figure out how to deal with workspaces and monitors in Microsoft Windows and XMonad.
Comment 1 Michael Schumacher 2017-05-05 07:33:31 UTC
Can you attach the sessionrc file (after you have closed GIMP before you're restarting it) for both cases?
Comment 2 crocket 2017-05-05 11:45:39 UTC
What do you mean by `both cases`?
Comment 3 Michael Schumacher 2017-05-05 13:14:18 UTC
Well, you got one case where the dialog appears on the first monitor, and one case where you work around the issue and it opens on the second monitor.
Comment 4 crocket 2017-06-04 05:05:18 UTC
Created attachment 353132 [details]
sessionrc when color dialog appears on the same monitor as GIMP does.
Comment 5 crocket 2017-06-04 05:10:20 UTC
Created attachment 353133 [details]
sessionrc when color dialog appears on a wrong monitor.

If I check "Interface -> Window Management -> Window Positions -> Save window positions on exit" in Preferences, launch the color dialog, restart GIMP, and launch the color dialog twice, then the color dialog appears on the first monitor even when GIMP is on the second monitor.

sessionrc looks like this when this happens.
Comment 6 crocket 2017-06-04 05:11:57 UTC
Sorry for being late. I was busy taking care of emergencies. sessionrc seems to be written in lisp. Does sessionrc reveal any useful information?
Comment 7 Alexandre Brault 2018-01-08 22:55:34 UTC
This is still happening for me as well in Windows as of 2.9.8 (18794a6ba2). The first time the colour picker is opened, it appears on the correct monitor, but it switches to the other one when it is closed and reopened
Comment 8 Michael Natterer 2018-01-08 23:05:10 UTC
Yes, and fixing this is a purely internal change, setting 2.10.
Comment 9 Michael Natterer 2018-05-02 17:05:20 UTC
*** Bug 795727 has been marked as a duplicate of this bug. ***
Comment 10 GNOME Infrastructure Team 2018-05-24 17:49:21 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/gimp/issues/1093.