Commit graph

6706 commits

Author SHA1 Message Date
Ashley Wulber
9b94ee3ec4 fix: scale 2026-03-23 19:12:21 -04:00
laniakea64
c82058e73e fix(markdown): export fields of Row 2026-03-23 13:02:23 -04:00
KENZ
a9bcb00529 Fix the candidate window position of fcitx5 which does't work well with winit's set_ime_cursor_area() 2026-03-23 10:35:45 -04:00
laniakea64
716c75da3f fix(rule): allow changing thickness after creation 2026-03-23 08:18:58 -04:00
Hojjat
70f54c994a feat: add resize() to paragraph 2026-03-20 18:22:51 -04:00
Ashley Wulber
a3a434ac92 fix(wgpu): bounds check for images 2026-03-19 18:24:06 -04:00
wiiznokes
2d41248288 fix windows build 2026-03-18 09:11:54 -04:00
Ashley Wulber
51b0411026 fix(viewport): must use logical size when scale changes 2026-03-17 20:49:44 -04:00
Hojjat
7491547d70 fix(iced): handle scroll events 2026-03-16 15:57:15 -04:00
Hojjat
9b0ebf30bb fix(iced): route all pointer events through SctkEvent::PointerEvent 2026-03-16 15:57:15 -04:00
Ashley Wulber
d79181f443 fix: transform of tiny-skia rotation
reverts changes from upstream that have broken svg rotation
2026-03-16 14:22:56 -04:00
laniakea64
842e3e432c fix(markdown): support the syntax for line breaks inside table cells 2026-03-16 10:14:34 -04:00
Héctor Ramón Jiménez
4020ad70b6 Fix transformation of canvas primitives in tiny_skia 2026-03-12 12:42:16 -04:00
Ashley Wulber
88f3b00d96 fix(mouse_area): avoid processing a double click twice 2026-03-11 22:32:23 -04:00
Ashley Wulber
fdf00170c3 fix(text): draw_with deadlock accessing font system 2026-03-11 20:47:04 -04:00
Ashley Wulber
f0899a2a81 fix(mouse area): on_drag 2026-03-11 10:15:05 -04:00
Ashley Wulber
9666e986f3 fix: on_right_press handler 2026-03-10 14:52:17 -04:00
Ashley Wulber
1e419b2bc6 fix: update cursor pos when pointer enters 2026-03-10 01:08:34 -04:00
Ian Douglas Scott
4fb3ba214b winit: Fix cursor_position for touch events
Some widgets check the cursor position when handling the touch down
event, so we need to make sure `cursor_position` is set then, and not
only when there is a touch move event. Simply always setting it for
`WindowEvent::PointerButton` (for touch or mouse input) seems
reasonable.

We also need to avoid clearing `cursor_position` for `PointerLeft`
with a touch device. Do that only for mouse input.

Ideally Iced would handle touch input without tying to
`cursor_position`, but this should match the behavior of upstream Iced.

This seems to fix regressions since the Iced rebase in the `tour`
example, and in `cosmic-files`. `cosmic-files` seems to have some
issue using the menus with a touch device, but that doesn't seem to be a
regression.
2026-03-09 21:29:00 -04:00
Ashley Wulber
99bc455118 chore: fix virtual offset 2026-03-09 16:13:34 -04:00
Héctor Ramón Jiménez
00bb0162d1 Introduce a format blacklist in iced_wgpu 2026-03-09 09:05:22 -04:00
Ashley Wulber
5f97135c3d fix(tiny-skia): avoid panic if image is not allocated 2026-03-06 22:37:18 +01:00
Ashley Wulber
ac24bbe80d fix: remove named space 2026-03-06 13:52:12 -05:00
Ashley Wulber
02149769ec fix: winit does not consider space a named key anymore to comply with spec 2026-03-06 13:09:41 -05:00
Ashley Wulber
b22d363f2c fix: popup creation handling of existing popups 2026-03-06 10:32:42 -05:00
Ashley Wulber
b509922bc8 fix(scrollable): pixel scroll direction 2026-03-05 16:11:21 -05:00
Ashley Wulber
a839760e2a fix: resize border 2026-03-04 13:12:00 -05:00
Ashley Wulber
40b6bfe9ca fix: less aggressive widget state tree diffing
responsive widget requires that diffing not reset state tree when number of child widgets change. I worry that this could cause regressions in some apps, but otherwise responsive widgets will discard state for their contents without an id container
2026-03-04 10:26:28 -05:00
Ashley Wulber
14cefe034e fix(pane_grid): layout typo 2026-03-03 01:44:43 -05:00
Ashley Wulber
4516691f35 chore: update deps 2026-03-02 13:35:31 -05:00
Ashley Wulber
b479f3e87f fix: is_subsurface gated by wayland feature 2026-03-02 10:55:39 -05:00
mariinkys
0df654c14a fix: keyboard events fire twice 2026-03-02 10:28:52 -05:00
Hojjat
0424b4ae42 fix: pop up size not configuring correctly 2026-03-02 09:47:45 -05:00
Hojjat
4259b64bfc fix: tiny-skia rendering 2026-03-02 09:46:54 -05:00
Ashley Wulber
f7dc180371
fix: subsurface improvements
this fixes a couple issues in the greeter
2026-02-27 17:23:10 -05:00
Ashley Wulber
2a680eeb32
fix: do not scale position of rotated svg 2026-02-27 17:22:13 -05:00
Ashley Wulber
4f80a7ad9e
fix: text bounds calculation 2026-02-27 17:21:20 -05:00
Ashley Wulber
59fbf68c54
fix: clean up dnd rectangles reference to window on close 2026-02-25 17:47:30 -05:00
Ashley Wulber
73369a18eb
fix: more drag destinations 2026-02-23 16:36:45 -05:00
Ashley Wulber
86f985086f
chore: drag destinations for responsive widget 2026-02-23 14:50:01 -05:00
Ashley Wulber
686c6afb8d
fix(sctk): popup initial configure ack handling 2026-02-20 18:15:28 -05:00
Eduardo Flores
8cfe449315 fix(macOS): change super_key to meta_key for 'q' press
The super key was deprecated in favor of the meta key, adding this change to reflect that.
2026-02-20 17:20:49 -05:00
Ashley Wulber
c2739eed7c
fix: ellipsize 2026-02-19 22:49:48 -05:00
Hojjat
cc670e1966
feat: add Ellipsize to widgets 2026-02-19 22:36:03 -05:00
Jeremy Soller
f2ef716ad5
Add Ellipsize to buffer line layout 2026-02-19 22:02:34 -05:00
Ashley Wulber
c1edb81084
fixes: various fixes and cleanup 2026-02-19 17:01:13 -05:00
Ashley Wulber
b4346ff3ca
a11y refactor 2026-02-04 15:38:07 -05:00
Ashley Wulber
c40264a6ed
fix: wgpu panics 2026-02-04 15:37:28 -05:00
Ashley Wulber
37572b76f9
wip; wgpu fix
this avoids enumerating adapters if possible
2026-02-04 09:42:26 -05:00
Ashley Wulber
e2918e0de9
wip 2026-02-03 16:45:44 -05:00