Bug 501406 - Plasma at startup searching for plasma/desktoptheme/default/colors and other paths but libplasma do not provide it
Summary: Plasma at startup searching for plasma/desktoptheme/default/colors and other ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 6.3.3
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-12 13:05 UTC by zvova7890
Modified: 2025-03-29 14:47 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zvova7890 2025-03-12 13:05:57 UTC
SUMMARY
I noticed that plasma startup not as fast as could be. So I decided to strace it and found that during plasma startup I have tons of this:
access("plasma/desktoptheme/default/translucent/colors", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/vova7890/.local/share/plasma/desktoptheme/default/translucent/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/vova7890/.local/share/flatpak/exports/share/plasma/desktoptheme/default/translucent/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/var/lib/flatpak/exports/share/plasma/desktoptheme/default/translucent/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/local/share/plasma/desktoptheme/default/translucent/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/share/plasma/desktoptheme/default/translucent/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
access("plasma/desktoptheme/default/colors", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/vova7890/.local/share/plasma/desktoptheme/default/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/vova7890/.local/share/flatpak/exports/share/plasma/desktoptheme/default/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/var/lib/flatpak/exports/share/plasma/desktoptheme/default/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/local/share/plasma/desktoptheme/default/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/share/plasma/desktoptheme/default/colors", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffcf304a550) = -1 ENOENT (No such file or directory)

Checked also on neon unstable - I don't see such paths anywhere.

$ grep -c 'plasma/desktoptheme/default/translucent/colors' plasma-file-access.log 
109200

STEPS TO REPRODUCE
1. Start plasmashell with strace
2. Observe many tries to access not existing files

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 94.0 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: ASUS
Comment 1 John Kizer 2025-03-26 17:48:18 UTC
Hi - just checking, do you observe the same issue under a newly-created user account on your device?
Comment 2 zvova7890 2025-03-29 14:47:51 UTC
Yes. Just checked - the same