Closed Bug 328340 Opened 19 years ago Closed 18 years ago

[FIX]No focus outline shown with select drop down controls

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: bzbarsky)

References

Details

(Keywords: access, regression, Whiteboard: [blocking1.9a1+])

Attachments

(1 file)

To see the bug, just click on one of the select drop down controls in bugzilla. When the control has the focus, you should see a focus outline, which doesn't happen in current Cairo trunk builds.
Related to bug 326550?
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060407 Firefox/3.0a1 See this on Linux too.
OS: Windows XP → All
Flags: blocking1.9a1?
Keywords: access
Regression range: 20060222 - 20060226 I can't test builds inside that range. Maybe someone else can tighter the range.
Keywords: regression
Flags: blocking1.9a1? → blocking1.9?
Flags: blocking1.9? → blocking1.9+
Whiteboard: [blocking1.9a1?] → [blocking1.9a1+]
We looked at this in the triage meeting (me, stuart, vlad, bz), and in a few seconds of talking about it determined that nsComboboxControlFrame::PaintFocus calls aRenderingContext.SetColor(0); which presumably used to ignore alpha, but no longer does. It should probably use NS_RGB(0,0,0).
Attachment #244513 - Flags: superreview?(roc)
Attachment #244513 - Flags: review?(roc)
Assignee: nobody → bzbarsky
Priority: -- → P3
Hardware: PC → All
Summary: No focus outline shown with select drop down controls → [FIX]No focus outline shown with select drop down controls
Comment on attachment 244513 [details] [diff] [review] Yeah, this fixes it I was about to attach the same patch.
Attachment #244513 - Flags: superreview?(roc)
Attachment #244513 - Flags: superreview+
Attachment #244513 - Flags: review?(roc)
Attachment #244513 - Flags: review+
Fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
I think that we should not use NS_RGB(0, 0, 0). Because on cairo build, we cannot use invert drawing. Therefore, we are using foreground color for the focus rect in other contents. I think that we should use foreground color in this case too.
That's fine; this was just restoring the existing behavior. Please file a separate bug if you feel the behavior should change in general.
We should probably add support for invert drawing at some point, though.
I filed bug 359496 for the comment 8. (In reply to comment #10) > We should probably add support for invert drawing at some point, though. Yeah, I filed bug 359497 too. But I have no idea to fix the bug...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: