Closed Bug 362424 Opened 18 years ago Closed 18 years ago

Sometimes the text in the combobox is left aligned when it should be right aligned

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 331052

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [reflow-refactor])

Attachments

(2 files)

On the site there is a combobox, sometimes the text in it is left aligned, when it should be right aligned.
I'll attach a testcase that shows the bug.
This is a regression on trunk.
This regressed between 2006-06-15 and 2006-05-16 (although it wasn't entirely correct before that either):
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2006-06-15+06&maxdate=2006-06-16+07&cvsroot=%2Fcvsroot
Not really sure which patch could have caused this.

But the bug doesn't happen on reflow branch, so maybe it doesn't matter that much at all. However the reflow branch has a bug of its own. I'll attach a picture of what kind of combobox I see with the reflow branch build.
Attached file testcase
This is what I see in the reflow branch, the drop down button is slightly on the wrong place for me.
Actually, I get the bug in a 2006-06-15-01 build, but not a 2006-06-14-01 one.  Probably regressed from bug 328168.

The reflow branch issue is probably due to the use of GetScrollBarDimensions and the use of double-width scrollbars here....  I'd love to step through the code with you sometime to figure out what's going on, but that should probably be a separate bug.
Whiteboard: [reflow-refactor]

*** This bug has been marked as a duplicate of 331052 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Please make sure a bug is filed about the reflow branch issue, ok?
(In reply to comment #5)
> Please make sure a bug is filed about the reflow branch issue, ok?

I filed bug 362485 for it.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: