GNOME Bugzilla – Bug 696366
When quitting with ctrl + q, save dialog do not popup
Last modified: 2013-03-22 11:09:48 UTC
When quitting with ctrl + q, save dialog do not popup 1. launch gedit 2. type in gedit 3. TEST * ctrL + w popup save dialog * click close button popup save dialog * click close in menu popup save dialog * click ctrl + q Quit gedit gedit-3.7.6-1.fc19.x86_64 gtk3-3.7.14-1.fc19.x86_64
Created attachment 239517 [details] [review] quit So it seems we forgot to implement that codepath :) here it is the patch that should fix it.
Review of attachment 239517 [details] [review]: ::: gedit/gedit-commands-file.c @@ +1962,1 @@ { This looks fishy to me - why would you have a different condition on OS X ? The callers are not ifdefed (at least the one you're adding in this patch isn't and it passes NULL for both arguments, meaning that it will behave differently on OS X...
I didn't want to touch the condition for OSX mainly 'cause not sure how it works the app menu there. (this is up to jesse to keep it or fix it) Also I wanted to keep the previous behaviour of quitting for the case gedit does not run on gnome-shell, meaning that in that specific case a window parameter is passed. dunno...
Created attachment 239522 [details] [review] quit2 Removed that ifdef, if it is needed on OSX we can fix it later. OSX is broken right now anyway...
Thats a different patch...
Created attachment 239529 [details] [review] quit3 urgh... sorry about that
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.