Bug 503250 - dolphin_directorysizemode.upd hangs
Summary: dolphin_directorysizemode.upd hangs
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-23 19:59 UTC by daron439
Modified: 2025-04-24 16:26 UTC (History)
1 user (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 daron439 2025-04-23 19:59:23 UTC
SUMMARY
$ /usr/libexec/kf6/kconf_update --debug /usr/share/kconf_update/dolphin_directorysizemode.upd 
kf.config.kconf_update: Checking update-file "/usr/share/kconf_update/dolphin_directorysizemode.upd" for new updates
kf.config.kconf_update: "dolphin_directorysizemode.upd" : Found new update "convert-directorysizecount-to-directorysizemode"
kf.config.kconf_update: "dolphin_directorysizemode.upd" : 5 :' "File=dolphinrc" ':  Parse error
kf.config.kconf_update: "dolphin_directorysizemode.upd" : 6 :' "Group=ContentDisplay" ':  Parse error
kf.config.kconf_update: "dolphin_directorysizemode.upd" : Running script "dolphin_directorysizemode.py"
kf.config.kconf_update: About to run "/usr/bin/python3"
kf.config.kconf_update: Script contents is:
 "import fileinput\n\nfor line in fileinput.input():\n    if line.startswith(\"DirectorySizeCount=true\"):\n        print(\"DirectorySizeMode=ContentCount\")\n    if line.startswith(\"DirectorySizeCount=false\"):\n        print(\"DirectorySizeMode=ContentSize\")\n\nprint(\"# DELETE DirectorySizeCount\")\n\n"
^[[Akf.config.kconf_update: "dolphin_directorysizemode.upd" : 7 :' "Script=dolphin_directorysizemode.py,python3" ':  update script did not terminate within 60 seconds: "/usr/bin/python3"
QProcess: Destroyed while process ("/usr/bin/python3") is still running.

And I think it slows down other parts of the startup, for example, xwaylanvideobridge fails to start with kf.statusnotifieritem: KDE platform plugin is loaded but SNI unavailable

STEPS TO REPRODUCE
1. Update to fc56f8f2f92b98ccb9a1da0ffcbb57d723dc33bb
2. /usr/libexec/kf6/kconf_update --debug /usr/share/kconf_update/dolphin_directorysizemode.upd 

OBSERVED RESULT
The command takes a long time to execute

EXPECTED RESULT
The command should execute quickly

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION