Bug 941035 - LibreOffice 5: black bar instead of sidebar, dialogs often don't get rendered
Summary: LibreOffice 5: black bar instead of sidebar, dialogs often don't get rendered
Status: RESOLVED UPSTREAM
: 941051 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: LibreOffice (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Tomáš Chvátal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 18:21 UTC by Hendrik Woltersdorf
Modified: 2015-09-02 19:31 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screnshot of the black sidebar (170.06 KB, image/png)
2015-08-08 18:40 UTC, Hendrik Woltersdorf
Details
Xorg.log as requested (7.89 KB, application/zip)
2015-08-09 07:54 UTC, Hendrik Woltersdorf
Details
The option to fix the problem in KDE Menu Editor (87.17 KB, image/jpeg)
2015-08-10 10:34 UTC, Forgotten User 1ZdvSSgu-e
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Woltersdorf 2015-08-08 18:21:30 UTC
On Tumbleweed 20150805, with libreoffice-5.0.0.3-1.2.i586 I see at the right side only a black bar instead of a sidebar. If I open the configuration dialogs only every fifth or tenth time they get rendered, otherwise the first shown dialog is still shown, even if I click on other menu points.
Switching off hardware acceleration does not change anything. At the console I don't see any error messages, only one warning:

"** (soffice:2943): WARNING **: Invalidate all children called"
Comment 1 Hendrik Woltersdorf 2015-08-08 18:40:29 UTC
Created attachment 643246 [details]
screnshot of the black sidebar

I attache a screen-shot of the black bar at the right side. 
For the screen-shot I changed the GUI language from "German" to "English". With this switch the rendering problems of the configuration dialogs vanished. Even after switching back to "German" they did not occur again.
But I got more warnings:

(soffice:3477): GLib-GObject-WARNING **: gsignal.c:3406: signal name 'selection_changed' is invalid for instance '0xa2fece8' of type 'OOoAtkObjCompTxt'
W: Unknown node under /registry/extlang: deprecated
W: Unknown node under /registry/grandfathered: comments
W: Unknown node under /registry/grandfathered: comments
Comment 2 Tomáš Chvátal 2015-08-09 07:27:55 UTC
Actually this looks more like video driver issue, could you provide xorg.log?

And also try to update to 5.0.0.5 which is in latest TW release.
Comment 3 Hendrik Woltersdorf 2015-08-09 07:54:42 UTC
Created attachment 643247 [details]
Xorg.log as requested

I updated my system to LO 5.0.0.5. This did not solve the problem with the  black bar.
Btw: My desktop environment is KDE (Plasma5).
Comment 4 Martin Pluskal 2015-08-09 12:52:56 UTC
*** Bug 941051 has been marked as a duplicate of this bug. ***
Comment 5 Tomáš Chvátal 2015-08-10 08:20:56 UTC
Hmm testing:

Try to use generic renderer:

SAL_USE_VCLPLUGIN=gen lowriter

Or also could you guys try to install:

libreoffice-gnome

and then run:

SAL_USE_VCLPLUGIN=gtk2 lowriter

Report back how the rendering looks under both of those.
Comment 6 Forgotten User 1ZdvSSgu-e 2015-08-10 09:53:12 UTC
Excuse me,
In which file must I add the option "SAL_USE_VCLPLUGIN=gen lowriter"?
Comment 7 Tomáš Chvátal 2015-08-10 10:12:05 UTC
(In reply to Jose Luis Doreste from comment #6)
> Excuse me,
> In which file must I add the option "SAL_USE_VCLPLUGIN=gen lowriter"?

Just execute it in the terminal like this. No need to add it anywhere.
Comment 8 Forgotten User 1ZdvSSgu-e 2015-08-10 10:23:08 UTC
SAL_USE_VCLPLUGIN=gen libreoffice5.0 --writer
SAL_USE_VCLPLUGIN=gen libreoffice5.0

Both works fine for me, Great!
Comment 9 Forgotten User 1ZdvSSgu-e 2015-08-10 10:32:08 UTC
I have added the command in the KDE start menu using "KDE Menu Editor" and it works fine.

In the Command area of KDE Menu Editor I wrote:

SAL_USE_VCLPLUGIN=gen libreoffice5.0 --writer %U

Thank you very much, Tomáš Chvátal.
Comment 10 Forgotten User 1ZdvSSgu-e 2015-08-10 10:34:59 UTC
Created attachment 643311 [details]
The option to fix the problem in KDE Menu Editor
Comment 11 Tomáš Chvátal 2015-08-10 11:44:39 UTC
@Hendrik: could you please also verify that the different generator fixes the problem for you?
Comment 12 Hendrik Woltersdorf 2015-08-10 15:18:57 UTC
Verified. "SAL_USE_VCLPLUGIN=gen lowriter" works for me too.
Comment 13 Hendrik Woltersdorf 2015-08-10 15:50:34 UTC
One more observation (testing without SAL_USE_VCLPLUGIN=gen):
My native screen resolution is 1600x1200.
When I change the resolution (with systemsettings5) to something different (e.g. 1280x1024), the black bar does not occur.
Comment 14 Tomáš Chvátal 2015-08-10 18:12:14 UTC
(In reply to Hendrik Woltersdorf from comment #13)
> One more observation (testing without SAL_USE_VCLPLUGIN=gen):
> My native screen resolution is 1600x1200.
> When I change the resolution (with systemsettings5) to something different
> (e.g. 1280x1024), the black bar does not occur.

And how about the GTK that also works? Or only the gen renderer?
Comment 15 Hendrik Woltersdorf 2015-08-10 18:21:28 UTC
"SAL_USE_VCLPLUGIN=gtk2 lowriter" does not work for me. 
The GTK-version was already installed, probably with XFCE.
Comment 16 Tomáš Chvátal 2015-08-11 08:04:09 UTC
Hmm can't figure out what is happening in there, nor am able to reproduce it on any of my machines :-/

Anyway for testing purposes I updated libreoffice in LibreOffice:Factory repository to latest RC release that contain bunch of commits in rendering code.

So if you could check it in cca 6 hours when there will be actually installable result in the repository and report if it is still broken for you, it would be great.
Comment 17 Hendrik Woltersdorf 2015-08-12 16:17:49 UTC
I have installed version libreoffice-5.0.1.1-326.1, but this does not fix this problem.
Comment 18 Forgotten User IUNOwyJlk- 2015-08-24 15:13:56 UTC
I'm also facing this problem on Xfce. Until then my workaround was to unmaximize the window, resize a bit and maximize again(the black parts are corrected during resize). Now I have appended "export SAL_USE_VCLPLUGIN=gtk" to my .bashrc and it seems to solve the problem, at least to open localc or lowriter from terminal.
Comment 19 Hendrik Woltersdorf 2015-08-24 18:10:20 UTC
I see another rendering problem, connected to this one.
in Calc: When I type some numbers into a cell they "vanish" when I press "Enter"; that means, they get invisible, but are still there.
With the gen-renderer I can see these "vanished" numbers again.
Comment 20 Tomáš Chvátal 2015-09-01 14:09:15 UTC
Ok I seem to be unable to reproduce it. You guys have workaround.
If it still happens (without the workaround on 5.0.1.2) please report it to upstream on bugs.documentfoundation.org.
Comment 21 Hendrik Woltersdorf 2015-09-02 19:31:00 UTC
There is already an upstream bug report:
https://bugs.documentfoundation.org/show_bug.cgi?id=93194

I added a comment.