Bug 835736
| Summary: | Fails to set file dialog as transient to the main window if saving/exporting from context menu | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | William Bader <williambader> |
| Component: | gimp | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | nphilipp, williambader |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-23 02:56:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
William Bader
2012-06-27 01:52:34 UTC
Sorry for taking so long to respond! I can't reproduce this with up to date gimp packages (version 2.8.2) in GNOME Shell and with a test user using the MATE desktop. Can you still reproduce this issue? Hi, I still get the message. I can reproduce it: Start gimp on a png file. Right-click on the image. Keeping the right mouse button down, select File -> Export... When you release the mouse button, gimp opens the "Export Image" dialog and at the same time, writes the message below in my xterm. I do not get the message if I select File -> Export... from the tool bar. My desktop is mate 1.4.0. Regards, William $ gimp cpag-adchart-13nov12.png (gimp:13863): GLib-GObject-WARNING **: invalid cast from `GimpDisplayShell' to `GtkWindow' (gimp:13863): Gtk-CRITICAL **: IA__gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed $ rpm -qa | grep gimp gimp-resynthesizer-0.16-6.fc17.x86_64 xsane-gimp-0.998-12.fc17.x86_64 gimp-help-browser-2.8.2-1.fc17.x86_64 gimp-libs-2.8.2-1.fc17.x86_64 gimp-data-extras-2.0.2-5.fc17.noarch gimp-2.8.2-1.fc17.x86_64 $ uname -a Linux scslaptop37.scs.com 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov 5 21:59:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux Thanks for the quick reply! (In reply to comment #2) > Keeping the right mouse button down, select File -> Export... > When you release the mouse button, gimp opens the "Export Image" dialog and > at the same time, writes the message below in my xterm. > I do not get the message if I select File -> Export... from the tool bar. This piece of information let me reproduce the issue here. It's unlikely that it's related to what kind of desktop you're running. I've just pushed a fix to upstream GIMP git master:
commit 1a4087bd5f1c79859fbfc417eff58f8e7783f335
Author: Nils Philippsen <nils>
AuthorDate: Wed Nov 14 16:42:05 2012 +0100
Commit: Nils Philippsen <nils>
CommitDate: Wed Nov 14 16:42:05 2012 +0100
app: fix marking file dialogs as transient if opened from context menu
GimpDisplayShell isn't a GtkWindow (anymore), therefore use
gtk_widget_get_toplevel() to find the actual toplevel window.
I'll roll an update with this fix shortly.
Thanks! gimp-2.8.2-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2012-18205/gimp-2.8.2-4.fc17 gimp-2.8.2-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2012-18174/gimp-2.8.2-4.fc18 Package gimp-2.8.2-5.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gimp-2.8.2-5.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18174/gimp-2.8.2-5.fc18 then log in and leave karma (feedback). gimp-2.8.2-6.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. gimp-2.8.2-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |