Bug 493725 - "There are a lot of files on your desktop."
Summary: "There are a lot of files on your desktop."
Status: RESOLVED DUPLICATE of bug 469445
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: master
Platform: Ubuntu Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-27 08:20 UTC by pflug
Modified: 2024-10-04 15:51 UTC (History)
4 users (show)

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


Attachments
Displayed Message (15.56 KB, image/png)
2024-09-27 08:20 UTC, pflug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pflug 2024-09-27 08:20:23 UTC
Created attachment 174131 [details]
Displayed Message

At the top of the desktop there is a message: 
"There are a lot of files and folders on the desktop. This can cause bugs and performance issues. Please consider moving some of them elsewhere."

How do I remove this message??

STEPS TO REPRODUCE
Upgrade from Kubuntu 22.04 LTS to 24.04 LTS 
Sometime during the upgrade this message appeared 


EXPECTED RESULT
A way to remove the annoying message?

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: offscreen
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 62.6 GiB of RAM
Graphics Processor: AMD Radeon RX 580 2048SP

Cheers
Comment 1 Nate Graham 2024-09-27 19:15:09 UTC
You don't; the message is there warn of exactly what its text says: that having that many items on the desktop can make Plasma perform poorly and become unstable.

Once we're able to fix the performance and stability issues caused by having this many items on your desktop, we'll remove the warning too. Until then, you're on your own. :)
Comment 2 pflug 2024-09-28 06:19:40 UTC
There are ONLY 16 icons on my Desktop!
2 of them folders with  4 & 5 files inside
That's it!!

What I have noted is:
When I try to select more than 1 icon (drawing a rectangle) from the desktop: the desktop freezes.
Sometimes it takes minutes before the desktop reacts again.

At the same time, mouse and program windows keep working 

Ok, I do have 3 physical screens and 8 virtual desktops!
I reduced the number of desktops to 4 - NO Change
Comment 3 Oliver Beard 2024-09-30 18:04:55 UTC
Could then be a similar issue with the screen mapping as in 474703.
Comment 4 Oliver Beard 2024-09-30 18:15:08 UTC
Here's some suggested steps:

1. Navigate to ~/.config
2. Make a copy of the plasma-org.kde.plasma.desktop-appletsrc file (just in case, and if this doesn't work, we might be able to look at it)
2. Open the plasma-org.kde.plasma.desktop-appletsrc file
3. Remove everything under the ScreenMapping group

Groups in our config files are defined by square brackets. You'll want to remove that group and everything under it, but not any other groups, or you'll lose your desktop, panels and widgets setup.
https://i.imgur.com/C56X3NY.png

4. Save the file, and restart Plasma.

You can restart Plasma by logging out and back in, restarting your computer or by running the command:
    systemctl restart --user plasma-plasmashell.service

If this works, please let us know! It's suspected that the ScreenMapping content has broke, and this would be covered by https://bugs.kde.org/show_bug.cgi?id=469445.
Comment 5 pflug 2024-10-01 07:14:09 UTC
Hi.
I did what you suggested - but it did not change :-(

I noted the following:
After resting  the plasma-plasmashell.service, the section is obviously "Empty at 1st"
and then gets populated with a number of entries!

When I checked, there where ONLY 18 Icons visible on the desktop!
Funny enough the [ScreenMapping] section listed 24 entries!
6 of them NOT visible!

I deleted the [ScreenMapping] section again and rebooted - NO luck - still the same :-)

I could force desktop freeze, by click& hold any empty desktop area
(like when trying to create a selection window)

Then, I deleted the file plasma-org.kde.plasma.desktop-appletsrc 
rebooted and guess what?
The desktop appeared with all 24 Icons!!
...and the message: "There are a lot of files and folders on the desktop.  is also gone :-)

I can now click anywhere on the desktop without freezes :-)

So for now that seems to be fixed for me.

Thanks for helping
Cheers
Jurgen
Comment 6 Oliver Beard 2024-10-04 15:51:02 UTC
It looks like the original ScreenMapping was being restored when Plasma was quit.

Happy to help.

Resolving as duplicate as it appears the content was broken by the issues with ScreenMapping.

*** This bug has been marked as a duplicate of bug 469445 ***