Open with dialog freezes shutter and desktop

Bug #338990 reported by pt123
6
Affects Status Importance Assigned to Milestone
Shutter
Fix Released
Critical
Mario Kemper (Romario)

Bug Description

After I take a screenshot then open the "Screenshot" menu , when I'm near the "open with" menu item, shutter freezes. The rest of the desktop also hangs, I cannot open other applications through Gnome Panel. I have to restart X using Ctrl+Alt+Backspace

This is the error message I got out from the terminal (which was repeated)
gtk_widget_event: assertion "WIDGET_REALISED_FOR_EVENT .. .. failed at /usr/bin/shutter line 1427

This happened when I had "Actions" open with unselected, and then with Gimp as the application.

I am using Ubuntu Ibex, and Shutter 0.70

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

I can't confirm it here, but maybe Mario can realize the problem.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Mh, i can't reproduce this as well.
Is there a reliable action to get Shutter freezing on your system? If so, could you please provide a debug file?

Just start shutter in terminal and redirect the debug messages to a file:
shutter --debug > debug.shutter

Then reproduce this error and attach the debug file here.
Thank you very much for your help.

Revision history for this message
pt123 (pt123) wrote :

here is the file doesn't say much, and didn't captures these lines that are littered in the terminal

maybe it is a theme problem

Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.

Revision history for this message
pt123 (pt123) wrote :

I changed the theme to Human, and similar thing happened.

But I noticed there was a small widget square like 3pixels by 3 pixels.

It was as if the widget was failing to expand to the correct size.

I also noticed something similar when I called the plugins and chose polaroid,

It's dialog box stays small for five seconds before expanding.

I have attached a screenshot of this.

Revision history for this message
Lord_neo (lord-neo) wrote :

I am having this bug too...

I can reproduce it every time i:
1) open shutter
2)make a whole desktop screenshot
3) try to list the open with menu

Shutter freeze and all the desktop too. I have to ctrl+alt+f1 and killall the shutter process and after i can come back in my desktop.

I attached a --debug log but it seems not to handle the ripetitive lines which occur in terminal:

Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.
Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at /usr/bin/shutter line 1427.

and so on...

I hope it is useful to fix this blocking bug.

Thanks

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

I was just wondering if there is any special application installed that causes the crash here. Could you please provide a list of apps that are registered with image/png MIME type.
Just right click on a png image and select "open with" tab in the file preferences.

Changed in shutter:
assignee: nobody → mario-kemper
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Ahh, I can reproduce it now! It happens when you click on the 'open with' menu...
When you just hover over it then everything is fine. I'll fix this now.

Revision history for this message
Lord_neo (lord-neo) wrote :

thanks... but the list is:

Comix
Firefox
F-Spot
Gimp

Revision history for this message
pt123 (pt123) wrote :

cool I thought it might be my setup.

Should I file another bug report this?
http://launchpadlibrarian.net/23574489/Screenshot.png

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

The problem here is that it takes quite long to generate the preview. I think we have to load the preview asynchronous so the dialog expands immediately.
I've just opened https://bugs.launchpad.net/shutter/+bug/340635 for this.

Thanks.

Changed in shutter:
milestone: none → 0.70
Changed in shutter:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.