Closed
Bug 5589
Opened 27 years ago
Closed 27 years ago
[PP] linux only: size attribute causes bad selection area
Categories
(Core :: XUL, defect, P5)
Tracking
()
VERIFIED
FIXED
People
(Reporter: cpratt, Assigned: pavlov)
References
()
Details
(Whiteboard: native widget bug. will go away with gfx ones)
build id: 19999042708
reproduces on: linux.
works fine on mac os windows (1999042608 build).
to reproduce: use this snippet.
<form>
<select multiple size=4>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</form>
if this is viewed in linux, what you get is list of only the first three items,
NOT all four.
if you remove the SIZE attribute, it works as expected (all four are drawn).
Updated•27 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M6
Problem appears to be in nsListControlFrame somewhere. Assigning to me.
Reassigning to kmcclusk. Actually, it *does not* work fine on Windows. The bug
is only seen when gfx rendering is used, and duplicates exactly on Windows and
Gtk+. If you use Gtk+ native rendering, bug goes away (but, there is a problem I
think in computation of font heights on Gtk+ which causes the window to be
smaller on Gtk+ native than windows native, and as a result Gtk+ gets a vertical
scrollbar that it shouldn't get.
Kevin, let me know if I can help in anyway.
Reassigning to kmcclusk. Actually, it *does not* work fine on Windows. The bug
is only seen when gfx rendering is used, and duplicates exactly on Windows and
Gtk+. If you use Gtk+ native rendering, bug goes away (but, there is a problem I
think in computation of font heights on Gtk+ which causes the window to be
smaller on Gtk+ native than windows native, and as a result Gtk+ gets a vertical
scrollbar that it shouldn't get.
Kevin, let me know if I can help in anyway.
Updated•27 years ago
|
Status: NEW → ASSIGNED
Updated•27 years ago
|
QA Contact: 4078 → 1698
Comment 5•27 years ago
|
||
Selection/clipboard bug; QA Assigning to self.
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
Comment 6•27 years ago
|
||
Fixed in 5-10-99 build. I modified how the height of the listbox is calculated.
It now uses the ScrolledFrame's Reflow to calculate the height rather than
trying to calculate the height using the font information and number of items in
the list.
I don't see this as fixed using the 1999051008 build under RH Linux 5.2 - I get
kind of a "3.5" instead of 4 effect, complete with scrollbar. elig?
Updated•27 years ago
|
Status: RESOLVED → REOPENED
QA Contact: 1698 → 4078
Comment 8•27 years ago
|
||
Yup. Am seeing the same thing that Chris Pratt describes, using the 5.11.99 AM
Linux build. Re-opening.
(Also reassigned back to phillip; erroneously QA assigned this one to myself.]
Updated•27 years ago
|
Assignee: kmcclusk → ramiro
Status: REOPENED → NEW
Comment 9•27 years ago
|
||
It is fixed for the GFX Frame-based list widget on both Linux and Win32. It is
incorrect for the native widget on Linux.
Ramiro, I am re-assiging to you, the remaining issue is related to native
listbox widgets under Linux.
Comment 10•27 years ago
|
||
m7
Updated•27 years ago
|
Assignee: ramiro → pavlov
Target Milestone: M7 → M10
Comment 11•27 years ago
|
||
pav, im reassigning some widget bugs to you.
Comment 12•27 years ago
|
||
in what layout file is the size allocation for native listboxes done?
| Assignee | ||
Updated•27 years ago
|
Priority: P3 → P5
Whiteboard: native widget bug. will go away with gfx ones
Target Milestone: M10 → M20
| Assignee | ||
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago → 27 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 13•27 years ago
|
||
we no longer use native widgets
Comment 14•27 years ago
|
||
apres moi, la deluge. (merci)
| Reporter | ||
Comment 15•27 years ago
|
||
original problem is fixed (thanks to gfx). however, there's now a new problem!
marking this one as verified using the 1999091508 build, rh linux 6,
enlightenment, GNOME, etc.
You need to log in
before you can comment on or make changes to this bug.
Description
•