nanowu
a0877d05ac
Merge 9929fbbfdb into c423ad1bfc
2026-04-18 00:04:19 +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
Vukašin Vojinović
54bcb9ec12
chore: update dependencies and examples
2026-03-18 15:54:07 +01: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
nanowu
9929fbbfdb
feat: add SSD support via config option
2026-02-07 11:02:52 +00: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
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
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
Ashley Wulber
bbcd874d9c
refactor: responsive headers should allow some options
2025-04-15 17:02:32 -04: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
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
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
Eduardo Flores
d8357d0ea3
refactor: about page as a widget
2024-11-10 02:42:16 +01:00
Eduardo Flores
8d4afb90da
feat(app): add context view method for creating About views
2024-11-06 03:36:33 +01: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
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
9e064e7fa0
feat: configurable fonts
2024-10-05 01:47:37 +02:00
Jeremy Soller
e56a94b783
feat(app): allow context drawer to be laid out next to content
2024-09-20 11:31:29 -06:00
Victoria Brekenfeld
b40839638a
fix: Use globals instead of thread-locals
...
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
Michael Aaron Murphy
5474232796
fix: widget unfocus on mouse click
2024-07-22 07:05:47 +02:00
Ashley Wulber
d35cc71b90
feat(applets): add overflow support
2024-07-16 17:15:22 +02:00
Michael Aaron Murphy
e04c9eaf6d
fix: window menus now supported by windows using wayland feature
2024-07-10 16:55:28 +02:00
Ashley Wulber
80879213af
fix: use the user provided theme even when setting system theme
...
the user may have set a preferred value which should be used.
2024-05-30 13:48:16 -04:00
Michael Aaron Murphy
6720b8277c
feat: CosmicTk::header_size density config
2024-05-29 06:25:15 -06:00
Ashley Wulber
428dafe37c
fix: retry portal when it fails, and only apply theme changes when there is a relevant change
2024-05-22 15:41:56 -04:00
Ashley Wulber
9292004642
feat: allow preference for dark or light system theme
...
also converts applet to use preferred system theme
2024-05-14 07:36:08 -04:00
Jeremy Soller
ac95b571ec
feat: allow on_app_exit to override closing the application
2024-05-13 17:39:21 +02:00
Jeremy Soller
42cfdbf585
fix(app): restore on_context_drawer functionality that was removed in 59a913c
2024-04-26 10:22:51 -06:00
Michael Aaron Murphy
59a913c15d
feat!(segmented_button): Add context menu support and integrations
2024-04-18 17:18:53 +02:00
Michael Aaron Murphy
4154428a63
feat(config): add icon theme property to CosmicTk config
2024-03-18 09:51:37 -06:00