Created attachment 141919 [details] [OBSERVED RESULT B] A thin line near the bottom edge is skipped while highlighting the screen edge. SUMMARY The 'Screen edge' highlighting effect is not triggered if one approaches a screen corner from a particular direction (see reproduction steps). STEPS TO REPRODUCE 1. In Settings > Workspace Behaviour > Screen edges, bind any action to the lower left corner of the screen 2. In Settings > Workspace Behaviour > Desktop effects, enable 'Screen Edge' and apply changes. 3. Bring your mouse to the bottom edge of the screen (somewhere in the middle, not near the corner) 4. Slowly move it to the bottom-left corner while hugging the bottom edge 5. When you reach close to the bottom-left corner, move the mouse slightly up 6. Move the mouse down again. OBSERVED RESULT A. The bottom-left screen corner is not highlighted after step 4, no matter how close one is to the bottom-left. The highlighting only comes into effect after step 5. The highlighting disappears again after step 6. B. (Possibly related observation) When the bottom-left screen corner is highlighted, note that the highlight is vertically displaced upwards from the screen corner. See the attached image, where there is a thin un-highlighted area on the bottom edge. EXPECTED RESULT Screen highlighting should be activated properly no matter how one approaches the screen edge. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.90 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.10.63-1-lts (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx Memory: 21.5 GiB of RAM Graphics Processor: AMD Radeon™ Vega 8 Graphics ADDITIONAL INFORMATION A. Screen corner highlighting is only triggered consistently on the top-left corner on my machine. The bottom-left corner shows the behaviour described in this bug, while it seems to be impossible to actually get the two corners on the right to be highlighted. B. The actual effect bound to the particular corner is always reliably triggered. C. Also reproducible on KDE Neon unstable.
Happens on Wayland too
(In reply to Kishore Gopalakrishnan from comment #0) > See the attached image, where there is a thin > un-highlighted area on the bottom edge. > Hmm, in my case it looks thicker. What is your DPI/Screen resolution? > A. Screen corner highlighting is only triggered consistently on the top-left > corner on my machine. The bottom-left corner shows the behaviour described > in this bug, while it seems to be impossible to actually get the two corners > on the right to be highlighted. Could your report that also as it seems another bug?
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1494
(In reply to Andrey from comment #2) > (In reply to Kishore Gopalakrishnan from comment #0) > > See the attached image, where there is a thin > > un-highlighted area on the bottom edge. > > > Hmm, in my case it looks thicker. What is your DPI/Screen resolution? Resolution is 1920x1080 (physical pixels), and I've set the scaling (in Settings > Monitors > Display configuration) to 150%. > > A. Screen corner highlighting is only triggered consistently on the top-left > > corner on my machine. The bottom-left corner shows the behaviour described > > in this bug, while it seems to be impossible to actually get the two corners > > on the right to be highlighted. > > Could your report that also as it seems another bug? Sure.
Could you build KWin with the fix applied maybe?
(In reply to Andrey from comment #5) > Could you build KWin with the fix applied maybe? Your fix leaves a very thin (it looks like one pixel) border on the bottom and right edges of the screen. If the mouse is on this border, the highlighting effect is not triggered. The top-left corner works perfectly as before. This is on X11.
Git commit c9b41a1682b3f49054e177c6daff5cbddef341bc by Andrey Butirsky. Committed on 06/10/2021 at 22:57. Pushed by butirsky into branch 'master'. fix wrong approach geometry of screen edge's effect Edge geometry has width and height, so we need the correction for approach geometry of bottom and right corners. The other edges are fixed as well. M +19 -19 src/screenedge.cpp https://invent.kde.org/plasma/kwin/commit/c9b41a1682b3f49054e177c6daff5cbddef341bc
Git commit bc6aaff63124b7925280d2b58b91365f4b55839a by Andrey Butirsky. Committed on 06/10/2021 at 23:00. Pushed by butirsky into branch 'Plasma/5.23'. fix wrong approach geometry of screen edge's effect Edge geometry has width and height, so we need the correction for approach geometry of bottom and right corners. The other edges are fixed as well. (cherry picked from commit c9b41a1682b3f49054e177c6daff5cbddef341bc) M +19 -19 src/screenedge.cpp https://invent.kde.org/plasma/kwin/commit/bc6aaff63124b7925280d2b58b91365f4b55839a
(In reply to Kishore Gopalakrishnan from comment #6) > Your fix leaves a very thin (it looks like one pixel) border on the bottom > and right edges of the screen. Please re-test with the latest patch, it should work now. Thanks.
(In reply to Andrey from comment #9) > (In reply to Kishore Gopalakrishnan from comment #6) > > Your fix leaves a very thin (it looks like one pixel) border on the bottom > > and right edges of the screen. > Please re-test with the latest patch, it should work now. Thanks. It works perfectly now. Thanks!