Bug 505714

Summary: Way to delete an environment variable is unclear
Product: [Applications] systemsettings Reporter: dida <dieter.dannerbeck>
Component: kcm_flatpakAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: dbogdan.d3, joshiesuhaas0, kde, nate
Priority: NOR Keywords: junior-jobs
Version First Reported In: 6.4.80   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot

Description dida 2025-06-17 22:30:24 UTC
Created attachment 182339 [details]
Screenshot

Once you set an environment variable, you can not delete it.


STEPS TO REPRODUCE
Under Advanced Permissions -> Environment + Add New...
Set a Variable. You can't delete it. A button or so on is missing.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE Linux "banana" - 6.15.2-arch1-1 (64-bit)
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Comment 1 Nate Graham 2025-06-18 15:07:44 UTC
Normally I'd characterize this as Wishlist since it's requesting new functionality, but in this case I'm going to set it to Major since it's a significant UX issue that allows you to get into a position where you effectively can't undo changes you made.
Comment 2 Nate Graham 2025-09-18 21:18:10 UTC
*** Bug 482531 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2025-09-26 14:40:04 UTC
You can delete them. It's just the UX being bad.

Uncheck, click save.
Next time you open it, it'll be gone.

It's part of our "don't edit until you apply" pattern that doesn't quite work everywhere.