Bug 100981 - Separators in toolbars are drawn at incorrect positions
Summary: Separators in toolbars are drawn at incorrect positions
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.2.0.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-18 11:43 UTC by Bogdan
Modified: 2016-11-24 11:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Libreoffice Writer window (64.12 KB, image/png)
2016-07-18 11:43 UTC, Bogdan
Details
LibreOffice Calc Window (54.29 KB, image/png)
2016-07-26 20:36 UTC, Bogdan
Details
LibreOffice Calc Window (SAL_USE_VCLPLUGIN=gen) (132.77 KB, image/png)
2016-07-27 08:46 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2016-07-18 11:43:36 UTC
Created attachment 126274 [details]
Libreoffice Writer window

I'm using Ubuntu 16.04 (64 bit). This bug is present in earlier versions of LibreOffice too. I've installed version 5.2.0 to see if it's still present and it is. My graphics chip is AMD KABINI (AMD A6-5200 APU). This bug doesn't show up when OpenGL is enabled, but unfortunately I can't use OpenGL rendering (which is actually much faster) because turning on OpenGL hangs the entire system (probably a bug in AMD Mesa driver). Separators which are supposed to be in respective toolbars are drawn at wrong positions on the screen (a screenshot included).
Comment 1 Buovjaga 2016-07-26 20:10:29 UTC
Not reproduced here with GTK3 backend and Tango icons.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: c1b665fcdacd4141137f1e369527e2c0d94513ae
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on July 26th 2016
Comment 2 Bogdan 2016-07-26 20:36:02 UTC
Created attachment 126420 [details]
LibreOffice Calc Window
Comment 3 Bogdan 2016-07-26 20:50:38 UTC
I don't know what backend is it in my case, but it's default Ubuntu 16.04 installation (so Unity, not KDE). All LibreOffice applications' windows are affected. Selected icon set doesn't matter (in the 2nd attached screenshot there is a Calc window with default 'Breeze' icon set). Maybe it has something to do with (open source) driver for my AMD graphics chip (APU A6-5200). As I've mentioned before, when OpenGL is used for drawing, everything looks OK, but sooner or later it crashes X (black screen, no chance for software recovering, I have to manually reset the laptop).
Comment 4 Buovjaga 2016-07-27 05:31:01 UTC
You can try with different backends by launching from the terminal:
SAL_USE_VCLPLUGIN=gtk libreoffice
SAL_USE_VCLPLUGIN=gtk3 libreoffice
SAL_USE_VCLPLUGIN=gen libreoffice
SAL_USE_VCLPLUGIN=kde4 libreoffice (if you have it installed)
Comment 5 Bogdan 2016-07-27 08:44:32 UTC
(In reply to Buovjaga from comment #4)
> You can try with different backends by launching from the terminal:
> SAL_USE_VCLPLUGIN=gtk libreoffice
> SAL_USE_VCLPLUGIN=gtk3 libreoffice
> SAL_USE_VCLPLUGIN=gen libreoffice
> SAL_USE_VCLPLUGIN=kde4 libreoffice (if you have it installed)

Thanks. Setting backend to gtk or gtk3 has no effect (still the same incorrect behaviour). I don't have KDE installed (and don't want to). Setting backend to generic (X11) seems to solve the problem, as you can see on the attached picture, but now of course I don't have a standard (GTK) "look".
Comment 6 Bogdan 2016-07-27 08:46:49 UTC
Created attachment 126428 [details]
LibreOffice Calc Window (SAL_USE_VCLPLUGIN=gen)
Comment 7 Bogdan 2016-07-27 09:06:29 UTC
...and (with backend=gen) strange things happen when I try to resize windows, never mind.
Comment 8 Björn Michaelsen 2016-07-27 15:18:22 UTC
cant reproduce this with libreoffice 5.2.0~rc2 installed from snap (with gtk3 backend).
Comment 9 Bogdan 2016-11-24 10:56:37 UTC
The bug is gone, at least in version 5.2.0. After some (automatic) software package update, but not the LO itself, the problem disappeared.
Comment 10 Buovjaga 2016-11-24 11:00:35 UTC
Thanks, closing.