Hojjat
0fc4638af3
fix: register image_extras in run_single_instance too
2026-04-15 23:59:57 +02:00
Hojjat
3d8d8915be
chore: enable ico and xpm image support for desktop feature
2026-04-15 13:10:25 +02:00
Hendrik Hamerlinck
97a805e5a1
feat(applets): add destroy tooltip popup action
...
This commit adds a new surface action to explicitly destroy the tooltip
popup on `TOOLTIP_WINDOW_ID`, allowing proper cleanup when minimizing
applets.
2026-04-03 08:26:29 -04:00
Ashley Wulber
413e63f62a
chore: update features and feature gates
2026-03-30 22:25:27 -04:00
Hojjat
7a56762422
fix: restore width and height fill for app content
2026-03-20 22:23:16 +01:00
Vukašin Vojinović
54bcb9ec12
chore: update dependencies and examples
2026-03-18 15:54:07 +01:00
Vukašin Vojinović
adb6e30405
feat(header_bar): use custom widget for layout
2026-03-17 16:23:31 +01:00
Alex Marín
1810bedfa5
fix(navbar): fill height of panel instead of shrinking
2026-03-05 15:07:26 +01:00
Ashley Wulber
ad65416551
fix: resize border
2026-03-04 13:12:28 -05:00
Ashley Wulber
0298487096
fix: overlay event handling and mouse interaction
2026-03-04 12:04:33 -05:00
Ashley Wulber
e8d53b14ea
chore: various fixes and some cleanup
2026-03-04 12:04:32 -05:00
Ashley Wulber
e10459fb37
wip rebase updates
2026-03-04 12:04:32 -05:00
Michael Aaron Murphy
a37be90e81
fix(single-instance): unminimize main window on dbus activate
2026-02-24 16:02:56 +01:00
Michael Aaron Murphy
a3cf875793
fix(single-instance): unminimize main window on dbus activate
2026-02-09 22:04:13 +01:00
Vukašin Vojinović
b71a7c9edf
improv: remove double coloring of content_container windows
...
This sets the main content and the header bar to transparent when `content_container` is true, so that things aren't colored twice and overlayed on top of each other.
This ensures that modifying color alpha behaves as expected, especially for frosted glass.
2026-01-27 18:07:35 -07:00
Vukašin Vojinović
b6c6d1cb7b
improv(context_drawer): move title out of header row
...
This moves the title below the header row containing actions and the close button, allowing more room for the title and actions.
Also makes actions an `Element` instead of a `Vec<Element>`, providing more flexibility for developers.
2025-11-04 16:58:33 +01:00
Ashley Wulber
4c4eddb50c
fix: use is_maximized
2025-10-06 12:58:46 -06:00
Cheong Lau
a27bb5e05d
chore: apply clippy suggestions
2025-10-05 04:40:51 +02:00
Ashley Wulber
34f55d6720
fix: surface cleanup
2025-10-03 18:02:44 -04:00
Vukašin Vojinović
ad1672b881
fix: window corner handling
2025-10-03 14:28:34 -04:00
Ashley Wulber
0059fe182b
refactor: set sharp corner window radius to 0 instead of unsetting
2025-10-03 18:15:27 +02:00
Michael Aaron Murphy
df9df40963
chore(about): drop license dependency
...
Not needed since the application can already give URLs to their license
2025-09-30 22:31:32 +02:00
Ashley Wulber
03f07d2f1e
fix: sharp corners & window state handling
2025-09-30 10:59:51 -04:00
Ashley Wulber
27f591e5aa
fix(corner-radius): fix radius from array to match iced and better respect sharp corners
2025-09-30 10:59:51 -04:00
Ashley Wulber
9815d4d981
feat(wayland): corner-radius protocol support
2025-09-30 10:59:51 -04: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
Michael Aaron Murphy
e7b7c3a126
improv: enable dbus-config by default, but only for Linux targets
2025-08-20 17:31:26 +02: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
Ian Douglas Scott
b8eaad2a7e
feat: add dbus_connection() method to app::Application trait
2025-07-21 22:59:09 +02: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
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
00ba16fe01
refactor(menu): fallback behavior for non wayland windowing system
2025-06-12 10:21:45 -06:00
Josh Megnauth
944c6761f7
fix(windows): Mingw doesn't support trim
...
Closes : #872
2025-05-29 07:28:38 +02:00
Ashley Wulber
7151638f51
fix(theme mode subscription): avoid checking the keys because this interferes with the first value from the subscription
...
the check should be redundant, because we also later check whether the value has changed or not anyway
2025-05-01 21:40:35 -06:00
Michael Aaron Murphy
7aadfe6ba6
improv(context-drawer): import definitions and add map method
2025-04-21 18:12:41 +02:00
Ashley Wulber
bbcd874d9c
refactor: responsive headers should allow some options
2025-04-15 17:02:32 -04:00
Vukašin Vojinović
3df0e5c2fe
fix(app): remove context padding without content_container
2025-04-05 07:23:09 -06:00
Vukašin Vojinović
dd1b16a353
feat(scrollable): add helper for horizontal scrollables
...
Adds a helper function to get horizontal scrollables with COSMIC styling.
2025-04-04 18:34:55 +02:00
Vukašin Vojinović
1509163230
fix(app): match padding to designs
...
Also makes the maximize button change to restore when the window is maximized.
2025-04-04 18:34:55 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition
2025-03-21 13:33:07 +01:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
...
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites
While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management
2025-03-14 16:56:21 +01:00
Vukašin Vojinović
617de4dc95
improv(app): visually align window corners to content
2025-03-12 22:41:32 +01:00
Michael Aaron Murphy
1f826e38b9
improv: call malloc_trim after view and update calls
2025-02-19 18:13:24 +01:00
Michael Aaron Murphy
76348bb985
chore: handle more sources of excess cosmic-config logs
2025-02-19 16:57:28 +01:00
Michael Aaron Murphy
7d84d21129
improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles
2025-02-18 23:57:58 +01:00
Michael Aaron Murphy
f59eb77252
perf: set static mmap threshold on gnu target env by default
2025-02-12 10:59:46 -07:00
Vukašin Vojinović
58fc034459
fix(dropdown): styling
2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226
fix(style): use radius_s for nav bar toggle
2024-12-25 04:42:24 +01:00