Closed Bug 1358840 Opened 9 years ago Closed 9 years ago

Twisties are gone, cannot expand threads, folders, or accounts

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
blocker

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 + fixed
firefox55 --- fixed

People

(Reporter: Pike, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: regression)

Attachments

(2 files)

I bet this is a toolkit change regressing thunderbird, but I didn't find one ad-hoc. Filing a bug to track this. Marking as blocker 'cause I can't get to my newsgroups at all right now.
Axel, can you add the TB version and the platform?
Works for me on Windows on latest Tinderbox build (Sat Apr 22 2017, 23:37:04), which has the same M-C base as today's Daily currently being built.
20170423030209, macos, German localization
Yes I see it too also the treeitems aren't highlighted, FX is okay. Last good Daily from 20.4.2017, first bad 22.4.2017. Unfortunately 21.4.2017 Daily is busted. I tried the tinderbox builds and the last good is 20170421013227 https://hg.mozilla.org/comm-central/rev/7e82cc51efb47557a5568f331c28a55429274a46 https://hg.mozilla.org/mozilla-central/rev/8b854986038cf3f3f240697e27ef48ea65914c13 And the first bad 20170421155419 https://hg.mozilla.org/comm-central/rev/756dadb206f5d280ce8b1f80eda047e7f5fa1e92 https://hg.mozilla.org/mozilla-central/rev/ff6abe20041933a67f636b748ed698e9616a6833 Stefan, please could you check what could cause this?
Flags: needinfo?(stefanh)
Axel, double-click opens/closes the treeitems.
In the bookmarks sidebar and also in the Library (Show All Bookmarks).
Another side-effect I just noticed is that in the folder view, the active folder isn't high-lighted. Active emails are, though.
Hmm, this sounds like the native styling isn't applied to the tree rows (Firefox twisties are actually icons, but thunderbird uses native styling). I wonder if the changes in bug 1357655 could have caused this. In bug 1357655, 'appearance: auto' was introduced in minimal-xul.css in order to make native styling (with '-moz-appearance') continue to work in xul documents, so it should work, but maybe there's something special going on here with the treechildren...
Flags: needinfo?(stefanh)
Richard tells me that a local backout of the patches in bug 1357655 make things work again.
Blocks: 1357655
Well, can we port this bug or do we need to NI Mats and Boris. They're busily uplifting this to mozilla54 beta.
The regression is in Firefox as well. Basically, '-moz-appearance' have stopped working for treechildren.
And adding in xul.css * { appearance: auto; } doesn't work.
Moving it to toolkit.
Component: General → XUL Widgets
Product: Thunderbird → Toolkit
It works if you in xul.css set appearance: auto on the pseudo-element: treechildren::-moz-tree-twisty { appearance: auto; } However, I'm sure there's a better way to fix this (you'd for instance want it to work for tree rows as well).
Yeah, I think we need to add a rule covering all XUL pseudo elements in xul.css that declares 'appearance: auto' for them.
Assignee: nobody → mats
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All
Attached patch fixSplinter Review
These are all the XUL pseudo elements I could find. Stefan, can you confirm this fixes the issues in TB please?
Flags: needinfo?(stefanh)
I'm at work atm, but I can confirm this around 8PM (UTC+2).
Depends on: 1358711
With the patch, the twisties are back and also the treechildren are highlighted when selected.
Yeah, this fixes the issues in Thunderbird and Firefox.
Flags: needinfo?(stefanh)
Attachment #8860775 - Flags: review?(bzbarsky)
Comment on attachment 8860775 [details] [diff] [review] fix This looks about right. To make sure it's really right, we should change nsTreeBodyFrame::GetPseudoStyleContext and nsTreeStyleCache::GetStyleContext to take a nsICSSAnonBoxPseudo* instead of nsIAtom*, and then assert that IsTreePseudoElement(). That will require some changes to various other tree code, but will make this definitely safe... Followup is ok for this part.
Attachment #8860775 - Flags: review?(bzbarsky) → review+
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/bff062c52125 Make appearance:auto the default for all XUL pseudo elements too. r=bz
(Filed follow-up bug 1359205 for comment 23)
Depends on: 1359205
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
No longer depends on: 1358711
[Tracking Requested - why for this release]: Bug 1357655 was uplifted to 54 and this is a regression from that bug.
Comment on attachment 8860775 [details] [diff] [review] fix Approval Request Comment [Feature/Bug causing the regression]: Bug 1357655 [User impact if declined]: Wrong styling of treechildren, twisties not working on Mac, see comment #12. [Is this code covered by automated tests?]: Indirectly, TB Mozmill failing (bug 1358711) [Has the fix been verified in Nightly?]: Yes, Thunderbird Daily. [Needs manual test from QE? If yes, steps to reproduce]: N/A. [List of other uplifts needed for the feature/fix]: None. [Is the change risky?]: No. [Why is the change risky/not risky?]: CSS only. [String changes made/needed]: None.
Attachment #8860775 - Flags: approval-mozilla-beta?
Attached image i haz twisties
Verified, see screenshot. I haz twisties.
VERIFIED in 20170425030218.
Status: RESOLVED → VERIFIED
Track 54+ as regression.
Comment on attachment 8860775 [details] [diff] [review] fix Fix a regression and was verified. Beta54+. Should be in 54 beta 3.
Attachment #8860775 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
This bug still exists in release version of Thunderbird (52.1.1) Is it a separate issue, or just need to wait for changes to propagate?
(In reply to Seb from comment #35) > This bug still exists in release version of Thunderbird (52.1.1) > Is it a separate issue, or just need to wait for changes to propagate? This bug was never present in Thunderbird 52.x, so what you see must be a separate issue.
Well the (In reply to Stefan [:stefanh] from comment #36) > This bug was never present in Thunderbird 52.x, so what you see must be a > separate issue. Well the twisties are definitely all gone in my TB 52.x In the folders, accounts, and threaded-mode message list. They are all ok in TB 54.0b3 so I guess it's been fixed already, and will propagate to the release channel in due course...
(In reply to Seb from comment #37) > Well the (In reply to Stefan [:stefanh] from comment #36) > > This bug was never present in Thunderbird 52.x, so what you see must be a > > separate issue. > > Well the twisties are definitely all gone in my TB 52.x I believe you (even though the twisties are not gone in my 52.1.1 with MacOS Sierra) :-) But the code that caused this particular issue was never introduced in 52.x, so what you see is not the same issue as described in this bug.
Seb, on what platform/distro are you? If you have Firefox (which version?), can you check in the Library window if the twisties are also missing?
I'm using Windows 8.1 (64bit) Thunderbird 52.1.1 (release) is missing all twisties. Can still click where they should be and the action happens. Thunderbird 54.0b3 (beta) is fine. Firefox 53.0.3 is fine (twisties showing in Library window).
Checked TB 52.1.1 on Win8.1 and the twisties are present. Seb, please can you try to restart with Add-ons disabled, see Help menu?
Ah, that brings the twisties back when running in safe mode! However, even when I disable all Extensions, Plugins and Dictionaries in normal mode, the twisties are still gone. Under Appearance in the Addon-ons Manage, it has a message "Default is incompatible with Thunderbird 52.1.1.", and the Default theme has version 54.0. Not sure how this has happened - maybe through installing beta versions for bug testing? Am I right in thinking the theme is stored within the Profile directory? Is it possible to reset the Default theme?
I suggest you uninstall TB and manually delete the c:\program files (x86)\Mozilla Thunderbird\ directory. If I'm not mistaken, the default theme is installed there as a "distribution extension". You can have many versions of TB installed in parallel, but you should install each one in a different directory.
After a reinstall, the twisties are back, hurray! And the Default theme is now correctly 52.1.1 I'm not sure how this got changed to 54.0 I always install the beta versions in a separate directory. The only 'cross-contamination' that may have happened was loading the profile used for beta testing, in my release TB. And I'm pretty sure I never did it the other way around - loading my working/release profile with a beta version. Anyway, many thanks for your help fixing this issue :)
This was backed out in bug 1365614 (along with other bugs).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: