Summary: | [Wayland] Action assigned to a screen corner/edge should not be triggered while we select an area to take a screenshot with Spectacle | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bharadwaj.raju777, dimakrm361, guimarcalsilva, kortrax11, nate, tgnff242 |
Priority: | NOR | ||
Version: | 5.26.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=441464 | ||
Latest Commit: | Version Fixed In: |
Description
Patrick Silva
2021-08-21 10:59:49 UTC
Can confirm. Interesting. Maybe the last bug I reported could be technically related to this one? I'm not sure. https://bugs.kde.org/show_bug.cgi?id=441464 Mine is a bit different since it's especifically about fullscreen games that capture the mouse cursor. My guess is that in both cases Wayland needs a way to know when it should hand over the cursor control to the program. *** Bug 442633 has been marked as a duplicate of this bug. *** This requires a screen edge inhibiting protocol. (In reply to Vlad Zahorodnii from comment #4) > This requires a screen edge inhibiting protocol. Any hints on where to start if I wanted to create that protocol? This also happens when, for example, you grab and move the scrollbar to go quickly to the start/end of a page/document in an application window and get outside of the boundaries of the application and hit a hot corner, which likely happens more often. (In reply to Bharadwaj Raju from comment #5) > (In reply to Vlad Zahorodnii from comment #4) > > This requires a screen edge inhibiting protocol. > > Any hints on where to start if I wanted to create that protocol? all relevant screen edge code is in src/screenedge.cpp in kwin repo. plasma specific protocols can be found over here https://invent.kde.org/libraries/plasma-wayland-protocols/ I think the wayland protocol needs a factory and an inhibitor object, e.g. * kde_screen_edge_inhibitor_manager_v1 * kde_screen_edge_inhibitor_v1 the steps to implement the wayland protocol would be: add an xml file in plasma-wayland-protocols, implement it in kwayland-server, and wire it in in kwin also, feel free to ask questions about implementing wayland protocols in #kde-kwin on libera or matrix *** Bug 460737 has been marked as a duplicate of this bug. *** Cannot reproduce with Spectacle 23.04.1. Operating System: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics Platform: Wayland |