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 662240 - Can't open dockable dialogues if I close them and other strange behaviours
Can't open dockable dialogues if I close them and other strange behaviours
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: User Interface
2.6.11
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 659301 663184 663198 666578 667234 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-19 21:18 UTC by Michal
Modified: 2012-01-07 22:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal 2011-10-19 21:18:09 UTC
Ubuntu 11.10
GIMP 2.6.11 also in GIMP from git.

Problem with dockable dialogues (windows).

Steps to reproduce:
1. Start GIMP
2. Drag and drop tab with brushes (for example) somewhere
3. Close created window with brushes
4. Go to menu: Windows->Dockable dialogues->Brushes or Ctrl+Shift+B

Expected result:
Window with brushes appears

Result in my case:
Nothing happen

Problem with duplicating resources (I thing it goes together with above).

Steps to reproduce:

1. Start GIMP
2. In Gradients (for example) tab click icon “New gradient”
3. Close window which appeared
4. Click the icon again

Expected result:
The window appears again

Result in my case:

Gradient is duplicated every time I click “New gradient” icon.

Screencast attached.
Comment 1 Michal 2011-10-19 21:24:03 UTC
Apparently I can't attach this video, so you can find it here: http://ubuntuone.com/4p1RgxPxdjZ6q3zPZUcLAh
Comment 2 Martin Nordholts 2011-10-20 05:54:16 UTC
If you run from the command line, do you get any warning output while doing this and when closing GIMP? If so, do you still get them if you run GIMP with a GTK+ you compiled yourself?

This bug seems to be caused by Ubuntu's GTK+ installation.
Comment 3 Michal 2011-10-20 07:27:43 UTC
Martin, thanks for response.

When I run GIMP from command line I get: 


michal@michal-Inspiron-530-11:~$ gimp

(gimp:2511): GLib-WARNING **: /build/buildd/glib2.0-2.30.0/./glib/goption.c:2168: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(gimp:2511): Gimp-Widgets-WARNING **: gimp_dialog_factory_dispose: stale non-toplevel entries in factory->open_dialogs

michal@michal-Inspiron-530-11:~$ 


First part (...GLib-WARNING **:...) appears straight after GIMP starts. The second part (...Gimp-Widgets-WARNING **:..) appears after closing GIMP. Nothing in terminal while I'm closing or trying to restore dockable dialogues.


I haven't compiled GTK+ myself. For GIMP from git I only compiled BABL, GEGL and GIMP. So you might be right that problem is on Ubuntu side. I'll try to compile GTK+ later and let you know about results.


If this is useful, this is when I run GIMP from git (about 2 days old). All warnings appear after I close GIMP:

michal@michal-Inspiron-530-11:~$ '/home/michal/GIMP-GIT/bin/gimp-2.7' 
This is a development version of GIMP.  Debug messages may appear here.


(gimp-2.7:2597): Gimp-Widgets-WARNING **: gimp_dialog_factory_dispose: 8 stale non-toplevel entries in factory->p->open_dialogs

(gimp-2.7:2597): GLib-GObject-WARNING **: invalid uninstantiatable type `GVariant' in cast to `GimpTaggedInterface'

(gimp-2.7:2597): Gimp-Core-CRITICAL **: gimp_tagged_get_tags: assertion `GIMP_IS_TAGGED (tagged)' failed

(gimp-2.7:2597): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GimpTaggedInterface'

(gimp-2.7:2597): Gimp-Core-CRITICAL **: gimp_tagged_get_tags: assertion `GIMP_IS_TAGGED (tagged)' failed
michal@michal-Inspiron-530-11:~$
Comment 4 Michal 2011-10-20 09:22:50 UTC
I've compiled GTK+ 2.24.5 from ftp://ftp.gtk.org/pub/gtk/2.24/ and than BABL, GEGL and GIMP from git. The bug does not appear after that. So, this looks like Ubuntu fault.
Comment 5 Martin Nordholts 2011-10-22 07:40:07 UTC
Thanks for investigating, closing as NOTGNOME.
Comment 6 Michael Natterer 2011-11-01 22:22:15 UTC
*** Bug 659301 has been marked as a duplicate of this bug. ***
Comment 7 Michael Schumacher 2011-11-02 21:43:56 UTC
*** Bug 663198 has been marked as a duplicate of this bug. ***
Comment 8 Michael Schumacher 2011-11-02 21:51:14 UTC
*** Bug 663184 has been marked as a duplicate of this bug. ***
Comment 9 Michael Schumacher 2011-12-27 11:42:39 UTC
*** Bug 666578 has been marked as a duplicate of this bug. ***
Comment 10 Michael Natterer 2012-01-07 20:54:39 UTC
*** Bug 667234 has been marked as a duplicate of this bug. ***
Comment 11 Tim Cuthbertson 2012-01-07 22:31:28 UTC
If others want to follow the bug trail on ubuntu's side, looks like the launchpad bug for this is here: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/878510