| Summary: | KWin sometimes seems to return zero-byte FDs for keymaps | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | joepie91 <admin> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | kdedev |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.5 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
joepie91
2024-06-26 09:31:45 UTC
Some additional context that may or may not be relevant: prior to the crash-and-restart, I was also getting `0` as the value for both `rate` and `delay` in the `wl_keyboard#repeat_info` event. This has not reoccurred at least since the crash-and-restart, but may have already stopped occurring earlier. I do not know how to reproduce it, so I don't know how actionable this information is, but it might hint at a common cause with the keymap issue. Can you run your app with WAYLAND_DEBUG=1 envvar and attach the output to this bug report? Setting NEEDSINFO ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! Hi, unfortunately for health reasons I have not gotten around to collecting the requested information yet. I do not know when I will be able to properly do so (as it will require some code reverts on my end to reproduce again). In the meantime, my most recent findings are that the issue only occurs when I try to read the FD as a file to the end, even after attempting to reset the read offset/pointer. When I mmap it instead, the issue does not occur and it works fine. Likewise, when I read any other FD to the end, it works fine. ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |