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)

x86
Linux
defect

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).
Assignee: trudelle → ramiro
Status: NEW → ASSIGNED
Target Milestone: M6
list widget problems. marking m6 assigned.
Assignee: ramiro → syd
Status: ASSIGNED → NEW
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.
Status: NEW → ASSIGNED
QA Contact: 4078 → 1698
Selection/clipboard bug; QA Assigning to self.
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
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?
Status: RESOLVED → REOPENED
QA Contact: 1698 → 4078
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.]
Assignee: kmcclusk → ramiro
Status: REOPENED → NEW
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.
m7
Resolution: FIXED → ---
Assignee: ramiro → pavlov
Target Milestone: M7 → M10
pav, im reassigning some widget bugs to you.
Status: NEW → ASSIGNED
in what layout file is the size allocation for native listboxes done?
Priority: P3 → P5
Whiteboard: native widget bug. will go away with gfx ones
Target Milestone: M10 → M20
Blocks: 12669
Status: ASSIGNED → RESOLVED
Closed: 27 years ago → 27 years ago
Resolution: --- → FIXED
we no longer use native widgets
apres moi, la deluge. (merci)
Status: RESOLVED → VERIFIED
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.