Bug 488424 - Slideshow progress does not display until an animated GIF file is displayed
Summary: Slideshow progress does not display until an animated GIF file is displayed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SlideShow (other bugs)
Version First Reported In: 8.3.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 17:14 UTC by mikepayson
Modified: 2024-06-12 21:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:


Attachments
Progress indicator before gif (7.62 KB, image/png)
2024-06-12 18:03 UTC, mikepayson
Details
Progress indicator showing a gif (7.38 KB, image/png)
2024-06-12 18:03 UTC, mikepayson
Details
Slideshow options (88.54 KB, image/png)
2024-06-12 18:04 UTC, mikepayson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikepayson 2024-06-12 17:14:56 UTC
SUMMARY
When you start a slideshow, there is an option to display the progress like "(1/67)" at the bottom left corner of the screen. I have that option selected. 

I noticed several versions back that it was no longer displaying, but I assumed the feature had been removed. I discovered today, though, that it does still display the progress, but only if you have an animated gif in the fileset. Once you display a single animated gif, the progress continues to be displayed through the rest of the slideshow. It does not appear to work with non-animated gifs. 

The issue has been reproduced on both Linux and Windows.

STEPS TO REPRODUCE
1. Start a slideshow 
2. Observe that there is no progress display shown
3. click through your slideshow unil an animated gif
4. Notice the progress is displayed
5. Click onto another file
6. Notice the progress is still shown.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows:  11
macOS: 
Linux/KDE Plasma: PopOS 22.4
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2024-06-12 17:40:06 UTC
I can't reproduce that here, the progress is always displayed when it has been activated.
If you can't see the progress, then the tool buttons for pause, continue and start shouldn't be visible either, as it's a widget. Are the buttons visible? By the way, you can open the settings with F2, is the checkbox for displaying progress activated?

No problems under Windows either, progress is visible.

Maik
Comment 2 mikepayson 2024-06-12 18:03:24 UTC
Created attachment 170430 [details]
Progress indicator before gif
Comment 3 mikepayson 2024-06-12 18:03:55 UTC
Created attachment 170431 [details]
Progress indicator showing a gif
Comment 4 mikepayson 2024-06-12 18:04:16 UTC
Created attachment 170432 [details]
Slideshow options
Comment 5 mikepayson 2024-06-12 18:07:15 UTC
I have reproduced the issue on three operating systems (Ubuntu and PopOS, plus Windows 11). The attached screenshots are from Windows.
Comment 6 Maik Qualmann 2024-06-12 18:09:06 UTC
This is normal behavior, you start the slideshow using the "play" button in the thumbnail or preview. Here the slideshow is in "still mode". This mode is intended as a preview function, only when you press the play tool button will the progress be displayed again. A gif or video also starts the play mode.

Maik
Comment 7 mikepayson 2024-06-12 18:13:09 UTC
Hmm, ok. Just FYI, then, I typically do not "play" the slideshow. I click through it manually. The progress is never displayed in that circumstance unless an animated gif turns it on. That doesn't seem like it should be the expected behavior.
Comment 8 Maik Qualmann 2024-06-12 18:20:03 UTC
Yes, if you press the "play" button in the slideshow it starts and the progress appears. Let's see, we can make it blink. This mode was intended as a full-screen view so that you can scroll through the images by clicking with the mouse.

Maik
Comment 9 Maik Qualmann 2024-06-12 18:37:41 UTC
Git commit 0756ecfde7f98c609c5c2e1408abb00a28320c73 by Maik Qualmann.
Committed on 12/06/2024 at 18:36.
Pushed by mqualmann into branch 'master'.

initialize progress bar with value to display the text
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +0    -3    core/dplugins/generic/view/slideshow/common/slideshowloader.cpp
M  +1    -0    core/dplugins/generic/view/slideshow/widgets/slideosd.cpp

https://invent.kde.org/graphics/digikam/-/commit/0756ecfde7f98c609c5c2e1408abb00a28320c73
Comment 10 mikepayson 2024-06-12 21:04:36 UTC
(In reply to Maik Qualmann from comment #8)
> Yes, if you press the "play" button in the slideshow it starts and the
> progress appears. Let's see, we can make it blink. This mode was intended as
> a full-screen view so that you can scroll through the images by clicking
> with the mouse.
> 
> Maik

Great, thank you!