Repository navigation
Conversation
Complete overhaul of the Linux client UI with an iOS-inspired dark theme, plus several quality-of-life features and bug fixes. New QML components: - BatteryRing.qml: animated Canvas arc with charging indicator and unknown state (—) - IOSSwitch.qml: iOS-style toggle with containsMouse exposed for tooltips - CaseOpenPopup.qml: slide-in popup (top-right corner), drag support, 5s auto-close progress bar that pauses on hover, model image UI improvements (Main.qml / PodColumn.qml): - Frameless window with fixed header outside StackView for drag support - Adaptive height 310px (disconnected) / 540px (connected) with smooth animation - Escape key closes window; window position persisted via QSettings - Pod images and battery rings per ear/case New C++ features (main.cpp): - autoSwitchEnabled: automatically connect when Linux starts playing audio - bleAirPodsElsewhere: detect via BLE if AirPods are active on another device - takeOverAudio() Q_INVOKABLE: manual take-over button - saveWindowPos / savedWindowPos: persist window position across sessions - isEmpty() guards on all rootObjects/topLevelWindows to prevent ASSERT crash Bug fixes: - BLE battery nibble values 11-14 capped to 100% (were showing 110-140%) - Bluetooth address now persisted in QSettings (deviceinfo.hpp) - RSSI filter: ignore devices further than ~10m (< -60 dBm) - Font.SemiBold replaced with Font.DemiBold (not defined in Qt Quick) - Image paths corrected to qrc:/icons/assets/ prefix
- Only react to our own AirPods (IRK match) for the "in use elsewhere" state and the case lid popup; the previous fallback matched any nearby Apple device - Rate-limit auto-switch connection attempts (blocking bluetoothctl call was triggered on every BLE packet, freezing the UI) - Restore previous media-playing behaviour (always take over audio); autoSwitchEnabled only controls the extra BLE-based take-over - Relax RSSI filter to -80 dBm so our own AirPods' BLE battery updates are not dropped at a few metres - Only restart the BLE scan when it was not stopped on purpose; retry errors with exponential backoff and skip when the adapter is off - Replace Keys.onEscapePressed (cannot attach to a Window) with a Shortcut - Debounce window position saving instead of writing on every pixel - Popup: show real charging state, open on the main window's screen, use a TapHandler so it does not steal the drag - IOSSwitch: use Item's built-in enabled instead of shadowing it - Remove per-packet raw BLE debug log, translate comments to English
GoathierS
force-pushed
the
linux/ui-redesign-ios-theme
branch
from
October 14, 2026 07:45
a33ff48 to
37c7615
Compare
Member
|
QT version is not being maintained. check #241 |
Author
|
Thanks for the pointer, I misread it as a Qt version issue at first. Understood that the Qt client is being replaced by the Rust/iced app in #241. I'll leave this closed. Would you be interested in some of these features (iOS-style battery rings, case-open popup, auto-switch behaviour) being contributed to the Rust app once it lands on main, or is the UI there still in flux? |
Member
Very much so. I actually will be getting rid of the UI entirely and expose everything over dbus, to have separate frontends in whatever UI frameworks people would want. Thanks anyway! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete overhaul of the Linux client UI with an iOS-inspired dark theme, plus several quality-of-life features and bug fixes.
New QML components
containsMouseexposed for tooltips, usessignal toggled()to avoid binding breaksUI improvements
Shortcut); window position persisted across sessions (debounced)New C++ features
autoSwitchEnabled— while Linux is playing audio, take over the AirPods as soon as BLE shows they are free (attempts rate-limited to one every 15 s). The existing take-over when playback starts is unchangedbleAirPodsElsewhere— detects via BLE if the AirPods are active on another device (only for our own device, matched via IRK, so nearby strangers' AirPods are ignored)takeOverAudio()Q_INVOKABLE — manual take-over button in the UIsaveWindowPos/savedWindowPos— window position persisted via QSettingsBug fixes
Font.SemiBold→Font.DemiBold(SemiBold is undefined in Qt Quick)qrc:/icons/assets/prefixisEmpty()guards added before all.first()calls onrootObjects()/topLevelWindows()to prevent ASSERT crashTest plan
cmake .. && make -j$(nproc)inlinux/build/