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 670104 - Gnote doesn't terminate
Gnote doesn't terminate
Status: RESOLVED FIXED
Product: gnote
Classification: Applications
Component: main
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
: 672674 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-14 22:06 UTC by sam_
Modified: 2012-03-29 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch expected to resolve the issue (1.68 KB, patch)
2012-03-06 18:26 UTC, Aurimas Černius
committed Details | Review
Supplementary patch for glib 2.31 (837 bytes, patch)
2012-03-06 18:53 UTC, Aurimas Černius
none Details | Review

Description sam_ 2012-02-14 22:06:53 UTC
When opening Gnote it displays it's status icon in panel, right click the icon to close it doesn't respond.
Output from .xsession-errors on start:
GLib-GIO-CRITICAL **: GApplication subclass 'GnoteApp' failed to chain up on ::startup (from start of override function)

and on attempt to terminate:
Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

First reported there.
https://bugs.launchpad.net/ubuntu/+source/gnote/+bug/930985
Comment 1 Aurimas Černius 2012-02-15 22:05:02 UTC
Well, I can't reproduce it on Fedora 16.
As I see, original bug report is for Ubuntu 12.04, which is the upcoming release?
Can you confirm the error occurs using GTK 3.4?
Comment 2 Aurimas Černius 2012-03-06 18:23:20 UTC
Confirmed on Fedora 17, this is a bug related to Glib 2.32/GTK+ 3.4
Comment 3 Aurimas Černius 2012-03-06 18:26:23 UTC
Created attachment 209106 [details] [review]
Patch expected to resolve the issue

This patch works for GTK+3.2 and Glib 2.30.
Haven't yet tested on newer (need to boot VM).
Comment 4 Aurimas Černius 2012-03-06 18:53:48 UTC
Created attachment 209107 [details] [review]
Supplementary patch for glib 2.31

Patch on top of previous one to make it work with unstable development glib version 2.31.
This patch is required temporarly until glib 2.32 is released.
Comment 5 Aurimas Černius 2012-03-06 19:04:02 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 6 sam_ 2012-03-13 21:08:44 UTC
Thank you Aurimas and sorry, I've missed to answer due to some illness.
Comment 7 Aurimas Černius 2012-03-29 20:58:11 UTC
*** Bug 672674 has been marked as a duplicate of this bug. ***