Closed
Bug 328812
Opened 19 years ago
Closed 17 years ago
Windows users are unable to select non-default themes when high-contrast mode is enabled
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: rflint, Assigned: alfredkayser)
References
Details
(Keywords: access)
Attachments
(1 file)
3.61 KB,
patch
|
aaronlev
:
review+
neil
:
superreview+
neil
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
Per a conversation with mconnor on irc.m.o, this is a combination/clone of bugs 328119 and 328247 in order to escape the noise and give this issue a clean slate.
Pertinent information and patch from Alfred Kayser on bug 328119 comments 16 and 17:
> Ok, found the cause of this issue. Check out:
> Bug 239914 When high contrast theme used, automatically ignore author's colors
> (https://bugzilla.mozilla.org/show_bug.cgi?id=239914#c16)
>
> Specifically comment #16, where it is described that when the 'OS
> Accessibility' flag is set, then
> the Mozilla applications (all of them!), always revert back to the 'classic'
> theme.
> The 'classic' theme is designed to use the system colours and styling, and the
> reasoning is that when the 'OS Accessibility' flag is set, that theme should be
> selected to apply the system colours and styling...
>
> However, as also discussed in that bug, this may be valid for the
> pages/document, but not to the theme selection, as a user may want to
> explicitly select another theme (with extra large icons for example).
>
> Furthermore, the way that this feature is hidden: reverting back to 'classic'
> without any message, not even when someone tries to select another theme, based
> on an hidden internal OS accessibility flag, is confusing for a lot of people.
> (as seen by the start of this issue: 'Themes don't apply after install').
>
> I propose to remove this hidden feature, as nowadays by default FF only as the
> 'classic' theme, so that people without themes, and the flag turned on, are
> still using 'classic'. But those people, like nuncus himself, want to
> EXPLICITELY select a specific theme (those that are designed for
> accessibility!), are now prevented to do so, as there is no way to override
> this behaviour!
>
> To remove this feature, just remove the 'CheckUseAccessibleSkin' completely
> from: http://lxr.mozilla.org/mozilla/source/xpfe/bootstrap/nsAppRunner.cpp
>
> Note, this feature may have been applicable when Mozilla by default had two
> themes installed, of which the 'modern' theme 'not very accessible' (very not
> ...), so reverting automatically to 'classic' was usefull. But nowadays only
> the 'classic' (or default theme is distributed). So, when another theme is
> installed the user explicitly wants to have that theme, but it prevented by
> this hidden feature. So, give control back to the users, and remove this
> 'feature'.
Reporter | ||
Comment 1•19 years ago
|
||
Patch from Alfred Kayser (alfredkayser@nl.ibm.com)
See bug 328119 comment 17
Attachment #213426 -
Flags: superreview?
Attachment #213426 -
Flags: review?
Reporter | ||
Updated•19 years ago
|
Attachment #213426 -
Flags: superreview?(bryner)
Attachment #213426 -
Flags: superreview?
Attachment #213426 -
Flags: review?(benjamin)
Attachment #213426 -
Flags: review?
Reporter | ||
Comment 2•19 years ago
|
||
*** Bug 328247 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 3•19 years ago
|
||
*** Bug 328119 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Attachment #213426 -
Flags: superreview?(bryner) → review?(aaronleventhal)
Assignee | ||
Comment 4•19 years ago
|
||
Thanks for the reviews!
Who can check this into the tree?
And shall be also do this for the 1.8 branch for FF2?
And for FF1.5.0.x??
Flags: blocking1.8.1?
Flags: blocking1.8.0.2?
Comment 5•19 years ago
|
||
Comment on attachment 213426 [details] [diff] [review]
Patch
Makes great sense. We needed it more in the days of the modern theme, although perhaps we should have still allowed users to adjust the theme. Thanks for the patch.
Attachment #213426 -
Flags: review?(aaronleventhal) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #213426 -
Flags: superreview?(benjamin)
Attachment #213426 -
Flags: review?(benjamin)
Attachment #213426 -
Flags: approval-branch-1.8.1?
Comment 6•19 years ago
|
||
Too late for a non-security fix in 1.8.0.2, especially one that hasn't landed and been tested anywhere.
Flags: blocking1.8.0.3?
Flags: blocking1.8.0.2?
Flags: blocking1.8.0.2-
Comment 7•19 years ago
|
||
This code doesn't affect Firefox at all; it's a seamonkey-only API. The equivalent toolkit codepath is:
http://lxr.mozilla.org/mozilla/source/chrome/src/nsChromeRegistry.cpp#571
called through
http://lxr.mozilla.org/mozilla/source/toolkit/xre/nsAppRunner.cpp#734
Flags: blocking1.8.0.3? → blocking1.8.0.3-
Comment 8•19 years ago
|
||
Comment on attachment 213426 [details] [diff] [review]
Patch
Seamonkey still uses two themes, one of which doesn't obey high-contrast native theming: I'm not sure they want this patch.
Attachment #213426 -
Flags: superreview?(neil)
Attachment #213426 -
Flags: superreview?(benjamin)
Attachment #213426 -
Flags: approval-branch-1.8.1?(neil)
Attachment #213426 -
Flags: approval-branch-1.8.1?
Updated•19 years ago
|
Flags: blocking1.8.1? → blocking1.8.1-
Comment 9•19 years ago
|
||
Comment on attachment 213426 [details] [diff] [review]
Patch
Not a problem as our default theme does obey high-contrast native theming.
Attachment #213426 -
Flags: superreview?(neil)
Attachment #213426 -
Flags: superreview+
Attachment #213426 -
Flags: approval-branch-1.8.1?(neil)
Attachment #213426 -
Flags: approval-branch-1.8.1+
Comment 10•19 years ago
|
||
Why isn't it checked into trunk?
Comment 11•17 years ago
|
||
Bug 380786 removed xpfe/bootstrap/nsAppRunner.cpp from trunk. Marking fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•