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 604971 - evolution allows deletion of default views
evolution allows deletion of default views
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-12-19 01:14 UTC by David Walker
Modified: 2010-05-13 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (3.76 KB, patch)
2010-05-13 19:33 UTC, Milan Crha
committed Details | Review

Description David Walker 2009-12-19 01:14:03 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!
Comment 1 Joe Lippl 2009-12-19 04:35:17 UTC
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.
Comment 2 Joe Lippl 2009-12-19 04:38:00 UTC
And just for completeness' sake, the original Ubuntu Forums thread is:

http://ubuntuforums.org/showthread.php?t=1357240
Comment 3 Milan Crha 2010-05-13 19:08:51 UTC
Thanks for a bug report. I can reproduce it too, thus confirming.
Comment 4 Milan Crha 2010-05-13 19:33:57 UTC
Created attachment 160999 [details] [review]
evo patch

for evolution;

This fixes things around this. At least with my tests.
Comment 5 Milan Crha 2010-05-13 19:35:14 UTC
Created commit b936a23 in evo master (2.31.2+)