Apache OpenOffice (AOO) Bugzilla – Issue 100434
selection window icons difficult to recognize with dark theme
Last modified: 2023-03-10 14:36:30 UTC
1. Use a dark gtk theme 2. Open Writer 3. Insert->Object->Formula 4. Notice 'Selection' window is unusable since it is black text on dark background Screenshot of issue: http://launchpadlibrarian.net/22495774/Capture.png Verified on official OOo 3.0.1
MRU->TL: when using e.g. "Dark room" theme on Ubuntu, the characters in the selection window of OO Math are difficult to recognize. Could you please have a look, if this is a general problem of the Selection toolbox or if the OpenSymbol font could be the reason?
The font can't be a reason since the entries displayed in that toolbox window are png images.
TL->STS: I've confirmed with HDU that this is a problem with the png images used in that toolbox. For example in the screen shot you can see that one icon is fine in and all the others are not. It seems that most of them need to be reworked. Please take over. Thanks! If you need a complete list of images used in that toolbox drop me a note and I will find where they are coming from.
STS -> TL: The default icons theme isn’t designed for dark background colors. If you like to have dark background UI, you could swich to the "High Contast" Iocn Theme. The "High Contrast" icons theme is designed for dark backgrounds only: http://wiki.services.openoffice.org/wiki/Icon_Themes#High_Contrast
hi malte, this looks like an accessibility issue. the Office UI should switch automatically to "high contrast" icon theme in this case.
mt->tl: Most VCL controls allow you to set the HC images in parallel to the normal images. Not sure what kind of control you are using: If you draw the images on your own, you need to take care yourself for drawing a HC version. Otherwise it seems you forgot to set the HC images. On question about how to set the images or where to find the HC versions, PL or CD should be able to help you. Please try to fix in OOo 3.2, because we want to address as many accessibility issues as possible there.
TL->MT: After the comment from Stella PL and I agreed that everything will probably be fine automatically once the issue 35482 in CWS changehc is fixed. That's why this issue is currently also added to that CWS.
please verify if this is fixed in CWS changehc; if not, please retarget to 3.3 and it will go into the followup CWS.
fixed ?
not fixed
pl->sts: from the looks of it, the Formula elements toolbox does not contain high contrast themed images. This either means there are none, or they are not taken. Can you please verify if there are HC icons or no ? If there are, then please forward this to cd who would have to look, why that toolbar does not take the HC icon set when all other toolbars do.
STS -> TL: please check the high contrast icons for math. all icon should have an high contrast version, too.
tl->sts: sure they have. For example in default_images/starmath/res/unh*.png. Al of those toolbar icons have hi-contrast images. But looking at those images with windows picture and fax viewer I wonder if some of them might be broken. For example un21221.png looks fine in normal mode but not in slide show mode. And with unh21201.png it is the opposite. All viewed with a 'regular' non hi-contrast windows setting. Any idea? Sidenote: BTW I just heard that Oliver Bohn programmtically changed all hi-contrast images to use less colors if they not already did.
.
MT->ES: Please check if this one is fixed with changehc / OOo320m59
I'd be suprised if it were. changehc02 replaced Color.IsDark() with GetStyleSettings().IsHighContrastMode(). If anything, it's now easier to meet dark icons with a dark background - that was the intent after all since users complained that they got HC icons on their dark themes.
@TL: still reproducible. Switching to the high contrast theme (under Tools - Options) still has no effect on this toolbar.
mt->pl: As discussed, please have a look at this.
Observation 1: "Dark Room" is not a dark theme, not by our Standards. Color.IsDark() returns "TRUE" for a luminance of 38 (of 255) or less. "Dark Rooms" dark color is 0x4c4039, which is dark, but has a higher luminance obviously. So it is technically correct, that HighContrast autodetection returns "no high contrast". -> that means that the normal icon set is used without user intervention is correct. As sts mentioned, these icons are not designed for a dark background. Which you can see everywhere, no only in math's picker. Observation 2: Switching the icon theme in "Tools->Options->View" indeed is not working immediately in math's formula elements picker, the new set is only used after it is closed an opened again. My conclusion is, that this is not an accessibility issue (removing keyword). And short of a redesign of the Galaxy icon set, the only bug left here is that the window in question does not react to changing the icon theme on the fly like all other toolbars do. Back to the owner of that math window.
General issue already reported *** This issue has been marked as a duplicate of issue 80636 ***