You are not logged in.

#1 2016-02-18 19:05:17

nbd
Member
Registered: 2014-08-04
Posts: 389

[SOLVED] Black tooltips in Office after upgrade

After upgrading today LibreOffice to 5.1.0.3 version, tooltip windows, which appear when hovering the mouse cursor over toolbar buttons, became completely black. I guess it's because Office changed their gtk theme/version or something.

In this thread exactly the same problem is described, but on KDE/Plasma (I'm on XFCE) and the solution offered there is specific to KDE.

Is there a way how to change the tooltips color on XFCE? Maybe its possible to define custom gtk settings and to use them in Office?

Last edited by nbd (2016-02-19 10:21:57)


bing different

Offline

#2 2016-02-19 08:12:07

Hwiparam
Member
From: Poland
Registered: 2011-09-26
Posts: 95

Re: [SOLVED] Black tooltips in Office after upgrade

What toolkit (GTK2/GTK3/KDE) are you using for LO anw what's the exact name of your theme?

env SAL_USE_VCLPLUGIN=gen soffice

If everything else fails, you can use the above for LO to get the default, Windows-95-like theme with no GTK/Qt integration. It will look ancient, but it should work.

Last edited by Hwiparam (2016-02-19 08:12:57)

Offline

#3 2016-02-19 10:21:03

nbd
Member
Registered: 2014-08-04
Posts: 389

Re: [SOLVED] Black tooltips in Office after upgrade

I managed to set the tooltip window style by placing the following class in the ~/.config/gtk-3.0/gtk.css:

.tooltip * {
    font-weight: bold;
    background-color: #ffffff;
    padding: 5px 5px 5px 5px;
    margin: 0px 0px 0px 0px;
    border-width: 1px;
    border-style: solid;
    border-color: @tooltip_bg_color;
    color: #454545;
    text-shadow: 5px 5px 3px #bbbbbb, 7px 7px 3px #ccccFF;
}

bing different

Offline

Board footer

Powered by FluxBB