Closed
Bug 235507
Opened 21 years ago
Closed 21 years ago
thread pane column headers jiggle when changing sort order
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird0.6
People
(Reporter: mscott, Assigned: mscott)
Details
Attachments
(3 files, 2 obsolete files)
2.29 KB,
patch
|
Details | Diff | Splinter Review | |
471 bytes,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
janv
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Try changing the sort order on some of the thread pane columns, note the
horizontal jiggling on some of the columns. It's almost like there isn't enough
padding for the "pushed" state of the thread pane column headers.
cc'ing stefan in case he'd like to work on this.
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.6
Comment 1•21 years ago
|
||
This only happens with the new native style of Windows XP. Seamonkey has the
same bug when using the Classic theme. It occurs also in other dialogs like the
Cookie Manager.
Assignee | ||
Comment 2•21 years ago
|
||
yeah this does seem like a bug in all tree columns when using the classic theme.
I wonder if we just have some padding or a margin style for a tree column header
that just doesn't leave enough room for the "pressed" state....
Assignee | ||
Comment 3•21 years ago
|
||
or...in the worst case, it's not a style bug but a bug in our native theme
renderer (*yuck*). Here's hoping it's a style bug.
Assignee | ||
Comment 4•21 years ago
|
||
When going to the active state, the padding was changing for a column header
and a column header image.
This potential fix alleviates the "push" effect you see against the surrounding
tree cols, by making sure the padding does not change between the regular and
active states. I can't see a difference look wise in the UI from this fix. But
I do see the jumping effect go away.
Stefan, what do you think of this approach?
Seamonkey patch for classic coming up.
Assignee | ||
Comment 5•21 years ago
|
||
I should point out that there is still some jumping going around when you change
the sort column from one col to another. The column width extends to make room
for the sort indicator, pushing against the other columns. I think that should
be tracked in a different bug in case someone wants to go after that issue too.
This bug fixes the jumping that you see just when toggling the sort order on a
column back and forth.
Assignee | ||
Comment 6•21 years ago
|
||
Assignee | ||
Comment 7•21 years ago
|
||
cc'ing Jan too. He may have an opinion on this padding patch. Jan there are two
issues going on:
1) When a treecol goes into the active state, the padding was changing. This was
causing horizontal jiggling between the column headers as the selected column
header had its width change.
The above patch fixes this issue by ensuring the padding is consistent between
the active and regular states. I can now click the same column over and over
again and not see any jiggling in the UI.
2) There is still some residual jiggling when clicking between different
sortable columns. Removing / showing the sort indicator in a tree column causes
the width of the tree column to change. I wonder if there's an easy way for us
to make sure the width doesn't change regardless of the presence of a sort
indicator. That would fix the 2nd issue.
Comment 8•21 years ago
|
||
(In reply to comment #4)
> Stefan, what do you think of this approach?
Sorry, I currently don't have a working Windows XP installation due to a HD
crash, so I can't test this patch. :-( Looks reasonable though.
Assignee | ||
Updated•21 years ago
|
Attachment #144276 -
Flags: review?(Stefan.Borggraefe)
Updated•21 years ago
|
Attachment #144276 -
Flags: review?(Stefan.Borggraefe) → review+
Assignee | ||
Comment 9•21 years ago
|
||
This patch addresses the 2nd issue talked about in this bug report. We assign a
width to the image used as the sort indicator. Now when the indicator is not
showing, our overall width for the column header does not change so we don't
change the widths of the columns.
The triangle indicator on windows is 8 x 7 pixels.
We use this same technique for tree twisties and the style width is one more
than the width of the twisty. I followed that same rule here by making the
width of the indicator one pixel wider than the width of the sort indicator.
Comment 10•21 years ago
|
||
sounds good to me, but could you attach a diff?
Assignee | ||
Comment 11•21 years ago
|
||
Jan, there are patches attached to this bug, any issue in particular you were
looking for that you didn't see a patch?
Comment 12•21 years ago
|
||
the last attachment seems like entire file
Assignee | ||
Comment 13•21 years ago
|
||
whoops...attached the wrong file....
Attachment #144594 -
Attachment is obsolete: true
Assignee | ||
Comment 14•21 years ago
|
||
Attachment #144276 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #144612 -
Flags: review+
Updated•21 years ago
|
Attachment #144616 -
Flags: review+
Assignee | ||
Updated•21 years ago
|
Attachment #144616 -
Flags: superreview?(bienvenu)
Assignee | ||
Comment 15•21 years ago
|
||
since i filed this bug under thunderbird there is no 1.7 flag to ask for 1.7
approval. I'll send email.
Comment 16•21 years ago
|
||
a=asa (on behalf of drivers) for checkin to Mozilla 1.7
Comment 17•21 years ago
|
||
Comment on attachment 144616 [details] [diff] [review]
updated patch for seamonkey which fixes both of the issues causing the jiggle
nice!
Attachment #144616 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 18•21 years ago
|
||
fixed for seamonkey and thunderbird
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•