Closed
Bug 123024
Opened 24 years ago
Closed 24 years ago
Special-case zero when about to call GetMinimumWidgetsize
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
INVALID
People
(Reporter: mikepinkerton, Assigned: hyatt)
Details
There are cases where gecko wants to draw a widget with no dimensions (such as
the tree headers in the autocomplete widget). however, it asks the theme impl
what the minimum height is and it comes back with soemthing like 15, resulting
in the headers being shown inappropriately.
The code that calls GetMinimumWidgetSize needs to special-case zero and probably
not ask the theme impl if that is what is desired.
| Reporter | ||
Updated•24 years ago
|
Keywords: nsbeta1
Summary: Don't call GetMinimumWidgetSize when zero is what's desired → Special-case zero when about to call GetMinimumWidgetsize
| Assignee | ||
Comment 1•24 years ago
|
||
Well, I think it would be more accurate to say that the autocomplete widget
is buggy. It should be collapsing its headers rather than explicitly putting
the height of the headers to 0.
| Assignee | ||
Comment 2•24 years ago
|
||
A collapsed element will not show, regardless of what the theme says, so
I think that's the way to fix this.
| Reporter | ||
Comment 3•24 years ago
|
||
humm, ok, so should the bug be on the autocomplete widget and this should be
closed out as invalid?
| Assignee | ||
Comment 4•24 years ago
|
||
I think so, yeah.
| Reporter | ||
Comment 5•24 years ago
|
||
per discussion
Comment 6•24 years ago
|
||
Er, I'm assuming 'per discussion' expands to 'filed bug 123028 on autocomplete,
and marking this bug invalid'. :-]
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•