Commit graph

1572 commits

Author SHA1 Message Date
Vukašin Vojinović
ea349aca82 chore: use std::syncLazyLock
Also migrates workspace members to Rust 2024.
2025-09-03 21:54:46 +02:00
Vukašin Vojinović
b72b15d719 chore: update dependencies 2025-09-03 21:54:46 +02:00
UchiWerfer
c5df9dcf88
fix(calendar): show button icons on non-Linux targets 2025-09-03 19:35:37 +02:00
Ashley Wulber
f5f7c14f03 chore: update cctk 2025-09-03 19:33:34 +02:00
Tony4dev
2dd6dce053
improv(about): support custom license URLs 2025-09-03 14:49:35 +02:00
Ashley Wulber
4d06524f2c chore: update iced 2025-09-02 18:03:05 +02:00
Ashley Wulber
364c0b9381 refactor(theme): .65 opacity for disabled button text 2025-08-26 15:22:22 -06:00
Ashley Wulber
94ee4e1915 theme: fix disabled button 2025-08-26 13:18:23 -06:00
Ashley Wulber
6f1fe2a28b chore: update libcosmic 2025-08-25 17:35:21 +02:00
Ian Douglas Scott
66a2632e2e fix(cosmic-config): Fixes for error printing
* Use `tracing::error!` in places where `eprintln!` was used
* Loop over errors and print seperately
* Print errors with `Display` rather than `Debug`
* Don't print errors that should be ignored
  - Matches https://github.com/pop-os/libcosmic/pull/949, for same
    reasons.

With this, and the previous change, cosmic-panel no longer spams a bunch
of config errors from different applets on start.
2025-08-23 00:49:31 +02:00
Ian Douglas Scott
2d62503fdf
fix: don't error when default config for toolkit settings is not present 2025-08-22 22:41:12 +02:00
Jeremy Soller
8415d77b0a
feat(settings/section): support custom header widgets 2025-08-21 10:51:36 -06:00
Soso
29f38f83a3
fix(about): wrong icon size in about widget 2025-08-20 17:33:55 +02:00
Ashley Wulber
ba2f4b193a fix(theme): control tint colors need to be reversed for light theme 2025-08-20 17:32:49 +02:00
Michael Aaron Murphy
e7b7c3a126 improv: enable dbus-config by default, but only for Linux targets 2025-08-20 17:31:26 +02:00
Michael Aaron Murphy
6e7a634398
fix(segmented_button): draw all indent levels 2025-08-19 16:31:19 +02:00
Michael Aaron Murphy
c10695600b
feat(segmented_button): add FileNav style with related widget improvements 2025-08-19 11:13:28 +02:00
Michael Aaron Murphy
8412dd5939
fix(image_button): improve rendering of selected image buttons 2025-08-13 21:39:29 +02:00
Michael Aaron Murphy
7712ec0021
fix(context_drawer): adjust fill portion when max_width < 392 2025-08-13 20:06:06 +02:00
Michael Aaron Murphy
95ebabf149
improv(segmented_button): hide focus state until tabbed 2025-08-13 12:20:22 +02:00
Michael Aaron Murphy
5434dc95d5
feat(segmented_button): pressed state style 2025-08-13 12:13:05 +02:00
Michael Aaron Murphy
4f423349a2
fix(segmented_button): duplicate focus fix 2025-08-13 11:18:58 +02:00
Michael Aaron Murphy
6a5076ecb7
fix(context_drawer): adjust header to avoid text wrapping 2025-08-12 22:20:28 +02:00
Ashley Wulber
989fcad99e fix(input): reset cursor and last click state on unfocus 2025-08-12 17:54:47 +02:00
Michael Aaron Murphy
8badf73383
improv(segmented_button): nav bar, tab, and segmented control theme improvements 2025-08-12 17:52:59 +02:00
Friedrich
562e885872 Make ashpd optional for async-std feature 2025-08-06 09:15:00 -06:00
Ashley Wulber
b58d864e85 chore: update iced 2025-07-31 20:26:26 +02:00
Ashley Wulber
05874e8ea2 fix: theme updates 2025-07-29 16:18:50 -04:00
wiiznokes
5e136f9499
fix!(windows): remove desktop dependency for the about feature
BREAKING CHANGE: Icon must be provided as a handle instead of a string.
2025-07-28 16:33:22 +02:00
Jeremy Soller
2099dc45cb fix(header_bar): increase title portion based on maximum left or right portion 2025-07-24 15:45:03 -06:00
Ashley Wulber
1b988ed1e9 fix(theme change): make sure that all theme variables are in sync after a change 2025-07-24 12:59:36 -06:00
Ashley Wulber
c40eb87611 fix(context-menu): close menu if pressed out of bounds and open 2025-07-24 14:37:24 -04:00
Ashley Wulber
3c13669865 fix: close context menu on escape press 2025-07-24 14:37:24 -04:00
Jeremy Soller
5aa025af7d context-menu: allow borrowed content 2025-07-24 14:37:24 -04:00
Ashley Wulber
8ebd06bed0 chore: more style updates 2025-07-24 17:03:35 +02:00
Ashley Wulber
8c4cb2e54f chore: theme color updates 2025-07-21 22:59:30 +02:00
Ian Douglas Scott
b8eaad2a7e
feat: add dbus_connection() method to app::Application trait 2025-07-21 22:59:09 +02:00
Vukašin Vojinović
38dde24f96 chore(applet): add spacing field 2025-07-21 10:52:22 -04:00
Vukašin Vojinović
ec7a531539 chore: use with_alpha() where applicable 2025-07-21 10:52:22 -04:00
Ashley Wulber
7748e59ae6 refactor: better method of implementing tinted control colors 2025-07-17 17:04:04 -04:00
Ashley Wulber
0041fc2d12 Revert "refactor: introduce new palette colors for control tint"
This reverts commit b8f9dc6cb0af2115ff0a0ec2ff9d35076ace16b8.
2025-07-17 17:04:04 -04:00
Ashley Wulber
364af2bcdf refactor: introduce new palette colors for control tint
neutral colors will not be tinted anymore
2025-07-17 09:54:46 -04:00
Ashley Wulber
0943f131c2 refactor: track focus chain 2025-07-16 22:23:13 +02:00
Ashley Wulber
50367b96e3 fix(headerbar): handle zero length segments 2025-07-08 23:07:54 +02:00
Jeremy Soller
aaa4b83577
Fix bundling of header bar icons 2025-07-01 09:30:27 -06:00
8roken
52b802a11a fix(cosmic-config): Avoid dual notifications in transaction commits
When a transaction gets committed, the files gets written to a file in
the .atomicwrite[0-9a-Z] folder and then gets moved to their final
location. The watcher will emit two events:

- Modify(Name(To))
- Modify(Name(Both)

The last one will include both the source and the destination and is
essentially a duplicate of the first event. By discarding this event,
behavior seems to be the same, and all consumers of those events get
only notified once instead of twice when a configuration changes.
2025-06-27 19:57:35 +00:00
Jeremy Soller
dfdca0ef81
fix(menu): make shortcut text 75 percent opacity 2025-06-27 09:53:20 -06:00
Joshua Megnauth
46cbce033b
fix(header_bar): Windows build fix 2025-06-26 06:36:52 +02:00
Ashley Wulber
7555d9dfd1 cargo fmt 2025-06-25 19:37:52 -04:00
Ashley Wulber
7fb514bfac fix(menu): only draw within intersection of viewport bounds 2025-06-25 19:37:52 -04:00