Commit graph

138 commits

Author SHA1 Message Date
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
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Jeremy Soller
8da25f94e9
fix(app): limit context drawer width when not an overlay 2024-10-11 08:22:45 -06:00
Jeremy Soller
100f75f88e feat(app): footer widget 2024-10-10 19:06:48 +02:00
Michael Aaron Murphy
173a9557c2 fix(app): preload embedded Fira fonts 2024-10-05 01:47:37 +02:00
Michael Aaron Murphy
9e064e7fa0 feat: configurable fonts 2024-10-05 01:47:37 +02:00
Vukašin Vojinović
e645dee2f0 fix(header_bar): increase compact height
Increases Compact header height to 40 (from 36), to better accommodate larger widgets (e.g. the search bar). This makes it distinct from the SSD header, which is now addressed by the `_` match case.
Also makes the horizontal header padding fixed at 8, so that the app window padding can also be 8.
2024-10-03 15:39:00 +02:00
Vukašin Vojinović
0a34660a80 fix: move density to cosmic_theme 2024-09-23 12:40:22 -04:00
Jeremy Soller
10f02d9d6b
Responsive context drawer width 2024-09-23 10:02:34 -06:00
Jeremy Soller
7d7c6fa71a
Fix context drawer when it is an overlay 2024-09-21 07:47:37 -06:00
Jeremy Soller
ddb678ca69
Fix spacing issue introduced in #614 2024-09-20 11:38:28 -06:00
Jeremy Soller
e56a94b783 feat(app): allow context drawer to be laid out next to content 2024-09-20 11:31:29 -06:00
Jeremy Soller
00f0699042 feat(app): add show_close for toggling close button in header bar 2024-08-26 18:16:18 +02: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
leb-kuchen
8e67f3ce1c
feat(headerbar): double click to maximize 2024-07-23 11:58:55 +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
wiiznokes
ebf5c2738b
chore: remove Clone bound on Flags 2024-06-16 20:13:56 +02:00
Ashley Wulber
552f3aefd6 feat: wrap core interface elements in id container 2024-05-30 16:57:51 -04:00
Michael Aaron Murphy
1ef1400d8b
fix: condense app to content first 2024-05-30 21:41:15 +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
56ff501d36 fix: wayland exit_on_close 2024-05-28 19:22:19 -06:00
Jeremy Soller
8ecf1a8edd
fix(app) set iced.window.exit_on_close_request 2024-05-28 13:58:29 -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
Victoria Brekenfeld
b8266b6100
improv(app): drop setting WGPU_POWER_PREF 2024-05-21 16:19:57 +02:00
Michael Aaron Murphy
aa3f5d3401
improv: impl From<M> for Message<M> 2024-05-21 01:29:50 +02:00
Michael Aaron Murphy
709ab268a0
refactor(app): iced::Command -> Command 2024-05-20 00:45:19 +02:00
Michael Aaron Murphy
69bf95765d fix(core): set default window focus to window::Id::MAIN 2024-05-17 20:58:38 +02:00
Ashley Wulber
78a137214d chore: update zbus 2024-05-17 00:00:24 +02:00
Ashley Wulber
1b63c9e38b chore: update libcosmic 2024-05-15 16:19:32 -04:00