https://bugs.kde.org/show_bug.cgi?id=497353

Nicolas Fella <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/bluedevil/-/commit/76da3
                   |                            |9982850734ede94ae1453eb90e3
                   |                            |fd0d0b70
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from Nicolas Fella <[email protected]> ---
Git commit 76da39982850734ede94ae1453eb90e3fd0d0b70 by Nicolas Fella.
Committed on 25/08/2025 at 10:12.
Pushed by nicolasfella into branch 'master'.

Rework adapter state save/restore

Currently we save the adapter power state, but only when rfkill is not blocked.

When the adapter is saved as powered on, and then we block bluetooth, the saved
state is never changed.

On next startup we then power the adapter on. Apparently on some systems that
results in the rfkill being undone and enables bluetooth when it shouldn't be.

To avoid this

1) Clear the adapter state list on save when bluetooth is blocked
2) Only changed the powered state for adapters where we have remembered a
power state, instead of defaulting to powering it on
Related: bug 507836

M  +5    -1    src/kded/devicemonitor.cpp

https://invent.kde.org/plasma/bluedevil/-/commit/76da39982850734ede94ae1453eb90e3fd0d0b70

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to