Bug 508717

Summary: uninstalling a symlinked widget removes the destination, not the symlink
Product: [Plasma] plasmashell Reporter: felix <felix8a>
Component: Widget Explorer sidebarAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: critical CC: nate
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description felix 2025-08-25 14:05:26 UTC
I'm playing with the code of a plasmoid in `~/src/my.widget`

I make a symlink 
  ln -s ~/src/my.widget ~/.local/share/plasma/plasmoids

Using "Add or manage widgets", I uninstall my widget.

I expect it to delete the symlink. instead, it deletes `~/src/my.widget`
Comment 1 Nate Graham 2025-08-26 20:07:03 UTC
Can confirm. Raising to critical severity because this causes data loss. The priority can stay normal though, because this isn't a default setup or something the user can easily do themselves without technical knowledge.

Still, worth fixing for sure,