Closed
Bug 114989
Opened 23 years ago
Closed 22 years ago
Expand / collapse thread ("+" and "-") icons are drawn incorrectly
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: angus, Assigned: janv)
Details
(Keywords: polish, Whiteboard: [adt3])
Attachments
(4 files, 1 obsolete file)
As can be most clearly seen by the attachments I am about to make to this bug,
the expand/collapse thread icons are incorrect. I will immediately post a
follow-up comment to this bug the relevant attachments. Apologies if this is a
dup; I spent 10 minutes looking through the 1400+ open MailNews FE bugs and
couldn't find this one, although it should be obvious to anyone using MailNews.
Reporter | ||
Comment 1•23 years ago
|
||
This image attachment shows the problem.
Reporter | ||
Comment 2•23 years ago
|
||
This image attachment shows the *expected* UI appearance for collapse/expand
icons.
*** This bug has been marked as a duplicate of 94813 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 5•23 years ago
|
||
Not quite dupe of 94813.
There is missing correct padding for twisty in classic theme.
padding is incorrect in the screenshot in bug 94813 too..it seems the right
place to deal with it. Please add comment there.
it's a dup, by the screenshot and seth's description
Status: RESOLVED → VERIFIED
and the +/- twisties are still not centered. I see this under classic theme on
Linux as well. eopening. OS: All.
Status: VERIFIED → UNCONFIRMED
OS: Windows 2000 → All
Resolution: DUPLICATE → ---
Comment 10•23 years ago
|
||
reassigning to varga@utcru.sk. Taking a guess that this is probably an outliner
bug.
Assignee: sspitzer → varga
Assignee | ||
Comment 11•23 years ago
|
||
I thought it was correct now, one pixel should do it
Assignee | ||
Comment 12•23 years ago
|
||
reminder:
don't line up with parent image, use only "indentation / 2"
or
line up twisty with parent image too
Status: NEW → ASSIGNED
Component: Mail Window Front End → XP Toolkit/Widgets: Trees
Keywords: polish
Product: MailNews → Browser
Target Milestone: --- → mozilla1.0
Assignee | ||
Updated•23 years ago
|
Priority: -- → P3
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 13•23 years ago
|
||
i wonder if this just got fixed in bug 131097
Assignee | ||
Comment 15•23 years ago
|
||
The patch that was checked in for bug 131097 looks good.
Anyway it can be enhanced a bit more.
1.
treechildren:-moz-tree-twisty {
padding-top: 1px;
}
this is just a workaround for a bug in the tree implemenatation of PaintTwisty()
We should not define this padding-top, since twisties are automatically centered
vertically (I found what's the bug, fixed in my tree).
2.
Greg, you have increased the indentation for win/linux classic
It would be more consistent to increase it for mac classic and modern too
Comment 16•23 years ago
|
||
1. Feel free to remove it as part of a patch that would make it unnecessary.
Just make sure the + and - always line up with the dotted lines, as they do in
native Windows apps.
2. I don't have or have access to a Mac, and wouldn't want to change settings
blindly for other platforms. Looking through lxr I see that it doesn't even use
the same style of twisty. If it has the same problem and can be fixed with the
same solution, make a similar patch.
Increasing the indentation on Modern isn't necessary. Modern uses a different
style and size twisty, and has an appropriate amount of space between it and the
icon. The only reason it was increased in Classic was because they were too
close under the new positioning.
Comment 18•23 years ago
|
||
Nav triage team: nsbeta1+/adt3
Assignee | ||
Comment 19•22 years ago
|
||
- correct centering of twisty and image
- don't line up vertical thread lines with parent images, just use
|mIndentation / 2|, this should be a little bit faster too
Comment 20•22 years ago
|
||
Comment on attachment 93305 [details] [diff] [review]
fix
sr=bzbarsky
Attachment #93305 -
Flags: superreview+
Comment 21•22 years ago
|
||
Comment on attachment 93305 [details] [diff] [review]
fix
Can you elaborate a bit on the change where you add half a pixel to the x/y
position? It looks like the original intent was to align it on an even pixel;
with this change I'm not sure that will happen (where do fractional pixels go?)
Assignee | ||
Comment 22•22 years ago
|
||
bryner, I removed substracting of 1 pixel completely as we discuss
Attachment #93305 -
Attachment is obsolete: true
Comment 23•22 years ago
|
||
Comment on attachment 95426 [details] [diff] [review]
new patch
r/sr=bryner
Attachment #95426 -
Flags: review+
Assignee | ||
Comment 24•22 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → FIXED
Comment 25•22 years ago
|
||
OK using nov22 commercial trunk: win98, linux rh8
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: olgam → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•