Summary: | visual marker for multi-selectable grid view items | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | fanzhuyifan |
Component: | general | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | 4wy78uwh, aleixpol, jgrulich, nate |
Priority: | NOR | ||
Version: | 5.92.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/eef3f4fdbda6f14c5bd38811a25bf12e248fccfa | Version Fixed In: | 6.0 |
Description
fanzhuyifan
2024-01-17 00:05:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/263 Git commit eef3f4fdbda6f14c5bd38811a25bf12e248fccfa by Nate Graham. Committed on 18/01/2024 at 18:21. Pushed by ngraham into branch 'master'. ScreenChooserDialog: overhaul interaction Requires https://invent.kde.org/frameworks/kirigami/-/merge_requests/1432. Right now this dialog has two modes: multi-select and single-select. The active mode is currently unclear, since nothing communicates whether the screen and window cards are multi-selectable or not. And in both modes, cards have no hover feedback, which is inconsistent with the KDE style for interactive UI elements. This commit fixes those issues by refining the UI in various ways: - Add hover feedback - Use the new "I have a checkbox now" styling for checkable cards when in the multi-select use case - In single-selection mode, select on single-click and hide the Share and Cancel buttons, since they're no longer needed. This matches the behavior of the App Chooser dialog, which works in the same way FIXED-IN: 6.0 M +2 -0 src/PipeWireDelegate.qml M +46 -18 src/ScreenChooserDialog.qml https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/eef3f4fdbda6f14c5bd38811a25bf12e248fccfa |