https://bugs.kde.org/show_bug.cgi?id=483667

            Bug ID: 483667
           Summary: duplicated input events
    Classification: Plasma
           Product: kwin
           Version: 6.0.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ferdinandschobe...@gmail.com
  Target Milestone: ---

SUMMARY

I'm receiving duplicated mouse input events on a layershell window surface:
[2024-03-15T13:26:07Z DEBUG lan_mouse::backend::producer::wayland] event:
Button { serial: 1937, time: 15302675, button: 272, state: Value(Pressed) }
[2024-03-15T13:26:07Z DEBUG lan_mouse::backend::producer::wayland] event:
Button { serial: 1937, time: 15302675, button: 272, state: Value(Pressed) }
[2024-03-15T13:26:07Z DEBUG lan_mouse::backend::producer::wayland] event:
Button { serial: 1938, time: 15302782, button: 272, state: Value(Released) }
[2024-03-15T13:26:07Z DEBUG lan_mouse::backend::producer::wayland] event:
Button { serial: 1938, time: 15302782, button: 272, state: Value(Released) }

The above trace is from a single button press and release of the mouse.
Notice that the serials are the exact same, as is the timestamp.

See https://github.com/feschber/lan-mouse/issues/91.

STEPS TO REPRODUCE
1.  Create a layershell surface with a pointer lock
(pointer-constraints-unstable-v1) and exclusive keyboard interactivity
(zwlr_layer_surface_v1::set_keyboard_interactivity).
2. Record the events -> sometimes they show up twice


OBSERVED RESULT
Input events are duplicated.

EXPECTED RESULT
I expect to see input events only once.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800
ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to