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 684003 - When using the main window in secondary monitor, the dialog window for filters are always opened in the primary monitor
When using the main window in secondary monitor, the dialog window for filter...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.8.2
Other All
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-14 03:52 UTC by Setyo Nugroho
Modified: 2012-11-11 20:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Setyo Nugroho 2012-09-14 03:52:24 UTC
When using the main window in secondary monitor, the dialog window for filters (e.g. Gaussian Blur, Motion Blur, Convolution Matrix, etc )are always opened in the primary monitor.
It still happens even though we move the dialog window to the second monitor and click OK.
It behaves differently from the other dialogs under the "Colors" menu (e.g. "Color Balance" dialog) where it remember its last position when it is moved.
Comment 1 Max Mustermann 2012-10-28 19:44:21 UTC
Confirming the same for GIMP 2.8.2. native OS X build on Snow Leopard.
Comment 2 Michael Natterer 2012-11-06 23:30:27 UTC
Are these monitors two areas of the same screen, can you have a window
half on one and half on the other monitor?
Comment 3 Setyo Nugroho 2012-11-07 02:49:29 UTC
Yes, I can have a window half on one and half on the other monitor.
Comment 4 Michael Natterer 2012-11-07 08:38:07 UTC
Thanks, I wonder why I added gimp_monitor_number() to libgimp 8 years
ago, and never started using it.
Comment 5 nm 2012-11-08 22:41:46 UTC
I can confirm this on Mountain Lion 10.8.2 with native os x gimp 2.8.3

My system uses a monitor along side of a laptop using thunderbolt with the same result.
Comment 6 Michael Natterer 2012-11-11 20:15:22 UTC
Fixed in master and gimp-2-8:

commit 908a71c4cf28d9d144f8853b32e0da17a6859b10
Author: Michael Natterer <mitch@gimp.org>
Date:   Sun Nov 11 21:09:46 2012 +0100

    Bug 684003 - When using the main window in secondary monitor...
    
    If gimp_window_set_transient_for() fails (due to platform
    restrictions), at least set GTK_WIN_POS_CENTER on the window, so it
    gets centered on the monitor where the mouse is. This also removes the
    need for OSX specific centering code in GimpDialog (bug 677776).
    (cherry picked from commit 9e5ed1e70acfef7a488982ae42ea08c32e18a52d)

 libgimp/gimpui.c            |   39 +++++++++++++++++++++++++++------------
 libgimpwidgets/gimpdialog.c |    4 ----
 2 files changed, 27 insertions(+), 16 deletions(-)