Bug 466877 - Adding filesystem path access messes up the following checkboxes
Summary: Adding filesystem path access messes up the following checkboxes
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_flatpak (show other bugs)
Version: 5.27.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://invent.kde.org/plasma/flatpak...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 11:04 UTC by Karl Ove Hufthammer
Modified: 2023-04-20 13:11 UTC (History)
3 users (show)

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


Attachments
Video demonstrating checkbox bug (1.52 MB, video/x-matroska)
2023-03-05 11:04 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2023-03-05 11:04:42 UTC
Created attachment 157007 [details]
Video demonstrating checkbox bug

SUMMARY
If you add a new filesystem path access, the following checkboxes are messed up, e.g., one is completely missing a label, and other checkboxes change name when you click on them. See the attached video demonstrating the bug.


STEPS TO REPRODUCE
1. Choose an application.
2. Click the ‘Add New’ button and add a new path.
3. Click on any of the following checkboxes.

OBSERVED RESULT
The checkboxes change labels when clicked on, and one has no label initially.

EXPECTED RESULT
Checkboxes should stay the same as before clicking adding a path.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230303
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0
Comment 1 Bug Janitor Service 2023-03-05 11:33:49 UTC
Thank you for the bug report!

However Plasma 5.20.2 is no longer eligible for support or maintenance from KDE; supported versions are 5.27, and 5.27 or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.20.2, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
Comment 2 Karl Ove Hufthammer 2023-03-05 11:46:50 UTC
Reopening. I’m actually on Plasma 5.27.2, and the bug is present in Plasma 5.27.2. (It was the automatic bug reporting feature that automatically selected the incorrect, older Plasma version.)
Comment 3 Nate Graham 2023-03-07 21:15:01 UTC
Confirmed. This can even cause the expandable "Advanced permissions" item to disappear if it's currently collapsed.
Comment 4 ratijas 2023-03-13 15:19:38 UTC
Can confirm that the Filesystems section handles "enabled" state totally wrong. Will be fixed in a rewrite soon™
Comment 5 ratijas 2023-03-13 15:22:36 UTC
Actually, after watching the video, I'd say it's one the countless cases of the model using wrong dataChanged() signal instead of beginInsertRows/endInsertRows. Has nothing to do with a separate bug of handling checked state wrong. Will be fixed in a rewrite™ too