[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #57 from Nate Graham  ---
I fully agree that Neon should drop the LTS distro base. Neon is itself a
franken-distro, which is part of the reason why it unfortunately breaks so
much. :(

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-25 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #56 from Oded Arbel  ---
While I agree with the sentiment, Nate, and as such I'm always running the
current release - there are valid reasons to use an LTS release without
restricting yourself to the version of Plasma that came with the LTS - you
might want to make sure that the C compiler is the version from the LTS, with
all of the LTS Caves, or the Python interpreter, because you user the system to
support production services running on an LTS, but as the production service
isn't using a desktop UI - maintaining that compatibility isn't important.

BTW - if keeping to a base LTS is just a false promise we can do without, then
I would really love to see Neon target the current Ubuntu instead of the LTS -
it would make my life a lot easier 😇.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #55 from Nate Graham  ---
Also JFYI, if you opt to overlay Neon repos on top of your Kubuntu LTS
installation, you've already broken the distro's LTS promise by monkeying with
it in a way that isn't covered by the LTS support contract. If you're willing
to do that, you might as well just use the23.04 release of Kubuntu which is a
cohesive product and not a franken-distro.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #54 from Nate Graham  ---
Oops, actually I meant to recommend Kubuntu 23.04. It's not an LTS release, but
it has Plasma 5.27 in it.

Personally I don't recommend sticking with LTS releases. In my opinion they
represent a false promise. You do get "stability", for certain definitions of
stability; the definition that ends up actually being used tends to be
"stability of bugginess": It simply has the bugs that it has. The bugs don't
change. Sometimes, maybe, some of them might get fixed, but that's not
guarantee of that. Mostly you're just stuck with a fixed, unchanging set of
bugs. So if you're using an LTS version that has a major bug for you which has
already been fixed in a newer version of the software, you're mostly out of
luck.

I get that LTS distros feel like they fit into the conservative update
scheduled of institutional users, but this has to be counterbalanced against
the possibility of hitting a bad bug that's already fixed upstream that you
don't have access to yet, which is exactly what's happening here.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-23 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #53 from Oded Arbel  ---
Mi(In reply to Nate Graham from comment #52)
> in your case, that would be by upgrading the distro to Kubuntu
> 34.04.

You probably meant Kubuntu 24.04 - the next LTS release that will be made
available 9 months from now. Updating from the (still supported, theoretically)
20.04 to the current supported LTS - 22.04, will still not solve this issue as
it was apparently fixed for Plasma 5.25 and the fix was never backported to a
5.24 bug fix release - which is what Kubuntu 22.04 is carrying.

> If you need support for Plasma 5.18, please contact your distro, who bears
> the responsibility of providing support for older releases. Thanks for
> understanding!

Unfortunately it doesn't look like this issue will ever be addressed in an LTS
update - it is likely considered too minor to warrant the backporting effort.

Alex, if updating to the non-LTS Kubuntu 23.04 is not an option for you (as I
suspect it isn't), then other than backporting the fix yourself, or living with
this issue for the next 9 months (plus how ever long it will take to certify
your system for a new LTS), and assuming you need a base LTS but can update
just Plasma to a more recent version - then I can recommend installing the Neon
User Edition focal repository and updating Plasma from there - it features
Plasma 5.26 that is compatible with Kubuntu 20.04, and though it is no longer 
being updated, I expect it to continue to be available for a while (the 18.04
repo - bionic - is still there), and you'd still likely get better experience
and support with that than using Plasma from the oldest sill supported Kubuntu
LTS...

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #52 from Nate Graham  ---
I'm afraid Plasma 5.18 is unfortunately no longer eligible for support or
maintenance from KDE. It's over 3 years old! This bug was fixed after the
release of 5.18. Please update to Plasma 5.27 as soon as your distro offers it
to you; in your case, that would be by upgrading the distro to Kubuntu 34.04.

If you need support for Plasma 5.18, please contact your distro, who bears the
responsibility of providing support for older releases. Thanks for
understanding!

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-23 Thread alex
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #51 from alex  ---
Also, Plasma seems to crash (hitting the "Windows" key no longer shows the
system menu)

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2023-07-23 Thread alex
https://bugs.kde.org/show_bug.cgi?id=371455

alex  changed:

   What|Removed |Added

 CC||alexander.duytschaever@gmai
   ||l.com
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #50 from alex  ---
Still appears in 

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-153-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM

As soon as "wallpaper type" is switched to "Slideshow", two things happen:
1/ apparently, the dialog seems to search for ALL possible images (but
WHY who had the brilliant idea to automatically launch this process,
rather than WAIT for at least one path to be added?)
2/ it is as good as impossible to add a wallpaper path

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2022-03-23 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=371455

Aleix Pol  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||3bd7e1d087cbf760361e2d2f995
   ||41c6d9ef09210
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #49 from Aleix Pol  ---
Git commit 3bd7e1d087cbf760361e2d2f99541c6d9ef09210 by Aleix Pol.
Committed on 23/03/2022 at 01:08.
Pushed by apol into branch 'master'.

image: Lazy-load the slideshow model

So far we were loading the slideshow model right at startup which
iterates through all the backgrounds on the system.
This changes so that it's only created when it's needed, which helps to
remove some startup disk accesses.
It should also give us less background-related warnings at startup as
they won't be all checked immediately.

M  +22   -10   wallpapers/image/image.cpp
M  +3-1wallpapers/image/image.h
M  +3-0wallpapers/image/slidefiltermodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/3bd7e1d087cbf760361e2d2f99541c6d9ef09210

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2022-01-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

   Priority|VHI |HI

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-11-27 Thread Vladimir Yerilov
https://bugs.kde.org/show_bug.cgi?id=371455

Vladimir Yerilov  changed:

   What|Removed |Added

 CC||openmind...@gmail.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-11-25 Thread CircusMusic
https://bugs.kde.org/show_bug.cgi?id=371455

CircusMusic  changed:

   What|Removed |Added

 CC||circusmu...@oganet.ca

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-08-23 Thread Joseph De Veaugh-Geiss
https://bugs.kde.org/show_bug.cgi?id=371455

Joseph De Veaugh-Geiss  changed:

   What|Removed |Added

 CC||jos...@kde.org
   Keywords||efficiency

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-08-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=441079

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-03-16 Thread Oded Arbel
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #48 from Oded Arbel  ---
(In reply to Nate Graham from comment #47)
> *** Bug 431256 has been marked as a duplicate of this bug. ***

For me the problem isn't actually during login (the login may be slowed by the
same issue, but its not very slow and it only happens once) - the problem I
have, as documented in the above dup bug report, is that the extraneous
directory scanning happens every time I open a plasma shell dialog - even not
the wallpaper configuration.

This is a video showing the issue:
http://test.geek.co.il/plasmashell-stuck-scanning-wallpapers.mp4 - in it you
can me opening the system tray configuration dialog and waiting about 4 minutes
until it is responsive, while plasma is scanning files and folders.

It does not look like a single scan - strace shows plasmashell iterating over
the same folders and files multiple times where each file is scanned 8 times.

The weird thing is that this behavior seems to be centered around the path
~/.local/share/wallpapers - in my setup this contains a set of symbolic links
to specific sub-folders in my wallpaper collection, or it could be a mount to
NAS that contains the wallpaper collection, either way - in this setup I
observed the behavior shown in the video. If I remove the symbolic links, or
the mount, leaving ~/.local/share/wallpapers as an empty folder - then there is
no problem: plasma dialogs are snappy and there is no freezing, regardless of
how the wallpaper slideshow plugin is configured.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2021-03-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 CC||o...@geek.co.il

--- Comment #47 from Nate Graham  ---
*** Bug 431256 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-09-26 Thread Paul
https://bugs.kde.org/show_bug.cgi?id=371455

Paul  changed:

   What|Removed |Added

 CC||pip@gmx.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-09-25 Thread Aaron Goldblatt
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #46 from Aaron Goldblatt  ---
This issue is still present in Ubuntu 20.10 (pre-release, I know):

Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-19-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600 CPU @ 3.30GHz
Memory: 31.2 GiB of RAM
Graphics Processor: GeForce GTX 1060 6GB/PCIe/SSE2

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-09-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=371455

john.f...@gmail.com changed:

   What|Removed |Added

 CC|john.f...@gmail.com |

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-09-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 CC||rnbw...@gmail.com

--- Comment #45 from Nate Graham  ---
*** Bug 426879 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-08-15 Thread Steve Evans
https://bugs.kde.org/show_bug.cgi?id=371455

Steve Evans  changed:

   What|Removed |Added

 CC||ste...@gorbag.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-08-03 Thread Nick Cross
https://bugs.kde.org/show_bug.cgi?id=371455

Nick Cross  changed:

   What|Removed |Added

 CC||k...@goots.org

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-06-30 Thread Mihai Sorin Dobrescu
https://bugs.kde.org/show_bug.cgi?id=371455

Mihai Sorin Dobrescu  changed:

   What|Removed |Added

 CC||msdobre...@gmail.com

--- Comment #44 from Mihai Sorin Dobrescu  ---
Could it be the new ordering feature?
Might be needed to check if works better in the old way, where the sorting was
done by the filesystem component. What do you think?
The filesystem way simply retrieves the files, but the custom ordering will
retrieve the files, then sort them, in an additional step.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-06-23 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=371455

Kishore Gopalakrishnan  changed:

   What|Removed |Added

 CC||kishor...@gmail.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-05-29 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #43 from Sébastien P.  ---
Yeah. It is still slow (compare to 5.16) but better for me (looks quicker
compare to 5.17).

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-05-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #42 from k...@zottel.net ---
I'm on 5.18.5, too, and it's still as slow as before.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-05-24 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #41 from Sébastien P.  ---
It looks fine on 5.18.5. I switched yesterday and the login was quick, like
before.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-04-09 Thread Brett Gardner
https://bugs.kde.org/show_bug.cgi?id=371455

Brett Gardner  changed:

   What|Removed |Added

 CC||br...@gardnerfamily.id.au

--- Comment #40 from Brett Gardner  ---
I'm also seeing this under 5.17.5.

I tried to work around it by having a service which would randomly copy an
image from my actual image directory into the directory I configured the
slideshow wallpaper to source from, but ran into multiple other bugs.

1. If I purge the existing files from the directory, the slideshow plugin will
go to a black screen with the error
"file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationContainmentAppearance.qml:85:9:
Unable to assign [undefined] to QQmlListProperty"

2. If I configure slideshow's order to "Date modified, newest first" I get
strange behaviour, When I click "Apply", it correctly shows the newest image,
but as soon as I close the config window, it reverts to the previous image,
with no output in the journal

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-02-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

   Priority|HI  |VHI

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-02-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #39 from Nate Graham  ---
That commit landed for Plasma 5.18.x, not 5.17.x. Also it is not expected to
fully fix the issue (or else the bug report would be closed) but is merely an
improvement. We're still working on getting the whole thing fixed.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-02-15 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #38 from Sébastien P.  ---
(In reply to David Redondo from comment #37)
> Git commit a58bbc050723583d75a47a3f00d19f41d70d17a4 by David Redondo.
> Committed on 13/02/2020 at 20:48.
> Pushed by davidre into branch 'Plasma/5.18'.
> 
> Don't delay ksplash until the entire slideshow is loaded
> 
> Summary:
> Instead of loading the model and then showing the last shown image, we can
> show
> it early so that we signal "wallpaper.loading = false" earlier.
> 
> Test Plan: Have massive slideshow, login
> 
> Reviewers: davidedmundson, broulik, #plasma
> 
> Reviewed By: davidedmundson, #plasma
> 
> Subscribers: plasma-devel
> 
> Tags: #plasma
> 
> Differential Revision: https://phabricator.kde.org/D27084
> 
> M  +4-1wallpapers/image/image.cpp
> 
> https://commits.kde.org/plasma-workspace/
> a58bbc050723583d75a47a3f00d19f41d70d17a4

Hi,

Still the same issue on 5.17.5 with this patch:
* plasmashell 100%
* no slideshow during this time (it should?)
* system a bit slow
* after the loading, it shows the latest slideshow

I do not know if 5.18 instead of 5.17 will change that.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-02-13 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #37 from David Redondo  ---
Git commit a58bbc050723583d75a47a3f00d19f41d70d17a4 by David Redondo.
Committed on 13/02/2020 at 20:48.
Pushed by davidre into branch 'Plasma/5.18'.

Don't delay ksplash until the entire slideshow is loaded

Summary:
Instead of loading the model and then showing the last shown image, we can show
it early so that we signal "wallpaper.loading = false" earlier.

Test Plan: Have massive slideshow, login

Reviewers: davidedmundson, broulik, #plasma

Reviewed By: davidedmundson, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27084

M  +4-1wallpapers/image/image.cpp

https://commits.kde.org/plasma-workspace/a58bbc050723583d75a47a3f00d19f41d70d17a4

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-02-11 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #36 from Yuking  ---
The recent codes from git://anongit.kde.org changed, but now the desktop can
only slideshow the images in the last path when plasmashell exit last time, the
same bug as my patch in comment #28. 

So, was I right in my comment #31?

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-27 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #35 from Sébastien P.  ---
(In reply to Christian from comment #33)
> (In reply to David Redondo from comment #32)
> > Hi, does the following patch help? 
> > It shows the last image shown the last time on startup, which should signal
> > ealier that wallpaper.loading = false;
> 
> Thanks, David. The patch compiles and does show the last image shown the
> last time on startup. But it doesn't fix the problem:
> * The plasmashell process still consumes huge amount of processing time
> immediately from the login
> * During that time, many plasma things don't work, including the "Start
> menu" or whatever KDE calls it, the status bar with the notification icons,
> etc.

Same here. It does not solve the main issue.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-26 Thread Xwang
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #34 from Xwang  ---
Moreover as I've reported in this bug
https://bugs.kde.org/show_bug.cgi?id=413934, the issue is that everytime the
image is changed, you have a CPU high load spike.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-26 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #33 from Christian  ---
(In reply to David Redondo from comment #32)
> Hi, does the following patch help? 
> It shows the last image shown the last time on startup, which should signal
> ealier that wallpaper.loading = false;

Thanks, David. The patch compiles and does show the last image shown the last
time on startup. But it doesn't fix the problem:
* The plasmashell process still consumes huge amount of processing time
immediately from the login
* During that time, many plasma things don't work, including the "Start menu"
or whatever KDE calls it, the status bar with the notification icons, etc.

Maybe it helps to re-state what the problem is (the fact that the wallpaper
doesn't show immediately, which you fixed in the patch, is only one problem).
The main problem is that, now, Plasma appears to "scan and read" the whole
image collection immediately after log-in (not sure what for), and this freezes
the rest of plasma desktop for a considerable while. (More than 10 minutes on
this machine... I.e., I don't log out any more, I just lock the screen instead,
because logging in to a working system takes ages.)

In earlier versions, there was no problem like this. I don't know what changed
internally, but the explanation in Comment #13 sounds correct to me.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-26 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #32 from David Redondo  ---
Hi, does the following patch help? 
It shows the last image shown the last time on startup, which should signal
ealier that wallpaper.loading = false;

diff --git a/wallpapers/image/image.cpp b/wallpapers/image/image.cpp
index b36d4f2d6..f9aff9ce8 100644
--- a/wallpapers/image/image.cpp
+++ b/wallpapers/image/image.cpp
@@ -107,6 +107,9 @@ void Image::componentComplete()
 if (m_mode == SingleImage) {
 setSingleImage();
 } else if (m_mode == SlideShow) {
+// show the last image shown the last time
+m_wallpaperPath = m_wallpaper;
+emit wallpaperPathChanged();
 startSlideshow();
 }
 }
(END)

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-25 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=371455

Christoph Feck  changed:

   What|Removed |Added

 CC||k...@david-redondo.de

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-25 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #31 from Yuking  ---
(In reply to Christian from comment #27)
> I have no experience in debugging KDE but started comparing versions and
> files because this bug is "bugging me".
> 
> Could it be that this commit introduced the behaviour? It's the only change
> I could find that seems to be related to the background slideshow.
> https://github.com/KDE/plasma-workspace/commit/
> ea32a7611227ca141bd60d983d1489d2be82d10f#diff-
> 821d7994d425d401a2d150dca027d8dc
> 
> My guess is that replacing the old code:
> m_timer.stop();
> m_slideshowBackgrounds.clear();
> m_unseenSlideshowBackgrounds.clear();
> BackgroundFinder *finder = new BackgroundFinder(this, m_dirs);
> m_findToken = finder->token();
> connect(finder, &BackgroundFinder::backgroundsFound, this,
> &Image::backgroundsFound);
> finder->start();
> 
> with the new code:
> m_timer.stop();
> m_slideshowModel->reload(m_slidePaths);
> connect(m_slideshowModel, &SlideModel::done, this,
> &Image::backgroundsFound);
> 
> somehow causes the whole plasma background to wait until all the paths have
> been scanned. Maybe the purpose of starting the "finder" after connecting it
> was just this, to avoid the delay?
> 
> Just a guess.

In 5.16, a QStringList stores all pictures' paths, but the information of each
picture will not be checked before it is displayed. In 5.17, the QStringList is
removed, and all pictures' information are checked while creating the
background 's list. That is why it is so slow.
I tried to fixed it, but found the only way is rollbacking the codes to 5.16
...

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

   Severity|normal  |major

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-22 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #30 from Yuking  ---
(In reply to Christian from comment #27)
> I have no experience in debugging KDE but started comparing versions and
> files because this bug is "bugging me".
> 
> Could it be that this commit introduced the behaviour? It's the only change
> I could find that seems to be related to the background slideshow.
> https://github.com/KDE/plasma-workspace/commit/
> ea32a7611227ca141bd60d983d1489d2be82d10f#diff-
> 821d7994d425d401a2d150dca027d8dc
> 
> My guess is that replacing the old code:
> m_timer.stop();
> m_slideshowBackgrounds.clear();
> m_unseenSlideshowBackgrounds.clear();
> BackgroundFinder *finder = new BackgroundFinder(this, m_dirs);
> m_findToken = finder->token();
> connect(finder, &BackgroundFinder::backgroundsFound, this,
> &Image::backgroundsFound);
> finder->start();
> 
> with the new code:
> m_timer.stop();
> m_slideshowModel->reload(m_slidePaths);
> connect(m_slideshowModel, &SlideModel::done, this,
> &Image::backgroundsFound);
> 
> somehow causes the whole plasma background to wait until all the paths have
> been scanned. Maybe the purpose of starting the "finder" after connecting it
> was just this, to avoid the delay?
> 
> Just a guess.

Sorry, that patch has big prolem, please ignore it...

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-22 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #29 from Yuking  ---
(In reply to Christian from comment #27)
> I have no experience in debugging KDE but started comparing versions and
> files because this bug is "bugging me".
> 
> Could it be that this commit introduced the behaviour? It's the only change
> I could find that seems to be related to the background slideshow.
> https://github.com/KDE/plasma-workspace/commit/
> ea32a7611227ca141bd60d983d1489d2be82d10f#diff-
> 821d7994d425d401a2d150dca027d8dc
> 
> My guess is that replacing the old code:
> m_timer.stop();
> m_slideshowBackgrounds.clear();
> m_unseenSlideshowBackgrounds.clear();
> BackgroundFinder *finder = new BackgroundFinder(this, m_dirs);
> m_findToken = finder->token();
> connect(finder, &BackgroundFinder::backgroundsFound, this,
> &Image::backgroundsFound);
> finder->start();
> 
> with the new code:
> m_timer.stop();
> m_slideshowModel->reload(m_slidePaths);
> connect(m_slideshowModel, &SlideModel::done, this,
> &Image::backgroundsFound);
> 
> somehow causes the whole plasma background to wait until all the paths have
> been scanned. Maybe the purpose of starting the "finder" after connecting it
> was just this, to avoid the delay?
> 
> Just a guess.

I committed a patch to fix this problem, please check it. It works well on my
plasma git-pulling tonight.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-22 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #28 from Yuking  ---
Created attachment 125304
  --> https://bugs.kde.org/attachment.cgi?id=125304&action=edit
Desktop will not be frooze while a large amount of images presented when in
slidemode

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-19 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #27 from Christian  ---
I have no experience in debugging KDE but started comparing versions and files
because this bug is "bugging me".

Could it be that this commit introduced the behaviour? It's the only change I
could find that seems to be related to the background slideshow.
https://github.com/KDE/plasma-workspace/commit/ea32a7611227ca141bd60d983d1489d2be82d10f#diff-821d7994d425d401a2d150dca027d8dc

My guess is that replacing the old code:
m_timer.stop();
m_slideshowBackgrounds.clear();
m_unseenSlideshowBackgrounds.clear();
BackgroundFinder *finder = new BackgroundFinder(this, m_dirs);
m_findToken = finder->token();
connect(finder, &BackgroundFinder::backgroundsFound, this,
&Image::backgroundsFound);
finder->start();

with the new code:
m_timer.stop();
m_slideshowModel->reload(m_slidePaths);
connect(m_slideshowModel, &SlideModel::done, this,
&Image::backgroundsFound);

somehow causes the whole plasma background to wait until all the paths have
been scanned. Maybe the purpose of starting the "finder" after connecting it
was just this, to avoid the delay?

Just a guess.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-17 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #26 from Yuking  ---
Waiting for fixing this problem. Hope it is not a long time.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |HI

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-12 Thread Little Jhonnes
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #25 from Little Jhonnes  ---
Today there was one more update of kde and I still can not understand how a
problem that a few weeks ago did not exist becomes part of the system in this
way. After each update I test to see if it has been resolved and kde hangs for
a few minutes. I'm even thinking of using variety again to have the same
function on the system, at least in part. And thinking that was one of the
things that made me true to kde so far. I wish the developers luck.I'm very sad
about this.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-09 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=371455

Christian  changed:

   What|Removed |Added

 CC||k...@moin.fi

--- Comment #24 from Christian  ---
Same here on Plasma 5.17.4 - this bug hit me when that version became stable on
Gentoo amd64.

My large collection is on a local drive, i.e., the network is definitely not
the problem.

Probably the same bug behaviour can be seen when opening the Background
settings, choosing Slideshow, and then adding a folder with a large number of
images (in subfolders). This causes the settings window to freeze for minutes.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-04 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #23 from Sébastien P.  ---
As I said on the duplicate issue:
> plasmashell process with 100% CPU on one core during the switching of picture.
> 50Gio for 10929 files for me.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-04 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

Sébastien P.  changed:

   What|Removed |Added

   Keywords||regression
 CC||sebastien.pica...@gmail.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-04 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #22 from Sébastien P.  ---
(In reply to Nate Graham from comment #5)
> Wallpaper processing was massively simplified for Plasma 5.17. Can anyone
> who was originally experiencing this issue still reproduce it in Plasma 5.17?

Hi Nate!
This issue appears with 5.17 for me :/. No problem with 5.16.5.
I switched from frameworks 5.60 to 5.64 at the begging of December (no issue at
that moment). I switched from 5.16.5 to 5.17.4 this week. It “created” the
issue.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-04 Thread Sébastien P .
https://bugs.kde.org/show_bug.cgi?id=371455

Sébastien P.  changed:

   What|Removed |Added

 CC||xwaang1...@gmail.com

--- Comment #21 from Sébastien P.  ---
*** Bug 413934 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-03 Thread pard
https://bugs.kde.org/show_bug.cgi?id=371455

pard  changed:

   What|Removed |Added

 CC||p...@post.cz

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #20 from Nate Graham  ---
If it was, the bug would be marked as RESOLVED. :)

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-02 Thread Little Jhonnes
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #19 from Little Jhonnes  ---
Was it solved?

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2020-01-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

 CC||johnr...@comcast.net

--- Comment #18 from Nate Graham  ---
*** Bug 395972 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-26 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #17 from Yuking  ---
Plasma works fine while just replacing plasma-workspace-5.17.4 with 5.16.4...

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-14 Thread Little Jhonnes
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #16 from Little Jhonnes  ---
(In reply to Yuking from comment #13)
> 5.16.4 is OK, but 5.17.4 is very slow.
> It seems that, in 5.17.4, the wallpaper plugin will check every image before
> desktop is usable, so, if there has many many images, this procedure will be
> very very slow.

It was the best description. This occurs both for starting the system after the
splash screen and for returning the lock screen login when slideshow with many
wallpapers is set up.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-14 Thread Little Jhonnes
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #15 from Little Jhonnes  ---
Hello! A few days ago I noticed a bug that made my kde lock screen crash and
only come back a few minutes later, usually 10 to 15 minutes. This occurs when
the lock screen is in "slideshow" mode and the folder (or folders) configured
with the images has too many images. A similar bug occurs if the desktop is set
to "slideshow" and the folder has too many wallpapers. In this case, what
happens is that the system takes a long time to leave the presentation screen
and go to the desktop. I do not know what the limit of wallpapers seems
reasonable to the system, but the absurd amount I have (over 30 thousand) makes
the system have this problem. When I used debian and kde was 5.12 I never
noticed any of them, so it's probably something in kde 5.17, because even in
5.16, which I remember using in Manjaro, there weren't any of these problems

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #14 from Nate Graham  ---
*** Bug 415119 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-12 Thread Little Jhonnes
https://bugs.kde.org/show_bug.cgi?id=371455

Little Jhonnes  changed:

   What|Removed |Added

 CC||littlejhon...@gmail.com

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-06 Thread Yuking
https://bugs.kde.org/show_bug.cgi?id=371455

--- Comment #13 from Yuking  ---
5.16.4 is OK, but 5.17.4 is very slow.
It seems that, in 5.17.4, the wallpaper plugin will check every image before
desktop is usable, so, if there has many many images, this procedure will be
very very slow.

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

[plasmashell] [Bug 371455] Slide show wallpaper massively slows down login when many images are configured

2019-12-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=371455

Nate Graham  changed:

   What|Removed |Added

Version|5.8.2   |5.17.4
Summary|Slide show wallpaper|Slide show wallpaper
   |massively slows down login  |massively slows down login
   ||when many images are
   ||configured
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

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