[Bug]: Device card's "Slot N" reads like the Easy-Switch channel

Open Beginner friendly
#2,323 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
desktop

Research direction

Start from the translation key device.receiver_slot_number, which currently renders as "Slot %{number}", and find every place it is used: the card corner, the tooltip, the connection summary line, and the fallback name for unidentified paired devices. Decide whether the summary line should keep "Slot N" as the issue suggests, then change the wording and check the card corner still fits. Done when the card reads "Receiver slot N" and the other surfaces match the agreed wording.

Written by the indexing model from the issue text.

Description

area: gui needs: decision platform: all type: bug
Pre-flight checklist
  • I searched existing issues and this is not a duplicate.
  • I am on the latest release or a recent master build.
  • I quit Logi Options+ before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).
Which part of OpenLogi?

GUI (desktop app)

OpenLogi version

0.8.20 (master @ d015c759)

Operating system

macOS

OS version & architecture

macOS 27.0.1, Apple Silicon

Device model

MX Master 3S + Logi Bolt receiver

How is the device connected?

Logi Bolt receiver

Affected area(s)
  • Device discovery / detection
  • Button remapping
  • DPI control
  • SmartShift
  • Per-application profiles
  • Battery status
  • Settings / configuration (TOML)
  • Auto-update
  • Menu bar / tray
  • Other
What happened?

MX Master 3S on a Bolt receiver. Its Easy-Switch channels 1 and 2 are both paired to the same Bolt receiver, in receiver slots 2 and 1.

With the mouse on channel 1, the card says Slot 2:

Device card showing Slot 2 while the mouse is on channel 1 Mouse Easy-Switch light on channel 1

Switch the mouse to channel 2 and the card says Slot 1 (the other card is the channel 1 pairing, now offline):

Device card showing Slot 1 while the mouse is on channel 2; the second card is offline Mouse Easy-Switch light on channel 2

So the number on the card and the number lit on the mouse are swapped. Both are technically correct: "Slot N" is the Bolt receiver's pairing index (1–6; openlogi list prints slot 2 too), and the light is the mouse's Easy-Switch channel (1–3). But the card only says "Slot", and the mouse labels its channels 1/2/3, so it reads as "the app thinks I'm on the wrong channel".

(The two cards for one mouse are #1560 / #1562, a separate problem.)

Context: #1802 renamed this from "Channel" to "Slot" for exactly this reason. "Slot" alone still doesn't say whose slot. Related: #1804 (a receiver slots page in Settings).

Expected / proposed fix

Minimal: say whose slot it is. Change device.receiver_slot_number from Slot %{number} to Receiver slot %{number}. It's used for the card glance, the card tooltip / list row / detail connection line (connection_summary), and the fallback name of an unidentified paired device.

  • The summary would then read "Bolt receiver · Receiver slot 2", which repeats "receiver". Either accept that, or keep "Slot N" there (the route label already names the receiver) and only use "Receiver slot N" for the card glance and the name fallback.
  • If "Receiver slot 2" is too wide for the card corner, keep "Slot 2" there and put "Receiver pairing slot 2" in the tooltip.

Fuller (optional): also show the Easy-Switch channel when it's known, e.g. Receiver slot 2 · Channel 1. The GUI already gets EasySwitchHosts.current from the 0x1815 read (ReadEasySwitchHosts), and device.easy_switch_channel = "Channel %{channel}" already exists. But that read only happens for the selected device's detail page right now, so the gallery cards would need it fetched (or pushed by the agent) per device. Probably a follow-up.

Happy to send a PR for the minimal version.

Steps to reproduce
  1. Pair one mouse to the same Bolt receiver on two Easy-Switch channels (here: channel 1 → receiver slot 2, channel 2 → receiver slot 1).
  2. Open OpenLogi with the mouse on channel 1. The card says "Slot 2".
  3. Switch the mouse to channel 2. The card now says "Slot 1".
Diagnostics report

openlogi list output
Logi Bolt Receiver (vid=046d pid=c548)
  └─ slot 2 ● MX Master 3S (mouse, wpid=b034, battery=25% low (discharging))
          model_ids=[b034,0000,0000] ext=00 transports=btle
Logs

macOS permissions (if applicable)
  • OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
  • OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).
Dominant language
Rust
Stars
26.4k
Forks
1k
Avg merge
3d 9h
Merged PRs (30d)
103

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AprilNEA/OpenLogi

All issues in AprilNEA/OpenLogi

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.