Closed Bug 45092 Opened 25 years ago Closed 21 years ago

[CBX]SELECT control breaks when semi-transparent

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: taras.tielkes, Assigned: rods)

References

Details

(Keywords: css-moz, testcase)

Attachments

(3 files)

When a SELECT control has inherited opacity, the "pull-down" arrow is drawn apart from the controls box, and not inside at the right side. Button clicks from the original area (where the down-arrow should be) *are* sent to the control.
Keywords: testcase
Keywords: css3
Seeing the same behaviour on Linux, changing plaf/OS to All/All
OS: Windows NT → All
Hardware: PC → All
I see it too - over to the HTML control wizard to check it out... problem with the view being setup incorrectly?
Assignee: pierre → rods
Component: Style System → HTML Form Controls
futuring
Target Milestone: --- → Future
This works for me on Win98SE Build 2000-09-06-08
Sorry, forgot that the CSS syntax has changed to -moz-opacity. This dosn't work for me...
Thanks for the updated testcase, Jonas. This also still fails for me on WinNT.
Robert - this is another opacity related bug, does your view manager solve it? I would guess no; seems like a problem in the control code, but we never know...
Keywords: css3css-moz
I have a feeling I might have fixed this... However, my build is broken (XSL stuff) so I can't tell you yet :-).
My view manager didn't fix it. But now I see this bug on ALL SELECT elements, not just the transparent ones! Not sure if this is something I did, or something that recently hit the tree. Anyway, this should be easier to track down now :-).
Found it. This is Yet Another Bug caused by people assuming that certain kinds of frames will never have views attached. The fix should be easy.
Fixed. Rod, can you get this in? You can assign the bug to me if you prefer.
Keywords: patch
See bug 34887 for a discussion of why you should NEVER assume that a frame does not have a view; wherever you call nsIFrame::SetRect, you have to check for a view and position it if necessary.
Wait wait wait. This breaks XUL. Hmm.
I take it back. XUL popups are broken in my tree for some other reason; this particular code is not even used by XUL. So the fix looks OK to me.
Updating QA contact.
QA Contact: ckritzer → bsharma
Status: NEW → ASSIGNED
Summary: SELECT control breaks when semi-transparent → [CBX]SELECT control breaks when semi-transparent
QA Contact Update
QA Contact: bsharma → vladimire
Another problem that occurs when viewing the testcase on this bug: bug 92748 semi-transparent <select> drop-down thinks background is black.
Your guess is as good as mine ... my guess is "sure, why not?" Try it :-).
Priority: P3 → --
Was the fix for this ever checked in? The updated testcase appears to work correctly using 1.0rc1/Win32. Still seeing the problem with (http://bugzilla.mozilla.org/show_bug.cgi?id=92748) though... So can this one be closed?
Depends on: 92745, 92748
This was fixed by the support for group opacity, bug 212366
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: