Closed
Bug 478147
Opened 17 years ago
Closed 17 years ago
Focus rect missing from checkboxes on Vista
Categories
(Core :: Widget: Win32, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bws42, Assigned: jimm)
References
Details
(Keywords: access, fixed1.9.1)
Attachments
(8 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2a1pre) Gecko/20090211 Minefield/3.2a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2a1pre) Gecko/20090211 Minefield/3.2a1pre
When giving focus to a checkbox on Vista there is no border change when using the Aero windows theme. Using the classic theme the focus border is only present on the bottom and right sides of the checkbox.
Reproducible: Always
Steps to Reproduce:
1. Give a checkbox focus
Actual Results:
Checkbox shows no indication that it has focus.
Expected Results:
Checkbox should show indication that it has focus.
| Reporter | ||
Comment 1•17 years ago
|
||
Updated•17 years ago
|
Version: unspecified → Trunk
| Reporter | ||
Comment 2•17 years ago
|
||
Also present on the 3.1 branch in Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090209 Shiretoko/3.1b3pre
Comment 3•17 years ago
|
||
Comment 4•17 years ago
|
||
Comment 5•17 years ago
|
||
I can confirm on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090213 Shiretoko/3.1b3pre ID:20090213033101
This URL is helpful to replicate http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_form_checkbox
Updated•17 years ago
|
Attachment #362231 -
Attachment description: focus border present on checkbox on vista aero → focus border missing on checkbox on vista aero
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox3.1?
Component: Theme → Disability Access
QA Contact: theme → disability.access
Updated•17 years ago
|
Component: Disability Access → Widget: Win32
Flags: blocking-firefox3.1?
Product: Firefox → Core
QA Contact: disability.access → win32
Whiteboard: a10y
| Reporter | ||
Comment 7•17 years ago
|
||
Must have been a while ago, looks like it's broken in 3.0.6 as well.
Re-requesting blocking 1.9.1 since the flag was cleared when the product/component were changed. This affects both keyboard navigation, and disability access when using caret browsing. I wonder if this also affects screen readers or not.
Flags: blocking1.9.1?
Comment 9•17 years ago
|
||
(In reply to comment #8)
> I wonder if this also affects
> screen readers or not.
Most likely not:
1. Screen readers like JAWS or Window-Eyes that use a mirror driver on Vista and onwards will turn off Aero the moment they start, and they get focus information from MSAA and not from visual indicators anyway.
2. NVDA, which does not affect the Aero state, will also use MSAA/IAccessible2 and no screen information to get focus and state information and thus isn't affected by this, either.
Jim, can you take a look at this? I think this may have regressed in some last-minute 1.9.0 work I did to make the Vista theme not suck.. I'll dig up those bugs.
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Priority: -- → P1
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → jmathies
| Assignee | ||
Comment 11•17 years ago
|
||
(In reply to comment #10)
> Jim, can you take a look at this? I think this may have regressed in some
> last-minute 1.9.0 work I did to make the Vista theme not suck.. I'll dig up
> those bugs.
Any idea how long ago it might have been?
| Reporter | ||
Comment 12•17 years ago
|
||
It looks like border actually is there. I stared at my screen for a while and finally noticed that it looked different. Took a screenshot and blew it up in Paint and you can actually see it.
I don't know when Vladimir's changes would have been made, but I've got Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2008010205 Minefield/3.0b3pre at the moment and it still looks the same.
| Assignee | ||
Comment 13•17 years ago
|
||
Ok, so it's basically there, we just need to make it a bit more obvious.
| Assignee | ||
Comment 14•17 years ago
|
||
Just out of curiosity, why are we drawing focus rects on Vista? The default vista visual style seems to have completly done away with them.
The theme library handles drawing the backgrounds of these controls. If they are active and/or focused, the theme library takes care of drawing whatever visual effect the current style requires based on the focus state. In the default style, focus rects do not appear to be drawn on any of the basic controls.
I've got a little bit of code rolled together that draws the older xp style focus rect on a checkbox if we decide to do this anyway. I'll post that next.
| Assignee | ||
Comment 15•17 years ago
|
||
Attachment #362964 -
Flags: review?(vladimir)
| Assignee | ||
Comment 16•17 years ago
|
||
Attachment #362964 -
Flags: review?(vladimir) → review+
Comment on attachment 362964 [details] [diff] [review]
vista checkbox focus patch v.1
This looks fine, though we're going to deviate from the vista look.. would rather we just did what vista should do and get rid of the focus rects (perhaps unless accessibility is turned on or something).
But let's get this in anyway, since if we do that there will be other things we'd need to fix.
| Assignee | ||
Comment 18•17 years ago
|
||
(In reply to comment #14)
> Just out of curiosity, why are we drawing focus rects on Vista? The default
> vista visual style seems to have completely done away with them.
>
> The theme library handles drawing the backgrounds of these controls. If they
> are active and/or focused, the theme library takes care of drawing whatever
> visual effect the current style requires based on the focus state. In the
> default style, focus rects do not appear to be drawn on any of the basic
> controls.
>
> I've got a little bit of code rolled together that draws the older xp style
> focus rect on a checkbox if we decide to do this anyway. I'll post that next.
Mike - any idea why we kept these around for vista? chatting with vlad he felt it had something to do with accessibility. Curious if we could turn these off by default except maybe under certain circumstances such as a11y being used or simply tying them to a pref. According to comment #9 some screen readers don't need these to work properly.
Comment 19•17 years ago
|
||
See bug 418521.
| Assignee | ||
Updated•17 years ago
|
Summary: No indication that checkbox has focus → Focus rect missing from checkboxes on Vista
| Assignee | ||
Comment 20•17 years ago
|
||
pushed to mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/a04e9fa6471e
| Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•17 years ago
|
Attachment #362964 -
Flags: approval1.9.1?
Comment 21•17 years ago
|
||
Comment on attachment 362964 [details] [diff] [review]
vista checkbox focus patch v.1
a191=beltzner
Attachment #362964 -
Flags: approval1.9.1? → approval1.9.1+
| Assignee | ||
Comment 22•17 years ago
|
||
landed on mozilla-1.9.1:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/efb7012a91e9
Updated•17 years ago
|
Keywords: fixed1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•