The default bug view has changed. See this FAQ.

Quick Filter Status in View Menu desyncs when the Quick Filter toolbar button is removed

RESOLVED FIXED in Thunderbird 18.0

Status

Thunderbird
Toolbars and Tabs
--
minor
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: David E. Ross, Assigned: squib)

Tracking

unspecified
Thunderbird 18.0
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
View > Layout > Wide View
Quick Filter toolbar NOT displayed (my default).  

Dismissing the Quick Filter toolbar by using the ESC key fails to remove the checkmark for that toolbar in the View menu.  

1.  In the menu bar, launch the Quick Filter toolbar by selecting [View > Toolbars > Quick Filter Bar].  

2.  Dismiss the Quick Filter toolbar by using the ESC key.  The Quick Filter toolbar closes.  

3.  In the menu bar, select [View > Toolbars].  There is still a checkmark next to Quick Filter Bar.  

4.  In the menu bar, again launch the Quick Filter toolbar by selecting [View > Toolbars > Quick Filter Bar].  

5.  In the menu bar, select [View > Toolbars].  There is no checkmark next to Quick Filter Bar even though the toolbar is present.  

This lack of synchronization between the reality of the toolbar and the status shown in the View menu persists as the toolbar's presence is toggled.  

If the toolbar was present when terminating Thunderbird while reality and the View menu were indeed synchronized, synchronization is lost when launching Thunderbird.  

1.  In the menu bar, launch the Quick Filter toolbar by selecting [View > Toolbars > Quick Filter Bar].  

2.  Terminate Thunderbird.  

3.  Launch Thunderbird.  The Quick Filter toolbar is present.  

4. In the menu bar, select [View > Toolbars].  There is no checkmark next to Quick Filter Bar.  

ONLY if the toolbar was dismissed before terminating Thunderbird, launching Thunderbird restores the synchronization of reality with the View menu.
(Assignee)

Comment 1

5 years ago
WFM on 15.0
(Reporter)

Comment 2

5 years ago
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0
Default 15.0 theme
NO enabled plugins

Running Thunderbird in Safe Mode, the problem did not occur.  I then tried selectively disabling my four extensions -- not in Safe Mode -- to see which one might cause the problem.  With ALL extensions disabled, however, the problem still appeared.  

Since the only difference between Safe Mode and disabling all extensions is that Safe Mode also disables the theme, I must conclude that the problem lies within the Default 15.0 theme (something that was carried forward from the Default 14.0 theme and possibly prior themes).  I cannot find a way outside of Safe Mode to disable the current theme in order to confirm this.  

Still a problem.  Does NOT work for me.
Component: Mail Window Front End → Theme
(Assignee)

Comment 3

5 years ago
(In reply to David E. Ross from comment #2)
> Since the only difference between Safe Mode and disabling all extensions is
> that Safe Mode also disables the theme

That's not actually what happens when you start safe mode. If it did, you'd end up with no UI (or at least, a *completely* broken UI).

However, there is another important difference in safe mode: all your UI customizations are reset (notably localstore.rdf). Something in there is probably invalid and causing errors.
Component: Theme → Toolbars and Tabs
(Reporter)

Comment 4

5 years ago
Created attachment 657925 [details]
localstore.rdf file that causes the problem

With Thunderbird terminated, I located localstore.rdf in the profile and renamed it x-localstore.rdf-x.  When I then launched Thunderbird, it created a new localstore.rdf; and the problem went away.  

However, I do not like the default set of buttons; so I customized the buttons using the standard user interface (right-click and select Customize on the various Thunderbird tool bars, drag-and-drop buttons to add or remove them).  The problem reappeared.  

Yes, the problem lies within localstore.rdf or in how Thunderbird uses that file.  However, I think my customization was valid since I only used the end-user interface.  I am attaching a copy of my localstore.rdf file for others to diagnose this problem.
(Assignee)

Comment 5

5 years ago
Updating bug title to reflect what's actually happening here.
Summary: Quick Filter Status in View Menu Not Synchronized with Reality → Quick Filter Status in View Menu desyncs when the Quick Filter toolbar button is removed
(Assignee)

Comment 6

5 years ago
Created attachment 657953 [details] [diff] [review]
Fix this

This fixes the issue by enabling/disabling the commands, rather than the buttons, and by having the checked attribute of the toolbar button observe the menuitem, rather than vice versa. That way, we properly update the check mark even when the toolbar is removed.

All the QFB tests pass locally with this patch.
Assignee: nobody → squibblyflabbetydoo
Status: NEW → ASSIGNED
Attachment #657953 - Flags: review?(bugmail)
Attachment #657953 - Flags: review?(bugmail) → review+
(Assignee)

Comment 7

5 years ago
Checked in: http://hg.mozilla.org/comm-central/rev/6ed66e622bb0
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Duplicate of this bug: 787058
(Reporter)

Comment 9

5 years ago
In which version of Thunderbird is this being fixed?  It is still a problem in 
    Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121005 Thunderbird/16.0
(Assignee)

Comment 10

5 years ago
18, I think.
Target Milestone: --- → Thunderbird 18.0
You need to log in before you can comment on or make changes to this bug.