Commit graph

33 commits

Author SHA1 Message Date
Ashley Wulber
703a934b09 fix: retry connection to settings daemon and allow requests for brightness values 2026-05-12 16:22:00 -04:00
Ashley Wulber
3639bafcfa chore: update libcosmic after reexports were removed 2026-04-10 16:39:09 +02:00
Hojjat
0b9a8cd9c8 fix(bluetooth): call connect() after pair() for unpaired devices
Calling pair() works for keyboards since they do a PIN confirmation
afterward and connect later. For headphones we can connect right away.
Calling pair and connect works for both.
2026-03-23 20:09:08 +01:00
Hojjat
28fb6cc4af fix(bluetooth): call pair() for unpaired devices before connecting 2026-03-20 17:51:24 +01:00
mikairyuu
243d302447
fix(bluetooth): show connected devices without pairing bonds
BlueZ exposes `Paired` and `Connected` as separate states, but the
Bluetooth page currently conflates them in a few places.

As a result, devices that connect successfully without creating a
pairing bond can fail to appear as connected in COSMIC Settings.

This patch separates those two concepts in the UI/state handling:
- initialize a device as connected from `Connected`, not from
  `Connected && Paired`,
- do not let `Paired` updates mutate connection state,
- treat paired or currently connected devices as "known" devices in
  the main device list,
- keep `Forget` available only for actually paired devices.

## User-visible effect

This fixes cases such as the DualShock 3, where the controller is
successfully connected but does not show up as connected in the
Bluetooth settings page.

## Notes

This also matches the behavior already used in
`cosmic-applet-bluetooth`, which treats `Connected` and `Paired` as
separate states and reports a device as connected based on
`is_connected()`, not on pairing state.

A follow-up could rename the section/title to better reflect that it
now contains paired-or-connected devices rather than only paired ones.

- [x] I have disclosed use of any AI generated code in my commit
messages.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-03-19 20:53:31 +01:00
Ashley Wulber
cf7fc32adf
feat: libcosmic iced 0.14 rebase 2026-03-17 21:56:55 +01:00
Vukašin Vojinović
787c5ed49f chore: clippy 2026-02-20 12:46:57 +01:00
Vukašin Vojinović
6e022755f1 chore: update dependencies 2026-02-20 12:46:57 +01:00
Michael Aaron Murphy
0a1f4901cd release: 1.0.7 2026-02-17 11:02:57 -07:00
Lukas
f5f6d3e8f0
fix(network): show missing WPA3-only networks 2026-02-12 19:56:21 +01:00
Michael Aaron Murphy
1139e34928 fix(sound): only consider active routes when setting volume and mute-ness 2026-02-12 13:54:54 -05:00
Ashley Wulber
55b502dff3 fix: update connection if the secret channel is not available, but password is 2026-02-02 15:11:36 -05:00
Ashley Wulber
f48bcde63b improv: network authentication 2026-01-29 13:45:02 -05:00
Ashley Wulber
6b4a3d565c
fix(secret): fail early if secret connection fails (#1777) 2026-01-23 13:26:46 -07:00
Ashley Wulber
42129c6b8c
fix: fallback to saving pw in system if secret agent channel is closed (#1759) 2026-01-15 15:02:41 -07:00
Michael Aaron Murphy
0de9c33822 chore: update dependencies 2026-01-13 20:50:45 +01:00
Michael Aaron Murphy
c05dad00de fix(a11y): listen to screen reader changes from org.a11y.Bus
Enables the screen reader toggle to toggle when using the shortcut.
2026-01-09 22:28:48 +01:00
Ashley Wulber
1eb345085d chore: clippy 2026-01-05 23:14:42 +01:00
Ashley Wulber
c4b84f96e1 fix: update a known connection on authentication if providing identity 2026-01-05 23:14:42 +01:00
Ashley Wulber
d9b0a6944a refactor: use secret agent for managing passwords 2026-01-05 23:14:42 +01:00
Michael Aaron Murphy
079a1fbb55 fix(sound): set route before setting default to fix headsets 2025-12-24 05:25:43 +01:00
Michael Aaron Murphy
9165b42099 fix(sound): do not set default device when active route is found 2025-12-08 22:57:54 +01:00
Michael Aaron Murphy
107f19b03e fix(sound): Use crate feature to disable auto-profile on init by default
Adds `auto-profile-init` feature to the subscription crate and then
adds it to cosmic-settings' import. When updating the applet, this
feature will be disabled by default.

Also makes a change to not auto-set the Off profile in case pipewire
reports the profile to be `Off`.
2025-12-04 20:44:06 +01:00
Michael Aaron Murphy
9aefd9b9d3 fix(cargo): no-default-features -> default-feature 2025-12-02 16:27:36 -05:00
Michael Aaron Murphy
031a1971b3 chore(sound-subscription): remove unused log dependency 2025-12-02 16:27:36 -05:00
Michael Aaron Murphy
8dfc4d06ea chore(sound-subscription): disable libcosmic default features 2025-12-02 16:27:36 -05:00
Michael Murphy
2c9f60cd5f
feat(sound): redesign with separate device profiles page (#1500) 2025-11-25 21:46:17 +01:00
Fred
b9dfcde7b1
feat(wifi): share public network with QR code 2025-11-11 16:21:45 +01:00
Vukašin Vojinović
1698734b28 chore: update dependencies
Adapts color picker drawers to new designs.
2025-11-05 11:00:46 +01:00
Vukašin Vojinović
b3be053f33 chore: clippy 2025-10-31 12:26:37 -04:00
Ashley Wulber
1cb442f2bf fix(bluetooth): disabling/enabling typo 2025-10-21 11:02:20 -04:00
Ashley Wulber
d613f7df3f fix: use rfkill when toggling bluetooth 2025-10-21 11:02:20 -04:00
Michael Aaron Murphy
600720b7d1 feat: merge subscriptions crate into cosmic-settings repo 2025-10-08 21:48:23 +02:00