mirror of
https://github.com/deunix-educ/sourizz.git
synced 2026-11-25 04:39:43 +01:00
Record the GNOME Wayland field test: clear refusal, XWayland is no workaround
On GNOME 48.7 (Debian 13) the Wayland backend refuses to start with a clear message. The X11 backend through XWayland starts but only tracks the pointer over X11 windows, so the ring stays frozen over native Wayland windows. Document it in both READMEs and tick step 1 in the handoff note. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -148,7 +148,7 @@ Sourizz a un seul moteur de dessin et deux backends d'affichage ; il choisit le
|
||||
| sway, river, niri, labwc, COSMIC… | oui | *estimée* (voir ci-dessous) | demande le groupe `input` | – |
|
||||
| **GNOME, Wayland** | **non** — Mutter n'a pas de layer-shell | – | – | – |
|
||||
|
||||
Sous GNOME, ouvrez une session **« GNOME sur Xorg »**, ou utilisez un autre bureau. (Une extension GNOME Shell pourrait le faire nativement ; elle n'est pas encore écrite.)
|
||||
Sous GNOME, ouvrez une session **« GNOME sur Xorg »**, ou utilisez un autre bureau. (Une extension GNOME Shell pourrait le faire nativement ; elle n'est pas encore écrite.) Lancer `sourizz --backend x11` dans une session GNOME Wayland (via XWayland) démarre, mais ne contourne pas le problème : le pointeur n'est suivi que lorsqu'il survole une fenêtre X11, et l'anneau reste figé au-dessus des fenêtres Wayland natives (testé sur GNOME 48.7).
|
||||
|
||||
### Choisir le backend
|
||||
|
||||
@@ -191,7 +191,7 @@ En toute honnêteté sur la vérification :
|
||||
|
||||
- **Automatisé :** 57 tests unitaires (configuration, moteur, suivi des zones à redessiner, invariants de rendu, gestion des touches avec de vraies dispositions AZERTY/QWERTY, traduction evdev, analyse des commandes). En particulier, un test de propriété vérifie que le redessin incrémental est identique au pixel près à un redessin complet pour chaque forme de projecteur, style de traînée et effet de clic.
|
||||
- **X11 :** éprouvé en conditions réelles sous Debian 13, KDE Plasma 6.3, deux écrans — fenêtres de surcouche, traversée des clics, dessin de l'anneau / des clics / des traînées, aucun pixel fantôme après un mouvement rapide, raccourci global, ligne de commande, rechargement de la configuration en direct, menu de l'icône via D-Bus, fenêtre de réglages.
|
||||
- **Wayland :** éprouvé contre un compositeur **KWin 6.3** imbriqué — surcouche layer-shell, rendu de l'anneau / du projecteur / de la barre d'annotation, capture du mode annotation, script KWin de position du pointeur. Lancé aussi dans une vraie session KDE Plasma 6.3.6 Wayland : l'anneau suit le pointeur grâce au script KWin, et les effets de clic, leur son, l'affichage des touches, le projecteur et le mode annotation fonctionnent avec la vraie souris, le pavé tactile et le clavier. **Non testé** en vrai HiDPI, sous GNOME, Hyprland, sway, niri ou d'autres compositeurs.
|
||||
- **Wayland :** éprouvé contre un compositeur **KWin 6.3** imbriqué — surcouche layer-shell, rendu de l'anneau / du projecteur / de la barre d'annotation, capture du mode annotation, script KWin de position du pointeur. Lancé aussi dans une vraie session KDE Plasma 6.3.6 Wayland : l'anneau suit le pointeur grâce au script KWin, et les effets de clic, leur son, l'affichage des touches, le projecteur et le mode annotation fonctionnent avec la vraie souris, le pavé tactile et le clavier. **GNOME 48.7 (Debian 13), session Wayland :** Sourizz refuse de démarrer avec un message clair, comme prévu, et le backend X11 via XWayland ne suit le pointeur que sur les fenêtres X11. **Non testé** en vrai HiDPI, dans une session GNOME Xorg, sous Hyprland, sway, niri ou d'autres compositeurs.
|
||||
|
||||
Considérez la prise en charge de Wayland comme une première version solide qui demande davantage de tests sur le terrain ; les rapports de bogues accompagnés de la sortie de `sourizz -vv` sont bienvenus.
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ Sourizz has one drawing engine and two display backends; it picks the right one
|
||||
| sway, river, niri, labwc, COSMIC… | yes | *estimated* (see below) | needs the `input` group | – |
|
||||
| **GNOME, Wayland** | **no** — Mutter has no layer-shell | – | – | – |
|
||||
|
||||
On GNOME, log in with a **"GNOME on Xorg"** session, or use another desktop. (A GNOME Shell extension could do it natively; that is not written yet.)
|
||||
On GNOME, log in with a **"GNOME on Xorg"** session, or use another desktop. (A GNOME Shell extension could do it natively; that is not written yet.) Running `sourizz --backend x11` inside a GNOME Wayland session (through XWayland) starts, but is not a workaround: the pointer is only tracked while it is over an X11 window, and the ring stays frozen over native Wayland windows (tested on GNOME 48.7).
|
||||
|
||||
### Choosing the backend
|
||||
|
||||
@@ -191,7 +191,7 @@ Being honest about verification:
|
||||
|
||||
- **Automated:** 57 unit tests (config, engine, damage tracking, rendering invariants, key handling with real AZERTY/QWERTY layouts, evdev translation, IPC parsing). Notably, a property test checks that incremental repainting is pixel-identical to a full repaint for every spotlight shape, trail style and click effect.
|
||||
- **X11:** exercised live on Debian 13, KDE Plasma 6.3, two monitors — overlay windows, click-through, ring/click/trail drawing, no ghost pixels after fast motion, global hotkey, CLI, live config reload, tray menu over D-Bus, settings window.
|
||||
- **Wayland:** exercised against a nested **KWin 6.3** compositor — layer-shell overlay, ring/spotlight/annotation toolbar rendering, annotation mode capture, the KWin pointer script. Also run in a real KDE Plasma 6.3.6 Wayland session: the ring follows the pointer through the KWin script, and the click effects, click sounds, keystroke display, spotlight and annotation mode work with the real mouse, touchpad and keyboard. **Not tested** on real HiDPI, GNOME, or Hyprland, sway, niri or other compositors.
|
||||
- **Wayland:** exercised against a nested **KWin 6.3** compositor — layer-shell overlay, ring/spotlight/annotation toolbar rendering, annotation mode capture, the KWin pointer script. Also run in a real KDE Plasma 6.3.6 Wayland session: the ring follows the pointer through the KWin script, and the click effects, click sounds, keystroke display, spotlight and annotation mode work with the real mouse, touchpad and keyboard. **GNOME 48.7 (Debian 13), Wayland session:** Sourizz refuses to start with a clear message, as intended, and the X11 backend through XWayland only follows the pointer over X11 windows. **Not tested** on real HiDPI, a GNOME Xorg session, or Hyprland, sway, niri or other compositors.
|
||||
|
||||
Treat Wayland support as a solid first version that needs more field testing; bug reports with `sourizz -vv` output are welcome.
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Claude's per-machine memory does not travel, but the conversation of the previou
|
||||
Collect first, in each session, and paste the output back:
|
||||
`echo $XDG_SESSION_TYPE $XDG_CURRENT_DESKTOP; gnome-shell --version; sourizz doctor; wayland-info | grep -i layer`
|
||||
|
||||
1. **GNOME (Wayland session).** Expected: the Wayland backend refuses to start with "this compositor does not support wlr-layer-shell" (`src/wayland.rs`). Confirm the message is clear. Then try `sourizz --backend x11` (XWayland) and record: is the overlay visible above native Wayland windows? Does the ring follow the pointer over them, or only over X11 windows? The README claims the latter; that claim is unverified.
|
||||
1. **GNOME (Wayland session). DONE on 2026-10-30.** The Wayland backend refuses to start with a clear message (exit code 1; the autostart log shows the same). With `sourizz --backend x11` (XWayland) the daemon starts, the ring follows the pointer inside an `xterm` and stays frozen over native Wayland windows, so XWayland is not a workaround. Both READMEs now say so. Not checked: whether the overlay itself is drawn above native Wayland windows.
|
||||
2. **GNOME on Xorg.** Everything should work through the X11 backend: ring, trail, clicks, sound, keystrokes, spotlight, annotation, global hotkeys, settings window. Check the tray: the README says GNOME needs the *AppIndicator* extension; verify that claim (Debian package `gnome-shell-extension-appindicator`).
|
||||
3. If anything differs from the README, fix both READMEs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user