Bug 463785 - Slideshow starts with black screen and digikam crashes
Summary: Slideshow starts with black screen and digikam crashes
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SlideShow (show other bugs)
Version: 7.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-03 17:04 UTC by fuerallesg
Modified: 2023-04-02 16:51 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fuerallesg 2023-01-03 17:04:27 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start a slideshow
2. Getting a black screen
3. Escape from slideshow window 

OBSERVED RESULT
Digikam crashes. No running instance anymore

EXPECTED RESULT
1. Showing a slideshow
2. Not crashing after closing slideshow window/fullscreen

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

ADDITIONAL INFORMATION
Probably you need a backtrace. Here I would need some help or at leat a program recommendation.
Comment 1 Maik Qualmann 2023-01-03 19:00:25 UTC
Git commit fc3261fec0b5fc3b005e16ccc08195d37982fdef by Maik Qualmann.
Committed on 03/01/2023 at 18:59.
Pushed by mqualmann into branch 'qt5-maintenance'.

QWindows will delete over the parent

M  +0    -1    core/dplugins/generic/view/slideshow/widgets/slideend.cpp
M  +0    -1    core/dplugins/generic/view/slideshow/widgets/slideerror.cpp
M  +0    -1    core/dplugins/generic/view/slideshow/widgets/slideimage.cpp
M  +0    -1    core/libs/video/player/slidevideo.cpp

https://invent.kde.org/graphics/digikam/commit/fc3261fec0b5fc3b005e16ccc08195d37982fdef
Comment 2 Maik Qualmann 2023-02-20 20:05:57 UTC
*** Bug 466156 has been marked as a duplicate of this bug. ***
Comment 3 flavio.hoeltschi 2023-03-22 16:04:54 UTC
Hello
Im having the same problem.
In the event viewer i can see that the Problem is coming from this file:
C:\Program Files\digiKam\Qt5Gui.dll

Specs:
Windows 10 22H2
DigiKam Version 7.10.0

I would appreciate feedback and if more information is needed, I can be reached at flavio.hoeltschi@chur.ch.
Comment 4 Maik Qualmann 2023-03-22 17:56:26 UTC
Git commit a8fc273fca43f409265eefade254f9655e39536a by Maik Qualmann.
Committed on 22/03/2023 at 17:54.
Pushed by mqualmann into branch 'master'.

stop preview threads and wait

M  +12   -3    core/dplugins/generic/view/slideshow/widgets/slideimage.cpp

https://invent.kde.org/graphics/digikam/commit/a8fc273fca43f409265eefade254f9655e39536a
Comment 5 Maik Qualmann 2023-03-22 21:37:30 UTC
Git commit 422aedee64a450683bdd0b88c4f7b4eb0728317b by Maik Qualmann.
Committed on 22/03/2023 at 21:36.
Pushed by mqualmann into branch 'master'.

install event filters after all widgets are created

M  +8    -5    core/dplugins/generic/view/slideshow/common/slideshowloader.cpp
M  +17   -12   core/dplugins/generic/view/slideshow/widgets/slideosd.cpp

https://invent.kde.org/graphics/digikam/commit/422aedee64a450683bdd0b88c4f7b4eb0728317b
Comment 6 Maik Qualmann 2023-03-26 20:26:43 UTC
A new test version of digiKam-8.0.0 is available. Please test whether the problem can still be reproduced.

https://files.kde.org/digikam/

If you still want to go back to an older digiKam version, back up your database beforehand.

Maik
Comment 7 Peter 2023-03-27 03:37:47 UTC
Tested in Windows 10 22H2; digiKam-8.0.0-20230326T140515-Win64.exe
 
I can't reproduce anymore. Works well.
Thank you Maik.
Comment 8 flavio.hoeltschi 2023-03-28 09:48:59 UTC
Hello
It also works for me, the program doesn't crash anymore.
Is this version also available in German or is it only in English?
BG
Flavio
Comment 9 caulier.gilles 2023-03-28 10:04:17 UTC
The 8.0.0 pre-release Windows installer has all application translations. See the online documentation for details:

https://docs.digikam.org/fr/setup_application/languages_settings.html
Comment 10 flavio.hoeltschi 2023-03-28 11:05:10 UTC
Hello
I saw this setting, but I can't select a different language, the only language available is US-English.
Comment 11 caulier.gilles 2023-03-28 12:08:06 UTC
Right. For the 8.0.0, downloading translations was disabled... I will fix it.

Gilles
Comment 12 caulier.gilles 2023-03-28 12:11:51 UTC
Ah no, for master, po/ directory is branched to the source code. There is nothing to download at build time... Problem is another place...
Comment 13 caulier.gilles 2023-03-28 12:47:14 UTC
8.0.0 windows installer is up-to-date :

https://files.kde.org/digikam/

All translations must be there...

Gilles Caulier
Comment 14 caulier.gilles 2023-03-28 14:25:20 UTC
And there are :

https://i.imgur.com/IT3gFAm.png

Gilles Caulier
Comment 15 Maik Qualmann 2023-04-02 16:51:22 UTC
*** Bug 468083 has been marked as a duplicate of this bug. ***