Closed Bug 216480 Opened 21 years ago Closed 18 years ago

Customize MailViews: checkbox to show views for Labels

Categories

(MailNews Core :: Filters, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mail124, Assigned: sspitzer)

Details

Attachments

(2 files, 2 obsolete files)

Mozilla 1.4, WinXP

Add a checkbox in the Customize Message Views window to hide the five default
Labels views.  I don't use labels much at all, and those label views are always
there above my customizable views.
Well, you can customize them too, change their name and definition. Or remove
them entirely. The 5 default views are just what their name tells you : default
views, for people that don't know how to configure views.

Recommend WONTFIX, because it's UI-bloat for most users. And it's easy to work
around for those who know how to configure views (which is the point here).
Attached image visual example
I guess I wasn't clear enough in the description, sorry.  In the graphic,
you'll note that the five Labels (Important, Work, etc.) stay there even if you
erase one of their names.  Their location is hard-coded into the XUL at:
http://lxr.mozilla.org/seamonkey/source/mailnews/extensions/mailviews/resources/content/msgViewPickerOverlay.xul#40

I'm basically just suggesting adding a persist="hidden" to those, with a
checkbox in the "Customize..." box to toggle the state.  That way, the people
who know how to customize views at all will be able to customize the whole
view, rather than just part of it.
I've got most of a patch prepared; please don't wontfix it until you see what I
have in mind....
Attached patch patch 90% complete (obsolete) — Splinter Review
This patch correctly observes the boolean pref
mailnews.view.showLabelMenuItems, and places a checkbox "Show Label Views"
within the Customize Message Views dialog.  Everything functions well, except
showing the label views again after making them hidden.  I don't know why it
doesn't work yet, but I hope to figure it out soon.
Attached patch complete patch (obsolete) — Splinter Review
tested in recent trunk, ready for review.  This places a checkbox in the
Customize Message Views dialog to toggle showing the five label views.
Attachment #131770 - Attachment is obsolete: true
Attachment #131780 - Flags: review?(sspitzer)
Attachment #131780 - Attachment is obsolete: true
Attachment #131781 - Flags: review?(sspitzer)
Attachment #131780 - Flags: review?(sspitzer)
Attachment #131781 - Flags: review?(sspitzer)
Product: MailNews → Core
Since labels are tags now and you can remove all tags, this is WONTFIX.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: