[upstream] Equation editor not usable with a dark Gtk theme

Bug #327996 reported by Lionel Dricot
0
Affects Status Importance Assigned to Milestone
OpenOffice
Invalid
Low
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

1. Use a dark theme
2. try to insert an equation in OpenOffice writer (see screenshot below)

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :
Chris Cheney (ccheney)
Changed in openoffice.org:
importance: Undecided → Low
status: New → Triaged
Chris Cheney (ccheney)
Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Ccheney-b (ccheney-b) wrote :

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

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

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?

Revision history for this message
In , Thomas-lange-o (thomas-lange-o) wrote :

The font can't be a reason since the entries displayed in that toolbox window
are png images.

Changed in openoffice:
status: Confirmed → In Progress
Revision history for this message
In , Thomas-lange-o (thomas-lange-o) wrote :

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.

Revision history for this message
In , Stella-schulze (stella-schulze) wrote :

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

Changed in openoffice:
status: In Progress → Confirmed
Revision history for this message
In , Stella-schulze (stella-schulze) wrote :

hi malte,

this looks like an accessibility issue.

the Office UI should switch automatically to "high contrast" icon theme in this case.

Revision history for this message
In , Malte-timmermann (malte-timmermann) wrote :

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.

Revision history for this message
In , Thomas-lange-o (thomas-lange-o) wrote :

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.

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

please verify if this is fixed in CWS changehc; if not, please retarget to 3.3
and it will go into the followup CWS.

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

fixed ?

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

not fixed

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

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.

Revision history for this message
In , Stella-schulze (stella-schulze) wrote :

STS -> TL: please check the high contrast icons for math. all icon should have an high contrast version,
too.

Revision history for this message
In , Thomas-lange-o (thomas-lange-o) wrote :

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.

Revision history for this message
In , Thomas-lange-o (thomas-lange-o) wrote :

.

Revision history for this message
In , Malte-timmermann (malte-timmermann) wrote :

MT->ES: Please check if this one is fixed with changehc / OOo320m59

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

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.

Revision history for this message
In , Eric-savary (eric-savary) wrote :

@TL: still reproducible.

Switching to the high contrast theme (under Tools - Options) still has no effect
on this toolbar.

Revision history for this message
In , Malte-timmermann (malte-timmermann) wrote :

mt->pl: As discussed, please have a look at this.

Revision history for this message
In , Philipp-lohmann (philipp-lohmann) wrote :

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.

Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

Revision history for this message
In , OOoForum (oooforum) wrote :

General issue already reported

*** This issue has been marked as a duplicate of issue 80636 ***

Changed in openoffice:
importance: Unknown → Low
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.