| Summary: | Collapse entry button does nothing when clicked when there's only one item | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | ratijas <me> |
| Component: | kcm_keys | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/753eff38aa2adb47bf1fbd848ef5004b7cbd37da | Version Fixed/Implemented In: | 5.26.5 |
| Sentry Crash Report: | |||
|
Description
ratijas
2022-11-22 21:18:40 UTC
This happens when there's only one shortcut in the list for that app/service/whatever. In this case, I guess we should remove the collapse button, since it doesn't serve a purpose and doesn't work anyway. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1269 Git commit f05593c29f968a14cf214d9dd6994f6150d6b8e0 by Nate Graham. Committed on 30/11/2022 at 03:51. Pushed by ngraham into branch 'master'. kcm/keys: don't allow collapsing single shortcut ation list items The purpose of collapsibility is to have only one item at a time expanded in multi-item lists. But when there's only one item, this doesn't make sense, and the button doesn't even do anythign when clicked. So let's hide it. FIXED-IN: 5.26.5 M +2 -0 kcms/keys/package/contents/ui/ShortcutActionDelegate.qml M +3 -1 kcms/keys/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/f05593c29f968a14cf214d9dd6994f6150d6b8e0 Git commit 753eff38aa2adb47bf1fbd848ef5004b7cbd37da by Nate Graham. Committed on 30/11/2022 at 14:42. Pushed by ngraham into branch 'Plasma/5.26'. kcm/keys: don't allow collapsing single shortcut ation list items The purpose of collapsibility is to have only one item at a time expanded in multi-item lists. But when there's only one item, this doesn't make sense, and the button doesn't even do anythign when clicked. So let's hide it. FIXED-IN: 5.26.5 (cherry picked from commit f05593c29f968a14cf214d9dd6994f6150d6b8e0) M +2 -0 kcms/keys/package/contents/ui/ShortcutActionDelegate.qml M +3 -1 kcms/keys/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/753eff38aa2adb47bf1fbd848ef5004b7cbd37da |