Libreoffice 4 with KDE weird looking?

Hi

I installed Libreoffice 4 via the libre office stable repo. All went well, however my Libreoffice looks weird in KDE.

Have a look at the screenshot:

libreoffice | Flickr - Photo Sharing!

http://farm8.staticflickr.com/7295/9408591121_bc412f993e_n.jpg](http://www.flickr.com/photos/79382089@N03/9408591121/)
libreoffice by georgelappies, on Flickr

Why would this be and most importantly how can one fix this?

This looks like the OpenBox WM to me. LibreOffice looks like that if I run it in razor-qt.

georgelappies wrote:
>
> Hi
>
> I installed Libreoffice 4 via the libre office stable repo. All went
> well, however my Libreoffice looks weird in KDE.
>
> Have a look at the screenshot:
>
> ‘libreoffice | Flickr - Photo Sharing!’ (http://flic.kr/p/fkpumi)
>
> Why would this be and most importantly how can one fix this?
>
>
check what version of icon theme is installed on your machine using
below command . Here ‘i’ on the left stands for installed.

$zypper se '*libreoffice-icon*'
Loading repository data...
Reading installed packages...

S | Name                              | Summary                     |
Type
--+-----------------------------------+-----------------------------+-----------
| libreoffice-icon-theme-crystal    | Crystal LibreOffice Icon -> |
package
| libreoffice-icon-theme-galaxy     | Galaxy LibreOffice Icon T-> |
package
| libreoffice-icon-theme-hicontrast | Hicontrast LibreOffice Ic-> |
package
| libreoffice-icon-theme-oxygen     | Oxygen LibreOffice Icon T-> |
package
i | libreoffice-icon-theme-tango      | Tango LibreOffice Icon Th-> |
package
| libreoffice-icon-themes           | Icon Themes for LibreOffice |
srcpackage
| libreoffice-icon-themes-prebuilt  | Prebuilt LibreOffice Icon-> |
package
$

you can replace one icon theme with another using below command. It
installs oxygen theme while simultaneously removing tango. Notice the
(-) before tango. When you restart libreoffice icon theme will change.


sudo zypper install libreoffice-icon-theme-oxygen
-libreoffice-icon-theme-tango

Tango icons(before change) :-
http://paste.opensuse.org/images/29554695.png
Oxygen icons (after chnage)
http://paste.opensuse.org/images/33848216.png

GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

vazhavandan, sincerely thanks for the detailed reply it is most appreciated. However the icons are not the issue at hand here.

it seems that for some reason Libreoffice fails to read and subsequently use my GTK settings as setup in KDE. No matter to what theme I change it (I have oxygen-gtk installed as can be seen by how Chrome is rendered) it stays looking ''ugly" as if it is not wanting to use the oxygen-gtk theme…

georgelappies wrote:
>
> vazhavandan, sincerely thanks for the detailed reply it is most
> appreciated. However the icons are not the issue at hand here.
>
> it seems that for some reason Libreoffice fails to read and
> subsequently use my GTK settings as setup in KDE. No matter to what
> theme I change it (I have oxygen-gtk installed as can be seen by how
> Chrome is rendered) it stays looking ''ugly" as if it is not wanting to
> use the oxygen-gtk theme…
>
>
To eliminate profile related uses , try creating a new user and check
whether Libreoffice looks good in new user/profile


GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop

Thanks, I will create a new user tonight when at home and test it to see if it makes a difference.

Hi

I tested this last night with new user accounts and no change. This is a system wide failure for Libreoffice 4.0.2 (the one in openSuSE stable repo) to read and use the GTK theme.

I don’t see any description of how you’ve been trying to set the theme in
LibreOffice.

I have the version 4.0.3.3.5-2.1 running on KDE 4.10 and I have just tested and
found that I have no problem resetting the icon theme (for LibreOffice only) by
going to (in a LibreOffice app) Tools>Options>View and making a selection in the
dropdown box labeled User interface>Icon size and style. The icon theme changes
as expected, and the changes persist when the program is closed and re-opened,
so, if this is not working for you, it’s not likely to be a “system wide failure
for Libreoffice 4.0” but rather a local issue in your installation.

Of course there’s always the very remote possibility that there’s a problem
unique to version 4.0.2, but that would be easy to check by updating to 4.0.3.

I don’t recommend 4.1 yet. At least two major bugs still to be resolved.

Thanks for the reply. My issue is not with the the icons but the actual theme of the interface it self. The fact that LO does not want to use the oxygen-gtk theme.

Here is some more info:

KDE Integration broken LibreOffice 4.x - Ask LibreOffice

Update:

I had to install the LO KDE package for openSuSE that comes with LO 4.0.3 in the repo. Then I had to set the scaling of the ui in LO to 80%

Now all is fine again :slight_smile:

http://farm4.staticflickr.com/3792/9435670634_3cb3e814d5_n.jpg](http://www.flickr.com/photos/79382089@N03/9435670634/)
lo by georgelappies, on Flickr

Ah yes… one clue was with the page you linked to where it was mentioned

I think the libvclplug_kde4lo.so file is needed for kde integration. Why isn’t it shipped ?

That is provided by libreoffice-kde4

# rpm -ql libreoffice-kde4
/usr/lib64/libreoffice/program
/usr/lib64/libreoffice/program/fps_kde4.uno.so
/usr/lib64/libreoffice/program/kde4be1.uno.so
/usr/lib64/libreoffice/program/libvclplug_kde4lo.so

Strange that you didn’t have it installed by default.

Is weird isn’t, maybe there was a packaging issue on 4.0.2 in the SuSE repo’s? Anyhow all is good now :slight_smile: