Bug 486048 - desktop not refreshing properly after deleting files or folders and showing duplicated icons
Summary: desktop not refreshing properly after deleting files or folders and showing d...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2024-04-24 02:06 UTC by LuneLovehearn
Modified: 2024-09-15 03:47 UTC (History)
3 users (show)

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


Attachments
video showing the bug under wayland (116.97 KB, video/mp4)
2024-04-24 02:12 UTC, LuneLovehearn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LuneLovehearn 2024-04-24 02:06:41 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

when managing files or folders on the plasma desktop, and deleting them, the desktop makes a duplicate of a folder that you can't interact with, and if you have a .desktop file that links to trash:/ , with custom or vanilla icons, it doesn't refresh properly.  it only refreshes when changing how the icons are organized. 
STEPS TO REPRODUCE
1. extract or make a folder on the desktop and create files on the desktop
2. send the folder to the trash
3. the desktop makes a duplicate icon of the folder, that you can't interact with, and if you have the trash as a .desktop icon, it doesn't update the icon properly.

OBSERVED RESULT
unless you restart plasma or change how icons are arranged, it refreshes to some degree but the desktop icon for trash.

EXPECTED RESULT
have the desktop refresh instantly when managing files or folders, and have the .desktop file that links to the trash also reflect the full empty status just like on dolphin. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
the bug happens under Wayland.
Comment 1 LuneLovehearn 2024-04-24 02:12:04 UTC
just checked, and the bug doesn't happen under X11.
Comment 2 LuneLovehearn 2024-04-24 02:12:44 UTC
Created attachment 168852 [details]
video showing the bug under wayland
Comment 3 Nate Graham 2024-08-16 15:39:04 UTC
Are you still able to reproduce this in Plasma 6.1? IIRC this is a bug we already fixed.
Comment 4 Bug Janitor Service 2024-08-31 03:47:48 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2024-09-15 03:47:03 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.