https://bugs.kde.org/show_bug.cgi?id=473088

--- Comment #24 from off...@hantsch.co.at ---
Hi, again.


Am Mittwoch, 16. August 2023, 10:09:47 CEST schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=473088
> 
> --- Comment #22 from Fushan Wen <qydwhotm...@gmail.com> ---
> Git commit be5496133f0692099dfce0d8726fc23ba0e59f37 by Fushan Wen.
> Committed on 16/08/2023 at 09:52.
> Pushed by fusionfuture into branch 'master'.
> 
> wallpapers/image: fix slideshow not starting for few images or superfast
> computers
> 
> If an ImageProxyModel loads the image list immediately before
> SlideModel::addDirs is completed, the file list in SlideModel
> will be incomplete, so also check the loading status when
> adding folders.

Do I understand right, dat this can be caused by a simple race condition?
If so, I was not so far away.

I have absolutely no idea on how all this KDE software internally works,  but
can't a boolean 
be set before and cleared after "SlideModel::addDirs" to allow waiting before
loading the 
image until that other process has finished?
At least with Microcontrollers I do so. Don't know it this is also possible in
KDE and cpp.


Actually... Is it possible to replace the existing Slideshow by a testing
version - in case that 
somebody wants me to test changes he applied?


> M  +1    -1    wallpapers/image/plugin/imagebackend.cpp
> M  +2    -0    wallpapers/image/plugin/slidefiltermodel.cpp
> M  +12   -4    wallpapers/image/plugin/slidemodel.cpp
> 
> https://invent.kde.org/plasma/plasma-workspace/-/commit/be5496133f0692099dfc
> e0d8726fc23ba0e59f37

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to