Sosthène Guédon
067373d50f
Fix icon size in about widget
...
The icon is made to use 128px, the same size as before, and now also shrinks
in case the window is too small to fit the entire icon.
Fixes #937
2025-08-08 18:31:04 +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 b8f9dc6cb0 .
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
Jeremy Soller
a85b369399
Fix config watching
2025-06-23 11:20:48 -06:00
Michael Aaron Murphy
1af2f4ffe5
chore: format
2025-06-23 17:50:28 +02:00
Michael Aaron Murphy
90ad3e9e1b
improv(cosmic-config): use notifier debouncer on inotify watchers
2025-06-23 17:13:58 +02:00
Ashley Wulber
5be9611c8a
fix(segmented-button): context menu state management
2025-06-19 08:02:54 -06:00
Ashley Wulber
6be5403852
improv(header): remove title if condensed and better handle large fixed size elements
2025-06-18 18:02:21 -04:00
Ashley Wulber
b0f62a5109
improv: use full root menu width when using wayland popups
2025-06-18 16:04:44 -04:00
Ashley Wulber
bf9fc4c29f
fix(menu): disable slide_x for repositioned nested popups
2025-06-18 16:04:44 -04:00
Adrian Geipert
90ed634b06
chore: update syn to v2
2025-06-18 09:11:22 +02:00
Ashley Wulber
7d7274b801
fix(header-bar): allocate space that accounts for window controls
2025-06-18 09:10:37 +02:00
Ashley Wulber
12317d8103
chore: update iced
2025-06-12 15:27:30 -04:00
Ashley Wulber
00ba16fe01
refactor(menu): fallback behavior for non wayland windowing system
2025-06-12 10:21:45 -06:00
Ashley Wulber
ba72aed6fb
feat: context menu popups
2025-06-11 16:46:31 -04:00
Ashley Wulber
4c6061d40a
fix(menu inner): avoid unnecessary panic in debug builds.
2025-06-11 12:15:12 -04:00
Michael Aaron Murphy
3f4a50ee2c
chore: remove eprintln logs
2025-06-11 11:49:32 +02:00
Michael Aaron Murphy
8edbbec1e8
fix!(desktop): support launching terminal-based desktop entries
2025-06-11 09:26:18 +02:00
Michael Aaron Murphy
f835afa59c
fix(segmented_button): unfocus when clicking out of bounds
2025-06-11 09:26:18 +02:00
Ashley Wulber
96416c2a3f
fix(button): return from draw if there is no content layout
2025-06-10 18:57:06 -04:00
Ashley Wulber
7f2d34ead4
fix(menu-bar): exit early from popup creation if no root is hovered
2025-06-10 18:57:06 -04:00
Ashley Wulber
92ec78ba29
feat: menu bar popups
2025-06-10 18:22:07 +02:00
Eduardo Flores
5b77f37fde
feat: allow dialog resize
2025-06-02 04:17:57 +02:00
Josh Megnauth
944c6761f7
fix(windows): Mingw doesn't support trim
...
Closes : #872
2025-05-29 07:28:38 +02:00
Ryan Brue
6fb4a4a43e
Use size thresholds for panel sizing in libcosmic
...
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-05-28 15:10:00 -04:00
Ryan Brue
b73532f62f
Handle Custom panel size in libcosmic
...
The logic here is set up to mimic the current text sizes for the hardcoded panel sizes.
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-05-28 12:54:03 -04:00
Soso
a55ed23ba8
improv!(dropdown): accept impl Into<Cow<'_, str> ( #881 )
2025-05-26 22:53:35 +02:00