GNOME Bugzilla – 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.
Last modified: 2018-05-24 17:49:21 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.
Can you attach the sessionrc file (after you have closed GIMP before you're restarting it) for both cases?
What do you mean by `both cases`?
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.
Created attachment 353132 [details] sessionrc when color dialog appears on the same monitor as GIMP does.
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.
Sorry for being late. I was busy taking care of emergencies. sessionrc seems to be written in lisp. Does sessionrc reveal any useful information?
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
Yes, and fixing this is a purely internal change, setting 2.10.
*** Bug 795727 has been marked as a duplicate of this bug. ***
-- 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.