Bug 116654 - GTK3: hourglass icon is missing in slideshow (bottom left corner)
Summary: GTK3: hourglass icon is missing in slideshow (bottom left corner)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2018-03-27 11:32 UTC by Xisco Faulí
Modified: 2018-12-20 10:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
how it looks in gtk2 (750.58 KB, image/png)
2018-03-27 11:32 UTC, Xisco Faulí
Details
core dump (21.71 MB, application/x-xz)
2018-03-30 06:56 UTC, Xavier Van Wijmeersch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2018-03-27 11:32:12 UTC
Created attachment 140907 [details]
how it looks in gtk2

Steps to reproduce:
1. Open attachment 140901 [details] from bug 116646
2. Press F5
3. Press space bar to move to the next slide

Expected behaviour: a sandglass icon should be display on the left bottom corner as feedback the slide is being loaded.

Reproduced in

Version: 6.0.3.1
Build ID: 1:6.0.3~rc1-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

but not in

Version: 6.0.3.1
Build ID: 1:6.0.3~rc1-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

In master, the icon is not displayed in gtk2 because of bug 116646
Comment 1 Xavier Van Wijmeersch 2018-03-28 11:10:55 UTC
I have a core dump with test file, can not send because 32MB even after compressing twice

Version: 6.1.0.0.alpha0+
Build ID: 1a43481a1d8913a2c5fcb0c2e4363deaf439caff
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: gtk3; 
Locale: nl-BE (en_US.UTF-8); Calc: group
Comment 2 Buovjaga 2018-03-29 19:26:08 UTC
(In reply to Xavier Van Wijmeersch from comment #1)
> I have a core dump with test file, can not send because 32MB even after
> compressing twice

Did you try compressing to .tar.xz?
Comment 3 Xavier Van Wijmeersch 2018-03-30 06:56:06 UTC
Created attachment 140969 [details]
core dump

I was forgotten that there is xz for compressing files on my system.
I hope this will help

regards
Comment 4 Buovjaga 2018-03-30 15:26:39 UTC
Repro.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 9c459fd919cb8199a69fc2d630742930e533285b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 29th 2018
Comment 5 Caolán McNamara 2018-12-19 21:27:38 UTC
This thing is apparently the slideshow "WaitSymbolBitmap"
Comment 6 Caolán McNamara 2018-12-20 09:06:06 UTC
I think we do draw it, but the blit to screen doesn't happen in time before we redraw it, perhaps a timer priority thing
Comment 7 Caolán McNamara 2018-12-20 10:13:14 UTC
yes, the slideshow is drawing the hourglass/WaitSymbolBitmap and undrawing it in the same event processor and gtk requires at least one event loop to inform it to redraw an area and to get the event to then redraw that area so tha SlideShowImpl::displaySlide event would need to be split into two, a setup one which draws the WaitSymbol and a follow up one that undraws it and does the next slide draw. A reasonably large chunk of work.
Comment 8 Xisco Faulí 2018-12-20 10:19:46 UTC
@Caolán, thanks for checking. Since this is a minor issue, we can live without it. It doesn't worth the effort...