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
Vukašin Vojinović
de0c1921f7
fix(list_column): match padding/spacing to designs
2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6c08d68f9
fix(toggler): remove extra padding
2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6db807c1b
fix
2024-11-26 15:24:25 -05:00
Vukašin Vojinović
8e823f622f
fix(header_bar): match spacing to designs
2024-11-26 16:29:53 +01:00
Vukašin Vojinović
af7157b45a
improv: window border corner appearance
2024-11-26 16:29:53 +01:00
Adam Cosner
a64529af17
Changed cosmic::command module to cosmic::task and changed cosmic::Task to reexport cosmic::app::Task instead of iced::Task
2024-11-21 10:45:21 -05:00
Adam Cosner
525a14cfb1
Fixed issue #700 where not using multi-window caused the main window to not be able to be interacted with
2024-11-19 23:49:47 -05:00
wiiznokes
a355a049d9
feat!(app): ContextDrawer return type for context_drawer method
2024-11-16 03:38:29 +01:00
Ashley Wulber
aaadf7199e
refactor: add is_daemon setting
...
The app can request to be treated by iced as a daemon so it can perform cleanup when its main window is closed.
2024-11-14 11:01:54 -05:00
Vukašin Vojinović
3dcc47d6a7
improv(context_drawer): add optional header and footer element
2024-11-10 19:58:42 +01:00
Vukašin Vojinović
c310f4ca24
feat(context_drawer): add actions to header
2024-11-10 15:49:25 +01:00
Eduardo Flores
d8357d0ea3
refactor: about page as a widget
2024-11-10 02:42:16 +01:00
Eduardo Flores
6f53b68be5
fix: add scrollable to about view
2024-11-09 14:48:47 +01:00
Vukašin Vojinović
707f2115eb
fix(context_drawer): center header elements
2024-11-08 15:59:33 +01:00
Vukašin Vojinović
3c5a2d9340
fix(app): conditionally set context drawer padding
...
This fixes the cosmic-term terminal_box becoming cropped when opening a context drawer.
2024-11-06 18:24:50 +01:00
Eduardo Flores
6dfd9d7dd5
fix: right padding for nav bar
2024-11-06 17:39:11 +01:00
Eduardo Flores
8d4afb90da
feat(app): add context view method for creating About views
2024-11-06 03:36:33 +01:00
Vukašin Vojinović
a4c1909fc2
fix(content_col): remove spacing
...
Removes spacing between the footer and content, until the `resize_border` is moved.
2024-11-06 02:48:23 +01:00
Vukašin Vojinović
2ce3e95cf6
fix(app): border radius
...
Increases the border radius by 1.0 to prevent some corner artifacts.
2024-11-05 15:36:02 -07:00
Vukašin Vojinović
d34fd5dc2b
fix: apply content padding only when content_container is true
2024-11-05 09:18:45 -07:00
Vukašin Vojinović
127ce17b85
improv: add window border
2024-11-05 10:02:19 +01:00
Ashley Wulber
d84447aaad
fix: apply App::Executor to multi-window instance
2024-10-29 13:32:08 -06:00
Ashley Wulber
07763aca8e
refactor: allow resetting main window id to None
2024-10-21 17:33:10 -06:00
Ashley Wulber
cf3ba4ca07
refactor: allow resetting the main window id
2024-10-21 17:37:51 -04:00
Jeremy Soller
e380b2bd81
fix(app): only set application_id on Linux
2024-10-21 09:47:38 -06:00