Bug 499232 - 'Pair Device' button is hidden in an overflow menu on mobile/narrow window sizes
Summary: 'Pair Device' button is hidden in an overflow menu on mobile/narrow window sizes
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_bluetooth (show other bugs)
Version: unspecified
Platform: postmarketOS Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-01-28 06:15 UTC by Justin Zobel
Modified: 2025-01-30 03:28 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2025-01-28 06:15:02 UTC
When no devices are paired, a message is displayed 'No devices paired'. Adding a new device shouldn't need the user to go into the three dots menu.

Add the 'Pair Device' button to the main page as well.
Comment 1 Nate Graham 2025-01-28 22:00:58 UTC
This was part of an initiative to be less redundant in the UI; hence the explanatory text that says "Click Pair Device… to pair some". The idea was to show people where that button was rather than duplicating it in the placeholder message, because the duplicate would disappear the moment the placeholder message went away because you paired a device!

We follow the same UI style in other places like the KAccounts and Firewall KCMs.

Are you using Plasma Mobile? I saw you mentioned "the three dots menu" but that shouldn't be seen on the desktop.
Comment 2 Justin Zobel 2025-01-29 04:02:36 UTC
Yes sorry, this was the experience on mobile.
Comment 3 Nate Graham 2025-01-29 18:28:38 UTC
Right, yeah, I can see how there's a problem right now.

I'm not sure this is the right solution though, because after you pair the first device, the placeholder along with its "Pair" button will disappear, leaving you in the same situation you started in.
Comment 4 Nate Graham 2025-01-29 21:28:34 UTC
Aha, it looks like I can use a display hint to make sure it's always visible, at least in icons-only form. Let's do that. Then I'll make a pass through other KCMs to see what else could benefit from this.
Comment 5 Bug Janitor Service 2025-01-29 21:35:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/196
Comment 6 Nate Graham 2025-01-29 22:49:08 UTC
Made this part of a larger project to do the same thing in more relevant places: https://invent.kde.org/plasma/systemsettings/-/issues/42
Comment 7 Justin Zobel 2025-01-30 00:34:56 UTC
Thanks Nate, appreciate the speedy response and change!
Comment 8 Nate Graham 2025-01-30 03:28:25 UTC
Git commit 90af924ff058d66f2be980a70882f5d2f512b072 by Nate Graham.
Committed on 29/01/2025 at 21:35.
Pushed by ngraham into branch 'master'.

kcm: keep "Pair Device" always visible

Part of https://invent.kde.org/plasma/systemsettings/-/issues/42.

This is important especially for Plasma Mobile, where window widths are
highly constrained.
FIXED-IN: 6.3.0

M  +1    -0    src/kcm/ui/main.qml

https://invent.kde.org/plasma/bluedevil/-/commit/90af924ff058d66f2be980a70882f5d2f512b072
Comment 9 Nate Graham 2025-01-30 03:28:55 UTC
Git commit 5d36acde6d07ce8f16506c5fca79e727db018b43 by Nate Graham.
Committed on 30/01/2025 at 03:28.
Pushed by ngraham into branch 'Plasma/6.3'.

kcm: keep "Pair Device" always visible

Part of https://invent.kde.org/plasma/systemsettings/-/issues/42.

This is important especially for Plasma Mobile, where window widths are
highly constrained.
FIXED-IN: 6.3.0


(cherry picked from commit 90af924ff058d66f2be980a70882f5d2f512b072)

Co-authored-by: Nate Graham <nate@kde.org>

M  +1    -0    src/kcm/ui/main.qml

https://invent.kde.org/plasma/bluedevil/-/commit/5d36acde6d07ce8f16506c5fca79e727db018b43