OOo doesn't work well with dark themes

Bug #387535 reported by Jonathan Reeve
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenOffice
Unknown
Low
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: openoffice.org-impress

Black text on a brown background looks pretty terrible. It's almost unusable.

Revision history for this message
In , Jonathan Challinger (mr-challinger) wrote :

In a dark system theme, Writer should display pages with a white background and
black text, regardless of the system theme's foreground/background colors.
Impress suffers from a similar issue.

http://jon.pmtech.com/~jschall/Screenshot-9.png
This example is from writer. This also occurs in Impress.

Revision history for this message
In , Thorsten-martens (thorsten-martens) wrote :

TM->requirements: Not a defect but might be a wish for an enhancement. Please
have a look, thanks !

Revision history for this message
In , Martinzecher (martinzecher) wrote :

In fact, the problem is worst with Impress, and may be partially solved
selecting "color" from view menu, as can be seen in the following screenshots:
http://img479.imageshack.us/my.php?image=screenshotkb8.png
http://img467.imageshack.us/my.php?image=screenshot3uu6.png

The system tray icon also gets ugly with dark themes.

Revision history for this message
In , madumlao (stuffinator) wrote :

the_it

tm, this is a defect, not a feature request. OpenOffice defines itself as a
WYSIWYG application. In the case of dark themes, WYS != WYG.

It is also impossible to use oodraw practically when you have dark themes
because all colored items are rendered as white on black. You won't be able to
see what you're coloring.

I am confirming this issue on OpenOffice 2.3.0 (Ubuntu gutsy) using the smoked
glass theme from gnome-look.org. To reproduce simply download and apply smoked
glass (or possibly any dark theme) and OpenOffice.org will now have white on
black for dark backgrounds.

One good fix is to set OpenOffice to have a WYSIWYG mode and possibly a theme
following mode, but it seems obvious to me that WYSIWYG mode should be default.

For now I'll have to use something else to do my vector drawing. :(

===
smoked glass theme:
http://gnome-look.org/content/show.php/Smoked+Glass+v0.9.5?content=27141

Revision history for this message
In , Jc-bl-dws (jc-bl-dws) wrote :

*** Issue 80636 has been confirmed by votes. ***

Revision history for this message
In , Jc-bl-dws (jc-bl-dws) wrote :

Hello, I registered just to get this more votes, I found that openoffice
automatically switches to some 'high contrast mode' or something and even
disabling it in Tools -> Options -> Accessibility didn't disable it for some
reason so OO.o completely looses its WYSIWYG editor function when I use dark GTK
theme.

Currently, I have 2 workarounds:

1) Copy custom color theme (every 'Automatic color' imitated as closely as
possible as user one through every picker, phew !) in UI.xcu created under
normal colored user account to my dark themed one, over this location:
~/.ooo-2.0/user/registry/data/org/openoffice/Office/UI.xcu. I can't seem to
attach the file, dang ! So you'll have to do it by hand too I guess (or email me).

2) Compile OO.o without gnome and GTK support. (didn't try)

Please, please anyone made disabling the high contrast mode work? I really don't
want to dig into these huge sources.

Revision history for this message
In , Jc-bl-dws (jc-bl-dws) wrote :

Created attachment 51616
UI.xcu with normal colors defined by hand (sorry, I found this after posting the comment)

Revision history for this message
In , Johan-b (johan-b) wrote :

I'm too hoping that this issue will be solved. Dark themes are getting more and
more common, because they're prettier to work with. I regret it very much that
openoffice doesn't work with my dark GTK theme.

IMHO this issue currently contains two problems:
In a dark theme OpenOffice switches to some 'high contrast mode' cz_jc
mentioned. The user should be able to disable this behavior with the option
'Automatically detect high contrast mode of operating system' but for some
reason this options doesn't work.
The page is colored black with white text. Of course this is bad in a WYSIWYG
editor as the_it mentioned. In the appearance options the page color could be
set white, but for me this leads to other problems, i can for example not see
the red ripples under a misspelled word.

Revision history for this message
In , Yorik-8 (yorik-8) wrote :

Hi, I registered to vote for this issue too... Actually those two issues.

The first one, the document background/foreground colors can be solved by
specifying a white background color (works for spreadsheet and writer only) and
choosing Color/greyscale > Color in the view menu (works for draw and
presentation only). There are a couple of annoying details, though, such as the
one slikkie says (no red lines under misspelled words)

The second one is the "hi-contrast" toolbar buttons theme being used
automatically, independently of the icon them you choose in options (if you
switch back to light gtk theme, your chosen icon theme works fine), and
independently of the accessibility options settings. For that one, I sisn't find
any workaround...

Revision history for this message
Jonathan Reeve (jon-reeve) wrote :
Chris Cheney (ccheney)
Changed in openoffice.org (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - Openoffice doesn't work well with dark themes
+ [upstream] OOo doesn't work well with dark themes
Revision history for this message
In , Oo-bugs (oo-bugs) wrote :

Makes oo nearly useless with a dark-on-light theme. This is not an enhancement
request, it's a defect.

Does OO try to mimic the theme's colors for the document presentation in other
frameworks? If a document has dark text on a light background, it should show up
as dark text on a light background, even if i'm on a weird gtk theme. The gtk
theme should not effect document presentation in any way.

Confirmed present on OO 3.1

Revision history for this message
Will Bickerstaff (willbickerstaff) wrote : Re: [upstream] OOo doesn't work well with dark themes

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: http://qa.openoffice.org/issues/show_bug.cgi?id=80636

Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
summary: - [upstream] OOo doesn't work well with dark themes
+ OOo doesn't work well with dark themes
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Azafar42 (azafar42) wrote :

Despite being an old bug/feature request/what have you, this is still an issue.
I used to have no problem, because OOo wouldn't use my GTK+ theme by default.
I'd have to use something like the OOO_FORCE_DESKTOP env variable if I wanted my
GTK theme used. With 3.2.0, this is no longer the case. There are problem some
hacks I could do to make OOo and only OOo not use my GTK+ theme, but it would be
better for the real problem to be solved.

Revision history for this message
In , Jc-bl-dws (jc-bl-dws) wrote :

As a workaround, you can export GTK2_RC_FILES to point to a 'sane' gtkrc (like
clearlooks) and then launch oo.

Revision history for this message
In , Azafar42 (azafar42) wrote :

Indeed, I will be using that, cz_jc. It would still be nicer if my GTK+ theme
could be used everywhere /except/ the actual document. Unfortunately the
workaround from a couple years ago (the one with the UI.xcu) no longer works.

Thanks for replying.

Revision history for this message
In , Mikael Nilsson (mini) wrote :

Wow, for me this issue is now essentially FIXED with 3.2. (see bug #35482 !)

What I did:
1. Install dark theme in gnome. OO.o initiates hi-contrast mode and becomes
lightgrey-on-dark.
2. Uncheck "Automatically detect high contrast mode" and "Use automatic font
color" - OO.o reverts to normal icons, but still uses GTK document colors
(lightgrey-on-dark)
3. Set Document background to "white" and "font color" to black.

I now have a dark-themed OO.o but a white page! Perfect!

Now: I still argue that

1. Auto-detect and auto font color should be off by default.
2. step 3 above should be unnecessary - default should be WYSIWYG.

if the two points above were fixed, noone would even notice a problem.

Revision history for this message
In , Goofythekiller (goofythekiller) wrote :

I also have this problem. I am using sidux with KDE version 4.3.4 and a dark
theme. The pages show all dark and the icons are in high contrast. Looks horrible.

Revision history for this message
In , Jc-bl-dws (jc-bl-dws) wrote :

I agree with azafar, it would be nice. But it looks like this bug doesn't have
enough awareness. At any rate, to make your OO work more comfortable, you can
edit each /usr/share/applications/writer.desktop , impress.desktop, etc and put
in something like I have for eclipse (but for the actual oo application)
Exec=bash -c "GTK2_RC_FILES=\"/usr/share/themes/Clearlooks/gtk-2.0/gtkrc\"
eclipse-3.5"

As for launching documents, in gnome you can go into right click -> preferences
-> open with -> add -> use custom command and put something like:
bash -c "GTK2_RC_FILES=\"/usr/share/themes/Clearlooks/gtk-2.0/gtkrc\"
eclipse-3.5 %s"

That would make switching to normal theme 'seamless'. but I too would appreciate
if OO didn't stupidly switch to some idiotic hi contrast mode.

Revision history for this message
In , booksnmore4you (booksnmore4you) wrote :

This bug has been such a longstanding MAJOR headache for us Linux distro
developers, it's just awful. If your distro uses GNOME and features OpenOffice
you are *forced* to use a boring light theme. Worse, the problem has gotten
worse since OOo 3. Dark themes I spent weeks hacking and that worked in OOo 2
are now broken in OOo 3. All published workarounds from the past, except the
very problematic opening of OOo in another theme, appear broken. We really need
a real fix here, please!

Revision history for this message
In , Mikael Nilsson (mini) wrote :

booksnmore4you: have you tried my suggestion above?

2. Uncheck "Automatically detect high contrast mode" and "Use automatic font
color" - OO.o reverts to normal icons, but still uses GTK document colors
(lightgrey-on-dark)
3. Set Document background to "white" and "font color" to black.

For me, OO 3.2 is fully usable in dark theme with these tweaks. I still believe
the defaults are all wrong, but it's now possible to fix this via settings in
OO, which is an improvement.

Revision history for this message
In , booksnmore4you (booksnmore4you) wrote :

mini:

That does not work for me.

The following little trick, however, while not fixing the issue, makes OOo usable.

At the bottom of your ".profile" file located in your home directory
(/home/username), place this:

export SAL_USE_VCLPLUGIN=gen

Then logout and log back in.

Revision history for this message
In , Bgs-8 (bgs-8) wrote :

Same issue with 3.2.0 and KDE 4.4.3 and dark theme. Used to work with 3.1.0
though. Now openoffice is nearly unusable.

Revision history for this message
penalvch (penalvch) wrote :

Jonathan Reeve, which theme(s) produce this problem? Does this occur for you in LibreOffice?

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonathan Reeve (jon-reeve) wrote :

That was with the Hansoo from Ubuntu Karmic, I believe. From what I can tell this problem has been fixed in LibreOffice.

Revision history for this message
penalvch (penalvch) wrote :

Jonathan Reeve, the bug task for LibreOffice is being closed due to your last comment regarding this being fixed in it. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in libreoffice (Ubuntu):
status: Incomplete → Invalid
Changed in openoffice.org (Ubuntu):
importance: Medium → Low
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 , David Rankin (drankinatty) wrote :

Created attachment 77024
Screenshot - Font Preview Unreadable with Dark Theme

Screenshot with 'BlueNight-II' gtk theme

Revision history for this message
In , David Rankin (drankinatty) wrote :

This is a prime candidate for being fixed in the first AOO release. With the advent of recent desktops, there have been an overwhelming number of dark themes created and some are the default in distributions. The current rendering of 'Black' text as a preview font is unreadable. This is not affected by the:

Accessibility > Automatically detect high contrast theme setting.

(although you must disable this feature if using a dark theme to change the icon theme [OO defaults to high-contrast with dark themes making the theme impossible to change])

This is one of the first things a user of a dark theme sees when they look at the font preview. If you use a dark theme -- it is unreadable. (see attachment Screenshot)

Revision history for this message
In , Ryusei-p (ryusei-p) wrote :

Confirmed this bug is still present in OOO330m20 build 9567 running xp64pro.
Changes to background colour of cells in calc has no visible effect while under a light-on-dark desktop theme.

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

*** Issue 112003 has been marked as a duplicate of this issue. ***

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

Possible patch with #118538

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

*** Issue 118748 has been marked as a duplicate of this issue. ***

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

*** Issue 108130 has been marked as a duplicate of this issue. ***

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

*** Issue 100434 has been marked as a duplicate of this issue. ***

Changed in openoffice:
importance: Unknown → Low
status: Confirmed → Unknown
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.