Closed
Bug 666978
Opened 13 years ago
Closed 13 years ago
Tree twisty in folder pane doesn't update when expanding
Categories
(Thunderbird :: Theme, defect)
Tracking
(thunderbird6 fixed)
RESOLVED
FIXED
Thunderbird 7.0
Tracking | Status | |
---|---|---|
thunderbird6 | --- | fixed |
People
(Reporter: squib, Assigned: squib)
Details
Attachments
(2 files)
6.92 KB,
image/png
|
Details | |
600 bytes,
patch
|
Bienvenu
:
review+
standard8
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
When expanding a row in the folder pane, the twisty isn't updated so it still looks like the collapsed twisty, not the expanded one. Once the mouse leaves that row, everything is back to normal. I'm not really sure what's happening here; everything is fine in the thread pane.
It appears this also happens when hitting the right arrow to expand a row.
Comment 1•13 years ago
|
||
Confirmed on Tb5b2 with Win7 x64 (aero enabled).
Assignee | ||
Comment 2•13 years ago
|
||
This also seems to happen in XP (on a random Miramar nightly build from a month-ish ago), but not Linux (on trunk) so I'm guessing it has something to do with the implementation of tree twisties on Windows, since they're totally different from Linux.
Assignee | ||
Comment 3•13 years ago
|
||
Changing platform to "All" since this happens on Mac too. Some more fun facts:
* If a folder is bolded because a subfolder has unread messages and you expand it,
the boldness sticks around until you move your mouse (i.e. it changes at the
same time as the tree twisty)
* The twisties in the address book directory tree work, even after being de-RDFed.
* This also exists in 3.1 (though 5.0 may have done something evil to my profile
that's causing this)
OS: Windows 7 → All
Comment 4•13 years ago
|
||
(CCing Neil, in case it's a more generic XUL bug. I suspect it's not, but I don't think we've done anything particularly strange here recently.)
I *don't* see this on trunk TB 7.0a1 on Linux (x86_64) with KDE 4.4, thus a qute/aero issue? In this case, the platform field should go back to Windows.
Comment 6•13 years ago
|
||
Doesn't happen in the bookmarks window in Firefox, nor other trees in Thunderbird.
If this is using a custom nsITreeView, then likely your implementation of toggleOpenState is only invalidating the child rows and not the parent row as well. (the index passed into toggleOpenState)
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to comment #5)
> I *don't* see this on trunk TB 7.0a1 on Linux (x86_64) with KDE 4.4, thus a
> qute/aero issue? In this case, the platform field should go back to Windows.
No, because it's also an issue on Mac.
Assignee | ||
Comment 8•13 years ago
|
||
Here's a patch to fix this. I'm leery of trying to test this (unless someone's got a brilliant idea about how to), since I'm not sure how to test things involving invalidation of the currently-painted window. (And I feel like that would be a lot of testing for a one line change! :))
(In reply to comment #6)
> If this is using a custom nsITreeView, then likely your implementation of
> toggleOpenState is only invalidating the child rows and not the parent row
> as well. (the index passed into toggleOpenState)
Looks like that was the cause. Thanks for the pointer!
Assignee: nobody → squibblyflabbetydoo
Status: NEW → ASSIGNED
Attachment #541776 -
Flags: review?(dbienvenu)
> (comment #7) No, because it's also an issue on Mac.
Sorry, you said so in comment #3 (I need to read previous comments better...)
Comment 10•13 years ago
|
||
Comment on attachment 541776 [details] [diff] [review]
Invalid the current row when expanding
yeah, it's hard to test invalidations...
Attachment #541776 -
Flags: review?(dbienvenu) → review+
Assignee | ||
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 7.0
Assignee | ||
Updated•13 years ago
|
Attachment #541776 -
Flags: approval-comm-aurora?
Updated•13 years ago
|
Attachment #541776 -
Flags: approval-comm-aurora? → approval-comm-aurora+
Assignee | ||
Comment 12•13 years ago
|
||
Checked in on Aurora: http://hg.mozilla.org/releases/comm-aurora/rev/63e7cb634c4a
Assignee | ||
Updated•13 years ago
|
status-thunderbird6:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•