| Summary: | Restoring cursor visibility fails with Blender on Wayland with Tablet events | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Campbell Barton <ideasman42> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.26.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Campbell Barton
2022-10-25 22:23:31 UTC
Can you test whether the issue occurs in Plasma 6.1 or 6.2? In Plasma 6, we have greatly refactored the cursor implementation in kwin.
If it is still reproducible, can you clarify
> * KDE (plasma 5.26.1) has a bug where the cursor surface needs to be committed
> * (via `wl_surface_commit`) when it was hidden and is being set to visible again, see: T102048.
> * TODO: report this bug up-stream.
please? In general, in order to make a wl_surface visible again, you'll need to attach a buffer and commit it. Or is the problem that the wl_surface_commit needs to occur after zwp_tablet_tool_v2_set_cursor?
๐๐งน โ ๏ธ 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! (In reply to Vlad Zahorodnii from comment #1) > Can you test whether the issue occurs in Plasma 6.1 or 6.2? In Plasma 6, we > have greatly refactored the cursor implementation in kwin. Checked and the issue has been fixed in Plasma 6.2. > If it is still reproducible, can you clarify > > > * KDE (plasma 5.26.1) has a bug where the cursor surface needs to be committed > > * (via `wl_surface_commit`) when it was hidden and is being set to visible again, see: T102048. > > * TODO: report this bug up-stream. > > please? In general, in order to make a wl_surface visible again, you'll need > to attach a buffer and commit it. Or is the problem that the > wl_surface_commit needs to occur after zwp_tablet_tool_v2_set_cursor? Right, the cursor was hidden UNLESS calling `wl_surface_commit` after `zwp_tablet_tool_v2_set_cursor` . This Closing as fixed, it would be good to know which version was fixed exactly (likely 6.0). |