Commit graph

993 commits

Author SHA1 Message Date
Adam Cosner
47b5410253 fix: removed a glob import that was causing a warning
The pub use card::* was only exporting card::style, but something else in the file was also exporting the name "style" so there was a conflict.
2026-04-08 01:58:57 -04:00
Adam Cosner
5d1dfc4c54
refactor!: remove cosmic::iced_* re-exports 2026-04-08 03:12:10 +02:00
Ashley Wulber
d9121d6f0d refactor: better helpers for the progress_bar 2026-04-07 21:47:46 +02:00
Ashley Wulber
b963fbfea9
feat(widget): progress bars 2026-04-07 17:02:58 +02:00
Hojjat
724351727a feat: select until char and double click select delimiter
adds a feature to select from the start of the sentence until the last
occurrence of a character. This can be used to select until the
extension in cosmic-files save dialog or rename pop up.

Also, it adds a feature to select until the last occurrence of a
character on double-click.
2026-04-07 13:35:26 +02:00
Hojjat
1f87cbc883 fix: do not allow cursor or keyboard activity when popup is open
traps Tab from escaping, and won't allow elements in the background to
react to hover
2026-04-07 13:32:21 +02:00
Ashley Wulber
9aa87cd66b fix(segmented_button): active font for context menu & prioritize active font over hover 2026-04-06 18:57:27 -04:00
KENZ
8e3672a7dd fix: focus detecting in IME logic 2026-04-06 15:59:18 +02:00
Vukašin Vojinović
fdf3369cea chore: re-export iced row and column
This removes the custom row and column implementations and uses the iced ones directly.
2026-04-03 20:39:31 +02:00
Vukašin Vojinović
a9e0671075 fix(segmented_button): hover text style 2026-04-03 20:36:23 +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
Hojjat
24464908f6 fix: buttons are focusable again 2026-04-03 02:28:00 +02:00
GroobleDierne
7a02c9a296 fix(color palette): avoid duplicates 2026-04-02 16:21:50 -04:00
KENZ
f6eb314606
feat(text_input): minimal IME support for COSMIC specific text widgets 2026-04-02 00:35:57 +02:00
TobyDig
0ba668eb52
fix(desktop): use -e argument for spawning desktop entries with a terminal 2026-04-01 23:32:36 +02:00
Hojjat
aef328238f fix(editable): the UX is closer to design now
This fixes the unresponsive trailing icon and changes the behavior to be
closer to the UI/UX design.
2026-04-01 23:29:26 +02:00
Hojjat
e1738d2ea7 fix(text_input): keyboard shortcuts when keyboard is a different language
Matches what Iced does
2026-04-01 23:26:42 +02:00
Hojjat
2299fba69b fix(text_input): RTL text cursor and highlight fixes 2026-04-01 23:26:42 +02:00
Ashley Wulber
413e63f62a chore: update features and feature gates 2026-03-30 22:25:27 -04:00
Ítalo Dell Areti
380b341bdc feat(text_input): add select_range method and Task function 2026-03-28 00:09:34 -04:00
Ashley Wulber
254c13cfc4 fix: ellipsize text in menu items 2026-03-27 21:22:54 +01:00
Ashley Wulber
e63f3196e2 fix: MenuActive path highlight 2026-03-27 21:21:59 +01:00
Frederic Laing
d7fd880ac6 fix(toggler): add touch input support 2026-03-23 10:22:04 -04:00
Hojjat
c804d3851d fix: don't ever draw glyphs outside of the bounds 2026-03-23 10:21:15 -04:00
Hojjat
dc3ebaa38e feat(segmented_button): add ellipsize support 2026-03-23 10:21:15 -04:00
Hojjat
7a56762422 fix: restore width and height fill for app content 2026-03-20 22:23:16 +01:00
Hojjat
3da55e8074 fix(flex_row): calculate height based on nodes 2026-03-18 15:54:33 +01:00
Vukašin Vojinović
54bcb9ec12
chore: update dependencies and examples 2026-03-18 15:54:07 +01:00
Ashley Wulber
c7ac9cfd31 fix: if not in bounds, return default mouse interaction 2026-03-17 20:51:22 +01:00
Vukašin Vojinović
0bb006c5bb fix(header_bar): add vertical SSD padding
Prevents SSDs from having a gap after the rebase.
2026-03-17 17:28:23 +01:00
Vukašin Vojinović
adb6e30405
feat(header_bar): use custom widget for layout 2026-03-17 16:23:31 +01:00
Jonathan Wingrove
c52ef97650 fix(table): Use on_item_mb_double for double-click handler instead of on_item_mb_left 2026-03-15 00:30:16 +01:00
Dryadxon
1dc9aa37ed feat(flex_row): re-export JustifyItems 2026-03-11 17:52:24 +01:00
Dryadxon
ce9e8b5205 fix(flex_row): layout::resolve swap align_items with justify_items 2026-03-11 17:52:24 +01:00
Ashley Wulber
3d2c018cd1
fix(dnd_source): rely on current cursor position for hover state 2026-03-06 20:37:56 +01:00
Ashley Wulber
1970499459 fix: capture mouse motion and mouse interactions in overlay 2026-03-05 22:02:40 +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
0bfda2e28c chore: update deps and test fixes 2026-03-04 12:04:33 -05:00
Ashley Wulber
0e1a9d46eb chore: update iced & cleanup text input 2026-03-04 12:04:33 -05:00
Ashley Wulber
3d8596287c fix: missed event status after rebase 2026-03-04 12:04:33 -05:00
Ashley Wulber
0298487096 fix: overlay event handling and mouse interaction 2026-03-04 12:04:33 -05:00
Ashley Wulber
904133397b fix: toggler width fixes & cleanup 2026-03-04 12:04:32 -05:00
Ashley Wulber
442ce6ad0c fix: context-menu
when a popup is created and a focus event is received, we shouldn't close the popups, because it may be a focus event for a popup
2026-03-04 12:04:32 -05:00
Ashley Wulber
89ee66f251 fix: menu bar and flex row event handling 2026-03-04 12:04:32 -05:00
Ashley Wulber
7554540b78 fix: update for applet widgets and grid 2026-03-04 12:04:32 -05:00
Ashley Wulber
71e2c7c99e fix: responsive menu layout 2026-03-04 12:04:32 -05:00
Ashley Wulber
0d37dc69e3 fix: applet popup width 2026-03-04 12:04:32 -05:00
Ashley Wulber
e6fe1a6811 fix: ellipsize 2026-03-04 12:04:32 -05:00
Ashley Wulber
e8d53b14ea chore: various fixes and some cleanup 2026-03-04 12:04:32 -05:00