GNOME Bugzilla – Bug 604971
evolution allows deletion of default views
Last modified: 2010-05-13 19:35:14 UTC
I am reporting this bug on behalf of LP Bug# 498040. Thank you for everything you do! https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/498040 Here is a description: Joe Lippl wrote 20 hours ago: #3 I am the OP in the Ubuntu Forums thread Mr. Clayton refers to. To reproduce: Start Evolution and bring up the Calendar. Go to menu: View / Current View / Define Views... Click "New." Decide which of the default views you're going to sacrifice for this test, and give your custom view a name which will follow that one alphabetically. Set the "Type of view" to whatever. Click "OK." Highlight your new custom view in the list, and click "Delete." Whichever default view was above the deleted view in the list is now highlighted. Now we encounter the bug, which is that the "Delete" button is still active, when it should not be. Click "Delete" again, and you will delete the highlighted default view. I THINK that repeatedly clicking "Delete" at this point will continue to delete default views, but I'm not going to test that! I THINK that selecting one of the other default (non-deletable) views in the list will "turn off" the bug until you create another custom view. The control icon which normally would bring up the deleted default view remains on the toolbar, but is now nonfunctional. You can, however, still bring up that view in a less convenient fashion via the View menu. Creating a new custom view with the missing default view's name does not restore the icon's function; nor does reinstalling Evolution through Synaptic. That is the extent of what I have been able to do. Thanks!
Thanks! I added this to the launchpad thread after I posted the above: Actually I take one thing back; deleted default views are NOT still available through the View menu. I created custom views to replace the ones that I deleted, and those are what I have on the View menu. They are accessible that way, but are not called up by the toolbar icons.
And just for completeness' sake, the original Ubuntu Forums thread is: http://ubuntuforums.org/showthread.php?t=1357240
Thanks for a bug report. I can reproduce it too, thus confirming.
Created attachment 160999 [details] [review] evo patch for evolution; This fixes things around this. At least with my tests.
Created commit b936a23 in evo master (2.31.2+)