4e1080108c
yoda: warning cleanup sweep (dead code + clippy --fix) (squashed)
...
Squash of 4 yoda commits:
- 84437e21 yoda: libcosmic-yoda dead-code purge (14->0 warnings)
- 999db0a4 yoda: cosmic-theme cleanup (4->0 warnings) — workspace at 0 warnings total
- 4743bb8e yoda: cargo clippy --fix on libcosmic-yoda (115->33 warnings)
- 675f3b59 chore: reduce local stack warnings
2026-07-02 18:35:50 +02:00
c85efc6180
yoda: bump iced submodule + cargo auto-fix sweeps (squashed)
...
Squash of 6 yoda commits:
- 282813c8 yoda: bump iced -> window_clipboard via public Forgejo fork
- cdf34938 yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings
- 38a988cb yoda: cargo fix on cosmic-config + bump iced auto-fix commit
- 301bbf6e yoda: bump iced submodule -> iced_winit warning cleanup (0 left)
- b94c03d9 yoda: bump iced submodule -> iced_widget cleanup (0 left)
- a9492d76 yoda: bump iced submodule -> all iced crates at 0 warnings
2026-07-02 18:35:21 +02:00
Ashley Wulber
46b25d4218
refactor: allow for transparent header
2026-07-01 15:10:28 -04:00
Ashley Wulber
cde1989e78
refactor: popups for nav bar / segmented buttons
2026-07-01 15:10:28 -04:00
Ashley Wulber
40792f21de
Revert "remove header container"
...
This reverts commit 8035ef9535fa87deb05d88594a6b6a412324c039.
2026-07-01 15:10:28 -04:00
Ashley Wulber
1fafd57578
remove header container
...
i'm not sure what gaps it is referring to
2026-07-01 15:10:28 -04:00
Ashley Wulber
19142fd38e
refactor opaque fallback
2026-07-01 15:10:28 -04:00
Vukašin Vojinović
9c2a86a8f4
chore: add rustfmt config
2026-05-04 11:55:17 -04:00
Vukašin Vojinović
17291536a1
fix(header_bar): prevent double coloring
2026-04-23 11:15:32 -04:00
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