About dialog cannot be loaded once closed

Bug #406936 reported by Umang Varma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pynagram
Fix Released
Low
Umang Varma

Bug Description

When the about page is opened from the Help menu (which is the only way to open it), and then closed, it cannot be opened again. In the second attempt, a small "window" opens which is very irritating. It does not close easily (Esc does the trick, otherwise, you have to right-click and then click close on the title bar.)

The following error appears in the terminal on second attempt:

/home/umang/Python/pynagram/Pynagram/gui/gui.py:76: GtkWarning: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
  self.widgets["about_pynagram"].run()
/home/umang/Python/pynagram/Pynagram/gui/gui.py:76: GtkWarning: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
  self.widgets["about_pynagram"].run()
/home/umang/Python/pynagram/Pynagram/gui/gui.py:76: GtkWarning: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
  self.widgets["about_pynagram"].run()

I am unsure of whether this is a problem on our end or is upstream.

This problem is as of revno. 4.

Related branches

Umang Varma (umang)
Changed in pynagram:
assignee: nobody → Umang (umang)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Umang Varma (umang) wrote :

Thanks to "days_of_ruin" for pointing out the solution! (http://ubuntuforums.org/showpost.php?p=7726400&postcount=2)

This bug has now been fixed. The solution:
Don't connect a "response" event and hide not destroy the dialogue. This results in the dialogue working, without interfering with the Close button's behavior.

Changed in pynagram:
status: Confirmed → Fix Committed
Umang Varma (umang)
Changed in pynagram:
status: Fix Committed → 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.