https://bugs.kde.org/show_bug.cgi?id=465502
Bug ID: 465502 Summary: Flatpak KCM generates broken override config Classification: Applications Product: systemsettings Version: master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_flatpak Assignee: plasma-b...@kde.org Reporter: m...@ratijas.tk CC: joshiesuha...@gmail.com Target Milestone: --- SUMMARY Somehow Flatpak KCM ended up generating the following file: $HOME/.local/share/flatpak/overrides/cc.arduino.IDE2: ``` [Environment] B=D D D D D D A=B [System Bus Policy] ``` Also `flatpak list` command crashed because of it, but it has been fixed already. Still we should not generate malformed useless overrides. See discussions at https://invent.kde.org/plasma/flatpak-kcm/-/merge_requests/35 STEPS TO REPRODUCE 1. Open Flatpak KCM 2. Open any app's page 3. Scroll down to advanced settings, expand and scroll further down to Environment. 4. Add some environment variables through the dialog. The dialog does not clean up previous values, so you may try add the same pairs multiple times, or even omit key or value. OBSERVED RESULT Config is broken, `flatpak list` crashes. EXPECTED RESULT Reasonable warning and error messages in UI, sanitizing input, not writing malformed config to file. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: git-master Qt Version: 5.15.8 Kernel Version: 6.1.9-arch1-2 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2 Manufacturer: ASUSTeK COMPUTER INC. Product Name: G752VT System Version: 1.0 See also: https://github.com/flatpak/flatpak/issues/5293 -- You are receiving this mail because: You are watching all bug changes.