GNOME Bugzilla – Bug 306673
"Save calendar" freezes evo after missing file extension warning
Last modified: 2013-09-10 14:03:53 UTC
Please describe the problem: Steps to reproduce: 1. Try to save a calendar 2. Enter a filename without any extension 3. Say No, to not continue 4. Append .ics to the filename and hit save again Actual results: All buttons become unresponse and the file is not saved. The dialog must be closed using the window manager. Expected results: Save as normal. Does this happen every time? Yes. Other information:
confirming bug. replicable even on 2.2.3
still valid in evolution-2.4.0.0.200508300318-0.snap.novell.11.1
*** Bug 316959 has been marked as a duplicate of this bug. ***
raising severity since people are running into this. i'd love to set this to 2.4.1 since people are running into this, feel free to retarget/future it.
Created attachment 52970 [details] [review] fixes the bug
Running the dialog in a while loop is bad. You need to connect signals to the corresponding buttons and listen to them. To improve the usablity, the extension should be added by default, looking at the selected format from the combo box at the bottom if the user does not include extension with the file name. /* Free the handlers */ + g_list_foreach (format_handlers, format_handlers_foreach_free, NULL); + g_list_free (format_ha As this part is common now. The same code which is above + return; could be removed as its redundant and "return" would not be needed then.
Created attachment 53943 [details] [review] modified patch
Committed to both the branches
Created attachment 54816 [details] [review] This was the patch committed.
*** Bug 321578 has been marked as a duplicate of this bug. ***
*** Bug 322272 has been marked as a duplicate of this bug. ***