https://bugs.kde.org/show_bug.cgi?id=473047
Bug ID: 473047 Summary: Tablet protocol implementation not always generating a proximity_in event when near opengl* window Classification: Plasma Product: plasma-wayland-protocols Version: 1.10.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: ianwoodfor...@gmail.com CC: aleix...@kde.org Target Milestone: --- SUMMARY If a pen comes close to the screen on an opengl* window, and is then hovered onto a new window, no "proximity_in" event is generated for that new window. STEPS TO REPRODUCE 1. Clone `https://github.com/0x182d4454fb211940/winit.git` 2. Switch to `proximity-test` branch. (Alternatively, use something that can directly print the tablet events. This is just a stripped-down version of where I noticed the bug.) 3. Run `cargo run --example proximity_test` 4. Bring the pen close to the screen, such that the pointer is inside the window that just opened. Take the pen away from the screen. 5. Bring the pen close to the screen, such that the pointer is inside an opengl* window. Move the pen onto the window spawned by cargo (so the pointer jumps directly from the opengl window to the new window), without touching the screen, and while maintaining pointer hover. Take the pen away. 6. Observe the output. OBSERVED RESULT proximity event: ProximityIn { /* snip */ } proximity event: ProximityOut proximity event: ProximityOut EXPECTED RESULT proximity event: ProximityIn { /* snip */ } proximity event: ProximityOut proximity event: ProximityIn { /* snip */ } proximity event: ProximityOut SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.4.7-arch1-3 (64-bit) (available in About System) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION My implementation here is very rough and could somehow be the source of the error. However gnome exhibits what I expect to be the correct behaviour. * OpenGL is my guess. I originally noticed this with kitty, which I believe uses opengl, and I tried with glxgears and that also reproduced the bug. Moving the pen pointer from firefox or the desktop correctly produced proximity_in events. -- You are receiving this mail because: You are watching all bug changes.