Bug 122161 - UI: Bright screen flashing when starting Impress presentation
Summary: UI: Bright screen flashing when starting Impress presentation
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2018-12-17 18:20 UTC by gtxe
Modified: 2020-06-28 16:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
workaround. save here: ~/.config/gtk-3.0/ (143 bytes, text/css)
2018-12-17 18:24 UTC, gtxe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gtxe 2018-12-17 18:20:36 UTC
Description:
When starting prestentation, the Presentation display flashes with a bright color  (it is the window background color defined in the gtk theme).
Using a dark gtk theme, it flashes with a dark color.
The duration is longer, if the first slide is more complex (big picture for example).
It looks little nonprofessional.
Tested with Manjaro (Xfce), openSUSE Leap (KDE), Fedora (Gnome): always the same.

I've made a workaround for this. It works good with disabled Presenter Console (there is another Bug). May be there are side effects for other gtk applications.

create a new file: ~/.config/gtk-3.0/gtk.css

/* avoid bright flickering when starting presentation with LibreOffice Impress */
window.background.fullscreen {
	background-color: #000000;
}


Steps to Reproduce:
1. Use bright desktop theme (specialy for gtk)
2. Create new Impress presentation with a big picture on the first slide (>4MP)
3. start presentation (F5)

Actual Results:
Screen flashes white, then black and then it shows the slide.

Expected Results:
Screen shows the slide (without flickering / flashing) when start presentation.
Custom color (Options -> Application Colors) would be great.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 6.1.3.2
Build ID: 6.1.3-2
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.utf8); Calc: group threaded
Comment 1 gtxe 2018-12-17 18:24:21 UTC
Created attachment 147627 [details]
workaround. save here: ~/.config/gtk-3.0/
Comment 2 gtxe 2018-12-18 15:18:04 UTC
Side effect of the workaround, if presenter console enabled:
https://bugs.documentfoundation.org/show_bug.cgi?id=122176
Comment 3 Xisco Faulí 2019-01-21 18:42:18 UTC
Hello gtxe,
Could you please the current theme you're using?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 4 gtxe 2019-01-22 15:40:40 UTC
Used Themes:
Manjaro Xfce: Vertex-Maia-Light (default)
Manjaro KDE: KDE-/GTK2-/GTK3-Theme: Breath (default)
openSUSE: I don't remember (I installed it just for testing). But it was the default theme.

The second screen is a projector and I changed the wallpaper to solid black color,
because I want that nothing should be visible, when no presentation active.
Comment 5 gtxe 2019-05-07 19:51:10 UTC
By the way, I noticed it is possible to change the VCL (Visual Class Library).
https://ask.libreoffice.org/en/question/78965/menu-appearance-is-hard-on-the-eyes/

kde5 VCL crashes with Kubuntu, when starting the presentation.

When kde4 VCL used, there is no flickering at presentation start!
Additionally I had to disable presenter console for smooth slide transitions (doesn't matter which VCL).
Comment 6 Xisco Faulí 2019-05-09 09:05:01 UTC
KDE5 is under ongoing development.
Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 7 gtxe 2019-05-09 16:46:18 UTC
Tried three different versions, from PPA, "fresh" build, and master build (see below).

All are crashing.
Steps to reproduce:
- force kde5 VCL if not automatically used:
  SAL_USE_VCLPLUGIN=kde5 libreoffice(6.2/dev6.3) --impress
- start with any or empty presentation
- Disable presenter console
- Menu "Slide Show" -> "Presentation display" select "All displays"
- start presentation

Why did I try:
Presentation did not start at second screen, independent from preset.
But presentation over all displays is not realy what I want/need.


more problems:

ppa-version:
- some slide-effect don't work (fading)
- no kde4 VCL

master-build:
- no kde4 VCL

the main bug with gtk3 VCL (see start topic) is still there, in all versions.


At the moment the fresh-build with kde4 VCL works the best for me:
no crashing, slide effect are all working, no flickering.


https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

Version: 6.2.3.2
Build ID: 1:6.2.3-0ubuntu0.18.04.1~lo1
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: kde5; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded


https://www.libreoffice.org/download/libreoffice-fresh/

Version: 6.2.3.2
Build ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: kde5; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded


http://dev-builds.libreoffice.org/daily/master/

Version: 6.3.0.0.alpha0+
Build ID: 98630a0bd49bd80652145a21e4e0d0ded792b36b
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-05-04_04:44:35
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 Xisco Faulí 2019-11-08 12:43:41 UTC
Hello gtxe,
at the point, KDE5 has reached a stable status.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 9 QA Administrators 2020-06-27 03:49:47 UTC Comment hidden (obsolete)
Comment 10 gtxe 2020-06-28 16:02:19 UTC
Testet with Debian-Based KDE Distro and with fresh LibreOffice 6.4.4.2:
still flashes white when presentation started.

If you have a fast computer and composing effects enabled in KDE, perhaps you will not notice it. Insert hires photo in first slide, then you will.

Additional Info:
Version: 6.4.4.2
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 6; OS: Linux 4.19; UI render: default; VCL: kf5; 
Locale: de-DE (de_DE.UTF-8); UI-Language: en-US
Calc: threaded