Commit graph

132 commits

Author SHA1 Message Date
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
Hojjat
7a56762422 fix: restore width and height fill for app content 2026-03-20 22:23:16 +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
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
Cheong Lau
a27bb5e05d chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
Vukašin Vojinović
ad1672b881 fix: window corner handling 2025-10-03 14:28:34 -04:00
Ashley Wulber
03f07d2f1e fix: sharp corners & window state handling 2025-09-30 10:59:51 -04: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
6be5403852 improv(header): remove title if condensed and better handle large fixed size elements 2025-06-18 18:02:21 -04:00
Josh Megnauth
944c6761f7 fix(windows): Mingw doesn't support trim
Closes: #872
2025-05-29 07:28:38 +02:00
Michael Aaron Murphy
7aadfe6ba6
improv(context-drawer): import definitions and add map method 2025-04-21 18:12:41 +02: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
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
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