Bug 124671 - Impress does not render UI elements or slideshow animations until mouse move over them
Summary: Impress does not render UI elements or slideshow animations until mouse move ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 08:11 UTC by Babak Razmjoo
Modified: 2019-04-18 12:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The presentation causing this problem (632.84 KB, application/vnd.oasis.opendocument.presentation)
2019-04-11 08:11 UTC, Babak Razmjoo
Details
Opening a menu will result in this situation until mouse move over it (207.71 KB, image/png)
2019-04-11 08:12 UTC, Babak Razmjoo
Details
Most of the times, openning a dialog results in this (183.22 KB, image/png)
2019-04-11 08:13 UTC, Babak Razmjoo
Details
I can see this effect when click a menu item and scroll through menus by arrow keys (211.83 KB, image/png)
2019-04-11 08:20 UTC, Babak Razmjoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Babak Razmjoo 2019-04-11 08:11:20 UTC
Created attachment 150677 [details]
The presentation causing this problem

I have these problems with a particular presentation. When this file is opened in Impress, Impress won't render its UI elements (menus and dialogues) until I move mouse pointer over them. Without mouse movement I can only see transparent or black boxes.
Also when starting slide show for this presentation, only a black screen is visible and I have to move the mouse to see slides and their animations (The animation currently works by mouse movement, while it must run independently)
Comment 1 Babak Razmjoo 2019-04-11 08:12:56 UTC
Created attachment 150678 [details]
Opening a menu will result in this situation until mouse move over it
Comment 2 Babak Razmjoo 2019-04-11 08:13:58 UTC
Created attachment 150679 [details]
Most of the times, openning a dialog results in this
Comment 3 Babak Razmjoo 2019-04-11 08:20:19 UTC
Created attachment 150682 [details]
I can see this effect when click a menu item and scroll through menus by arrow keys
Comment 4 Babak Razmjoo 2019-04-11 08:56:52 UTC
This problem is present in:
Version: 6.1.5.2
Build ID: 6.1.5.2-2.fc29
CPU threads: 1; OS: Linux 5.0; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); Calc: threaded
Comment 5 Roman Kuznetsov 2019-04-11 09:24:39 UTC
(In reply to Babak Razmjoo from comment #4)
> This problem is present in:
> Version: 6.1.5.2
> Build ID: 6.1.5.2-2.fc29
> CPU threads: 1; OS: Linux 5.0; UI render: default; VCL: x11; 
> Locale: en-US (en_US.UTF-8); Calc: threaded

>>>VCL: x11; <<<<

Babak, you should install packet with LibreOffice GTK3 backend in your OS like libreoffice-gnome-integration

What Linux distro do you use?
Comment 6 Buovjaga 2019-04-11 09:42:52 UTC
If on fedora, package name should be libreoffice-gtk3
Comment 7 Babak Razmjoo 2019-04-18 12:07:01 UTC
(In reply to Roman Kuznetsov from comment #5)
> (In reply to Babak Razmjoo from comment #4)
> > This problem is present in:
> > Version: 6.1.5.2
> > Build ID: 6.1.5.2-2.fc29
> > CPU threads: 1; OS: Linux 5.0; UI render: default; VCL: x11; 
> > Locale: en-US (en_US.UTF-8); Calc: threaded
> 
> >>>VCL: x11; <<<<
> 
> Babak, you should install packet with LibreOffice GTK3 backend in your OS
> like libreoffice-gnome-integration
> 
> What Linux distro do you use?

I'm using Fedora 29
Comment 8 Buovjaga 2019-04-18 12:25:41 UTC
(In reply to Babak Razmjoo from comment #7)
> I'm using Fedora 29

So what happens if you do
dnf install libreoffice-gtk3
Comment 9 Babak Razmjoo 2019-04-18 12:42:57 UTC
(In reply to Buovjaga from comment #6)
> If on fedora, package name should be libreoffice-gtk3

This had been installed when i noticed this problem. OK that was a little weird. While ago I downloaded and installed Libreoffice 6.2.2.2 manually. That is, there are two versions of LibreOffice on my system. The version 6.1.5.2 is installed by default and I use applications menu to launch it. The usual method of launching the newer version is by calling 'soffice' from terminal; My PATH points to location of the manually installed version. Also I had set 'SAL_USE_VCLPLUGIN=gen' in ~/.bashrc

That day I launched 6.2.2.2 from a terminal and tried to start a slide show for a presentation, but Impress would display a black screen. When I opened "About" window, It said it was version 6.1.5.2 and was using x11. Also if i issued 'soffice --version', it would report 6.1.5.2.

Now I have changed my .bashrc to set SAL_USE_VCLPLUGIN=gtk, and everything seems OK.
Comment 10 Buovjaga 2019-04-18 12:58:27 UTC
(In reply to Babak Razmjoo from comment #9)
> (In reply to Buovjaga from comment #6)
> > If on fedora, package name should be libreoffice-gtk3
> 
> This had been installed when i noticed this problem. OK that was a little
> weird. While ago I downloaded and installed Libreoffice 6.2.2.2 manually.
> That is, there are two versions of LibreOffice on my system. The version
> 6.1.5.2 is installed by default and I use applications menu to launch it.
> The usual method of launching the newer version is by calling 'soffice' from
> terminal; My PATH points to location of the manually installed version. Also
> I had set 'SAL_USE_VCLPLUGIN=gen' in ~/.bashrc
> 
> That day I launched 6.2.2.2 from a terminal and tried to start a slide show
> for a presentation, but Impress would display a black screen. When I opened
> "About" window, It said it was version 6.1.5.2 and was using x11. Also if i
> issued 'soffice --version', it would report 6.1.5.2.
> 
> Now I have changed my .bashrc to set SAL_USE_VCLPLUGIN=gtk, and everything
> seems OK.

Using gen VCL backend is what causes x11 to be shown in the About window.

If you now use SAL_USE_VCLPLUGIN=gtk, it will use gtk2. You should just remove SAL_USE_VCLPLUGIN altogether and it should default to gtk3.

For the record, I have no problems with gen.