Commit graph

6802 commits

Author SHA1 Message Date
Frederic Laing
87c0358985 fix(scrollable): allow scrolling when children capture touch presses 2026-08-20 21:34:13 +02:00
Hojjat
7918b2826e fix: request redraw for Text widget 2026-08-09 05:35:16 +02:00
Hojjat
f5aa5a6f8c fix: don't request redraw for pointer 2026-08-05 15:31:43 -04:00
Hojjat
b87e660eed perf: do not redraw on mouse move events 2026-08-05 15:31:43 -04:00
Ashley Wulber
86b236f2e1 fix: remove any old blur surface or corners on layer shell done event 2026-07-29 14:21:04 -04:00
Ashley Wulber
f86d983896 fix: remove any old blur surface or corners on surface creation 2026-07-29 14:21:04 -04:00
Aadil
65b5dbc671
feat(slider): add handle bounds to avoid handle shifting on hover (#357) 2026-07-24 09:25:32 +02:00
sanua356
5a6cd771d1
fix: compiler error for e2k CPU architecture 2026-07-23 20:15:43 +02:00
Inuxiuz
dc0e80edd8 feat: add overflow option to Pin widget to allow content beyond boundaries 2026-07-23 19:49:24 +02:00
Hojjat
ba4f09b7bf fix: tear down dnd surface when the dnd is ended programatically 2026-07-23 19:48:49 +02:00
RipleyTom
3a82d48548 fix: ignore resize border on fullscreen/maximized 2026-07-23 13:44:53 -04:00
Frederic Laing
300fa97ee2 fix: consume XDG activation token on window creation 2026-07-18 07:43:12 -06:00
Ashley Wulber
a7c71f8dd3 improv: feature gate for xdg_portal 2026-07-15 16:46:43 -04:00
Ashley Wulber
b3b0ab1cd5 fix: feature gates 2026-07-15 16:46:43 -04:00
Ilia Malanin
f6daee14ac fix: avoid panic on sub-pixel rounded borders 2026-07-14 00:11:26 +02:00
Hojjat
c195232875 fix: avoid 1×1 popup geometry that trips corner-radius validation 2026-07-14 00:10:47 +02:00
Hojjat
775abd45d1 Revert "fix: validate corner radius against window geometry"
This reverts commit 5da1188557.
2026-07-14 00:10:47 +02:00
Hojjat
5da1188557 fix: validate corner radius against window geometry 2026-07-10 02:23:59 +02:00
Ian Douglas Scott
5671e49c9b wgpu: Apply Nvidia driver workaround regardless of cctk feature 2026-07-09 13:25:14 -07:00
Ilia Malanin
371dd94a2a fix: intersect nested clip bounds with parent layer 2026-07-08 10:59:02 -04:00
Ashley Wulber
b5b2b2fcc3 fix: popup cleanup 2026-07-06 18:44:30 -04:00
Ashley Wulber
c781ff6199 chore: cargo fmt 2026-07-01 10:37:52 -04:00
Ashley Wulber
633ed14411 feat: popup reposition 2026-07-01 10:37:52 -04:00
Ashley Wulber
da9d15b2e8 chore: update cosmic-protocols 2026-07-01 10:37:52 -04:00
Ashley Wulber
8e94441efa fix: apply initial corner radius after adding surfaces to the state
otherwise the corners won't be set.
2026-07-01 10:37:52 -04:00
Ashley Wulber
46781102fe fix: set blur and corners on creation 2026-07-01 10:37:52 -04:00
Ashley Wulber
5cc9f8d621 fix: single blur surface per wl surface 2026-07-01 10:37:52 -04:00
Ashley Wulber
6be49cb530 blur command helper 2026-07-01 10:37:52 -04:00
Ashley Wulber
b8b0804140 fix(overlap): fix check for disabling 2026-07-01 10:37:52 -04:00
Ashley Wulber
6521f7fa20 fix: improved layer surface popup cleanup 2026-07-01 10:37:52 -04:00
Ashley Wulber
f6fa506f6c chore(layer shell): add padding action 2026-07-01 10:37:52 -04:00
Ashley Wulber
e0c7d353aa better handle pending corners 2026-07-01 10:37:52 -04:00
Ashley Wulber
a63d57261f blur enabled event 2026-07-01 10:37:52 -04:00
Ashley Wulber
1bcba7e30c wip: corner radius v2 2026-07-01 10:37:52 -04:00
Hojjat
9f41055861 Revert "feat: add direct SCTK action sender for wayland popups"
This reverts commit b007caba44.
2026-06-30 12:26:07 -04:00
Hojjat
7afd9ee0f8 fix: add alt clipboard bindings for text_editor 2026-06-21 06:49:01 -04:00
Jeremy Soller
62b90179a2 Fix List widget not updating children because iterator not consumed 2026-06-10 12:04:26 -06:00
Ilia Malanin
c3c8fcf52c refactor: wrap repeated run_action call in a macro 2026-06-09 10:14:25 -04:00
Ilia Malanin
f725961c87 fix: reuse wgpu compositor across windows 2026-06-09 10:14:25 -04:00
Ashley Wulber
dcf4cf0194 improv: ignore duplicate surfaces and log a warning 2026-06-06 02:22:09 +02:00
Hojjat
5013f63956 improv: reuse loaded fonts by cosmic-text for svg renderer 2026-05-30 02:56:54 +02:00
Ashley Wulber
ebb3b125bf Revert "fix(text): don't reload cache every redraw"
This reverts commit 590e093086.
2026-05-29 16:43:44 -04:00
Gavin John
590e093086 fix(text): don't reload cache every redraw
I have >1000 fonts installed. COSMIC has always been somewhat laggy for me, but I had assumed it was just like that for everyone, or was the fault of my T480s. Eventually, when trying to diagnose some hitching, I ended up discovering that cosmic-launcher was consuming on average ~5% total CPU over time, which led me to discover that it was fetching all the fonts from disk and software rendering the fonts, every redraw, causing the high cpu usage *and* the stutters (as a result of hammering disk I/O). Oops.

The fix is simple: just persist the cache across redraws.
2026-05-29 19:56:54 +02:00
Ashley Wulber
9c748f1656 Revert "fix: avoid deadlock in context menu rendering"
This reverts commit 0094b347d4.
2026-05-27 17:25:49 -04:00
Hojjat
dfcd989947 fix: present suboptimal frames 2026-05-27 17:22:00 -04:00
Hojjat
0094b347d4 fix: avoid deadlock in context menu rendering 2026-05-27 17:22:00 -04:00
Ashley Wulber
a7d71d9ace chore: modifiers event on keyboard enter and leave 2026-05-27 20:01:47 +02:00
Ashley Wulber
6105d8bdef reexport geometry from iced_graphics 2026-05-22 15:42:09 -04:00
Michael Aaron Murphy
98fb6a0fba
docs: update cosmic-protocols with docs cfg fix 2026-05-20 17:00:28 +02:00
Hojjat
b007caba44 feat: add direct SCTK action sender for wayland popups 2026-05-20 16:04:35 +02:00