Hojjat
3d3e4391f1
fix: make the keyboard bindings consistent in context menu
2026-09-22 16:12:20 -04:00
Hojjat
f0eed6e0c3
fix: close inner most menu on esc
2026-09-22 16:12:20 -04:00
Hojjat
8c0e57835b
fix: don't allow for leading dividers in the menu
2026-09-21 15:50:56 -06:00
Hojjat
34caca1387
fix(context_menu): refresh an open popup's items from the latest view
2026-09-21 15:50:56 -06:00
Vukašin Vojinović
eaa7a5a24c
chore: update iced
...
Adapts to scrollable changes
2026-09-21 12:26:14 -04:00
Ashley Wulber
87ab8179e1
chain tasks where not already done
2026-09-15 22:48:20 -04:00
Ashley Wulber
3664828bf8
chore: session lock action
2026-09-15 22:48:20 -04:00
Vukašin Vojinović
d921602cde
feat(progress_bar): custom style
2026-09-15 18:07:45 +02:00
Hojjat
e793c4552b
Revert "fix: don't pass keyboard events to content if popover modal is open"
...
This reverts commit 9cc82abd9c .
2026-09-14 20:29:45 +02:00
Hojjat
53314201b0
fix(theme): draw selected label text in the on-accent color
2026-09-11 19:40:32 +02:00
Hojjat
56a210bb4e
feat(text_context_menu): always show items, but disable them
2026-09-11 18:51:57 +02:00
Hojjat
ff7c753302
fix(text_input): draw selected text in the theme's selected_text_color
2026-09-10 21:02:41 +02:00
Hojjat
eec2f7619d
Revert "fix(text_input): font color in selected mode ( #1409 )"
...
This reverts commit 7cc116803b .
2026-09-10 21:02:41 +02:00
Alex Klepov
7cc116803b
fix(text_input): font color in selected mode ( #1409 )
2026-09-10 17:33:57 +02:00
Hojjat
521f3c2baf
fix(context_menu): pass through the content's overlays, cursor and drop targets
2026-09-10 17:32:27 +02:00
Hojjat
9f634b0ec2
fix(menu): give each popup instance its own id
2026-09-10 17:32:27 +02:00
Hojjat
6081a48cd3
fix(app): count a popup closed once now that Done also reaches its parent
2026-09-10 17:32:27 +02:00
Hojjat
a8fe59f388
refactor(surface): type surface actions on the message they carry
2026-09-10 17:32:27 +02:00
Hojjat
376f1b8850
fix(segmented_button): read the live menu state when drawing the context item
2026-09-10 17:32:27 +02:00
Hojjat
fd20f09729
feat(context_menu): report open/close and reset on compositor dismissal
2026-09-10 17:32:27 +02:00
Hojjat
aac833d37d
feat(menu): add Item::Entry with a reservable icon slot
2026-09-10 17:32:27 +02:00
Hojjat
2fb052d134
feat(context_menu): add item_width setter
2026-09-10 17:32:27 +02:00
Hojjat
645ca8b906
fix(context_menu): place the context_menu in the correct place in X11
2026-09-10 17:32:27 +02:00
Hojjat
37c392a470
fix(context_menu): don't panic when no menu is set
2026-09-10 17:32:27 +02:00
Frederic Laing
0304f1d92e
fix: detect SVG icons by content
2026-09-07 15:27:32 +02:00
Hojjat
6347ba2390
fix: keep content's overlays visible while showing toaster
2026-09-03 00:27:13 +02:00
Hojjat
9cc82abd9c
fix: don't pass keyboard events to content if popover modal is open
2026-09-02 13:04:46 +02:00
Eric Le Bihan
3b62210d27
fix(menu): request redraw when menu bar opens
...
When using a menu bar without Wayland popup support, the menu items are
unclickable, as redrawing is never requested.
So, request a redraw after opening so the overlay menu is created and
drawn immediately.
2026-08-25 21:17:21 +02:00
Michael Aaron Murphy
2a73fbc0ed
fix(segmented_button): request redraw on tab focus shift
2026-08-25 16:46:23 +02:00
Ashley Wulber
f8f5c7b5a6
feat: popover top position ( #1403 )
2026-08-25 02:28:46 +02:00
Alex Klepov
3a8ebf9197
fix(menu): panic when right-clicking a submenu
2026-08-20 00:18:04 +02:00
Hojjat
a5267e623f
fix: request redraw on hover state change in dropdown widget
...
This also add a missing request when dropdown opens
2026-08-19 14:31:31 +02:00
Paul
75e9ee7e65
fix: request redraw on dropdown open/close in the in-window overlay path
...
`Dropdown::new` (the plain constructor used by any non-applet consumer) leaves `window_id`/`on_surface_action` unset, which routes the widget's `overlay()` impl to the in-window overlay path rather than the surface-action-based popup path. On that path, `update()`'s `open` closure and its close counterparts only ever requested a redraw inside the `#[cfg(wayland_platform)] if let Some(...)` block gated on those fields being set — so for the common case, opening or closing a dropdown flipped `is_open` with no redraw requested at all. The stale frame stuck around until some unrelated later event (e.g. cursor motion landing on the now-open/closed menu's bounds) forced a repaint,
making the menu appear to not open until the mouse moved, and not close until the same thing happened again on the way out.
Add an unconditional `shell.request_redraw()` at each of the three `is_open` transitions that don't already publish a Message of their own (an actual option selection already triggers a normal Message-driven redraw through the app's own update cycle, so that path needed no change):
- `open`: right after `is_open` is set true, ahead of the wayland-only surface-action block.
- the `close_operation` branch of the open/close operation state machine (`Id`-based programmatic close).
- the click-outside-closes-it branch of the mouse/touch press handler.
Fixes #1395
2026-08-19 14:31:31 +02:00
Hojjat
1f8d878694
fix: request redraw when hover state changes in toggle widget
2026-08-10 21:56:23 +02:00
Hojjat
0633751633
fix: request redraw if pressed state changes in button widget
2026-08-10 21:56:23 +02:00
Hojjat
5da2e94337
fix: request redraw when menu item hover state changes
2026-08-10 21:56:23 +02:00
Hojjat
633e6ab83f
fix: request redraw if hovered state changes in segmented_button
2026-08-10 18:22:08 +02:00
Hojjat
030a7dbe02
fix: request redraw in selectable text and context menu
2026-08-09 06:09:28 +02:00
Ashley Wulber
8a017a15ee
fix: window id handling for multi-window
2026-08-07 20:20:54 +02:00
Ashley Wulber
324ef6e905
chore: update selectable text menu corner radius
2026-08-07 20:20:54 +02:00
Ashley Wulber
03a66751ea
chore: feature gates
2026-08-07 20:20:54 +02:00
Hojjat
654ae0bf5d
chore: add typography presets for selectable_text
2026-08-07 20:20:54 +02:00
Hojjat
8a03f063c0
refactor: rename to SelectableText instead of Text
...
This avoids API breakage
2026-08-07 20:20:54 +02:00
Hojjat
1de6ce9460
fix: dismiss the pop up on click outside or esc
2026-08-07 20:20:54 +02:00
Hojjat
8b31e83d58
fix(test): --features applet only
...
fix(test): `--feature wayland` only
2026-08-07 20:20:54 +02:00
Hojjat
a70feab2bf
feat: integrate text context menu popups into Cosmic framework view system
2026-08-07 20:20:54 +02:00
Hojjat
d751855c74
feat: add Wayland popup context menu to TextInput
2026-08-07 20:20:54 +02:00
Hojjat
c6cf3db29d
feat: add text context menu (overlay and wayland popup)
2026-08-07 20:20:54 +02:00
Hojjat
2cd43a8b89
feat: add context menu wrapper for TextEditor
2026-08-07 20:20:54 +02:00
Hojjat
834cd366ee
feat: add context menu support to selectable Text widget
2026-08-07 20:20:54 +02:00