Commit graph

123 commits

Author SHA1 Message Date
24da1dc0e4 merge: pop-os/iced a l'etat pinne par libcosmic 08a09e3df (epoch-1.9.0)
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
# Conflicts:
#	Cargo.toml
2026-09-24 20:45:11 +02:00
Hojjat
0968a10fc1 fix: arrow keys in text editor on a layer_surface 2026-09-22 01:10:34 -04:00
Hojjat
6f1b3a7170 fix(wayland): share a grabbing popup's modifiers with its toplevel 2026-09-21 17:43:21 -06:00
Hojjat
5fc4372d87 fix: do not report unfocused if focus moved to surface's own popup 2026-09-15 19:05:32 -04:00
Ian Douglas Scott
87e1787fbb cosmic-session-lock-layer-v1 protocol 2026-09-11 13:06:42 -06:00
d12bb8e056 merge: upstream/master (pre-epoch-1.8.0)
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
2026-09-10 17:52:30 +02:00
Hojjat
ffe1f1dbe3 fix(wayland): deliver popup Done to the parent window's widgets too 2026-09-09 16:17:27 -04:00
Ashley Wulber
cc5ca1ce29 fix: handling of grab chains and deletion of pending popups 2026-09-03 18:52:20 +02:00
Ashley Wulber
39d3c99d13 improv: allow multiple popup chains
multiple grabs are still not allowed, but this seems to be working well with a tooltip, nested popup chains, and hopefully a context drawer popup
2026-08-28 17:20:22 +02:00
Hojjat
aca94cf2af feat(wayland): add ability to hide the cursor over a surface
also now the surfaces say what the cursor over them should look like,
previously one cursor shape was selected globally for the seat
2026-08-27 22:05:27 -04:00
Hojjat
65e9faa43c feat(wayland): let a layer surface change its input region 2026-08-27 21:07:50 -04:00
c34af04431 fix: create_surface still gated on the removed cctk feature
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
Upstream renamed the iced `cctk` features to `wayland` and moved the
positive arm of create_surface() to the wayland_platform cfg alias, but
left the negative arm on `feature = "cctk"`. That feature no longer
exists, so its cfg was always true and both arms compiled at once,
giving `expected (), found Option<Box<dyn HasWindowHandle>>`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 21:53:10 +02:00
d24bcd0272 Merge remote-tracking branch 'upstream/master' into yoda-wayland-only
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	wgpu/Cargo.toml
#	wgpu/src/window/compositor.rs
2026-08-19 21:44:35 +02:00
Hojjat
f5aa5a6f8c fix: don't request redraw for pointer 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
Ashley Wulber
b3b0ab1cd5 fix: feature gates 2026-07-15 16:46:43 -04: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
Ashley Wulber
b5b2b2fcc3 fix: popup cleanup 2026-07-06 18:44:30 -04:00
Votre Nom
ce5ea665e2 Fix high-signal widget and Wayland warnings
Avoid recursive operation traversal, execute visible list updates instead of leaving a lazy iterator unused, remove unreachable cfg-gated surface creation code, and handle subsurface buffer attachment failures.
2026-07-02 18:42:57 +02: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
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
Ashley Wulber
dcf4cf0194 improv: ignore duplicate surfaces and log a warning 2026-06-06 02:22:09 +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
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
Hojjat
b007caba44 feat: add direct SCTK action sender for wayland popups 2026-05-20 16:04:35 +02:00
Lcstyle
d7595fab95 fix: bootstrap FrameStatus on session lock surface configure
The session lock configure handler was missing receive_frame() and
request_redraw() calls that the layer surface configure handler has.
Without these, after S3 resume or DPMS wake, the FrameStatus entry
for lock surfaces could be missing, causing the rendering gate to
never reach Ready state — resulting in permanently grey lock screens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-07 12:40:09 -04:00
Ashley Wulber
e000c71ff2 fix: send redraw request after events
creation events must be handled before processing redraws
2026-05-07 17:39:02 +02:00
KENZ
aa2a870c35 fix: Forward wayland IME events in SCTK only when single-instance
Some checks failed
Audit / vulnerabilities (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Build / todos_linux (push) Has been cancelled
Build / todos_windows (push) Has been cancelled
Build / todos_macos (push) Has been cancelled
Build / todos_raspberry (push) Has been cancelled
Check / wasm (push) Has been cancelled
Check / widget (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled
feature enabled
2026-04-18 16:12:59 -04:00
boloto1979
64b97077b7 fix(wayland): add mouse cursor entered event to SctkEvent 2026-04-16 12:27:46 -04:00
Ashley Wulber
13b8d3eab6 fix: just use 0 for position of blur rectangle 2026-04-14 23:21:27 -04:00
Ashley Wulber
1bf1e33317 improv(wayland): handle capabilities for ext_background_effect 2026-04-14 18:21:36 -04:00
Ashley Wulber
d2b2715835 feat: ext-background-effect blur 2026-04-14 18:21:36 -04:00
KENZ
594ed5cfbe fix: Forward DeleteSurroundingText event in wayland backend 2026-04-01 17:18:08 -04:00
KENZ
d0ef1f9e85 Implement IME-related methods of SctkWinitWindow for apps using single-instance feature
- At least, following apps are using `single-instance` feature:
  - cosmic-launcher
  - cosmic-app-library
- Once libcosmic text widgets supported the IME, these apps start hitting following methods of SctkWinitWindow which is `todo!()` and will crash at startup:
  - `set_ime_cursor_area()`
  - `set_ime_allowed()`
  - `set_ime_purpose()`
- So, this PR implements these method utilizing following wayland protocols.
  - zwp_text_input_v3
  - zwp_text_input_manager_v3
2026-04-01 17:18:08 -04:00
Ashley Wulber
e4da5002ae fix: a11y_ready state for sctk surfaces 2026-04-01 17:12:17 -04:00