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

            Bug ID: 483808
           Summary: Widgets on non-floating panels do not function in
                    edges/corners of the screen
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: pallasw...@proton.me
                CC: niccolo.venera...@gmail.com
  Target Milestone: 1.0

SUMMARY
***
TL;DR: a single row or column of pixels, at the edge of a panel, are
unresponsive to mouse inputs to widgets.
I'll do my best to explain, but it might be easier to create a panel, put a
widget on the end (right or bottom) of it, move it to each screen edge, and try
and click it on its very end. You'll see it fail and get a feel for the problem
pretty quick that way.

Type example: I have window control via a widget in my panel. Typically for
window control, it is in the corner, so that a quick flick of the mouse always
hits.... except with plasma 6, it seems like the widget never reaches the
corner, it goes short by one pixel.

I tested this with a new empty panel, added an expanding spacer, and an
application launcher to put in the corners for testing. I found that for
floating panels, the end of the panel always works as expected (even when the
panel is floating and the mouse is nowhere near the widget, which is cool and
clever...). But, for non-floating panels:

* The entire top-left corner and surrounding pixel, work as expected

* The bottom-left corner pixel - only that ONE pixel - works. 
 - When the panel is vertical (left side), the subsequent pixels on the X axis
(moving left-to-right along the bottom of the display) do not respond. Widgets
act as if not hovered, and clicking does nothing. Right-clicking opens a menu
as if blank space on the panel was clicked - it opens the panel's context menu.
 - When the panel is horizontal (bottom) those pixels do work.

* The top-right corner pixel - only that ONE pixel - works. 
 - When the panel is horizontal (top side), the subsequent pixels on the Y axis
(moving top-to-bottom along the right edge of the display) do not respond.
Widgets act as if not hovered, and clicking does nothing. Right-clicking opens
a menu as if blank space on the panel was clicked - it opens the panel's
context menu.
 - When the panel is vertical (right side) those pixels do work.

* The bottom-right corner pixel never works.
 - When the panel is vertical (right side), the subsequent pixels on the X axis
(moving left-to-right along the bottom of the display) do not respond. Widgets
act as if not hovered, and clicking does nothing. Right-clicking opens a menu
as if blank space on the panel was clicked - it opens the panel's context menu.
 - When the panel is horizontal (bottom), the subsequent pixels on the Y axis
(moving bottom-to-top along the right edge of the display) do not respond.
Widgets act as if not hovered, and clicking does nothing. Right-clicking opens
a menu as if blank space on the panel was clicked - it opens the panel's
context menu.

Alignment does not have any effect (eg aligning a horizontal panel at the
bottom edge, to the right, does not make the rightmost column of pixels work)

***


STEPS TO REPRODUCE
1. Create a traditional Windows-style bottom panel, with Application launcher
in the bottom left corner, not floating.
2. Move mouse to bottom-left corner of the screen and click. Note that app
launcher is activated.
3. Edit the panel to move the App Launcher to the far right hand side
(bottom-right corner of the screen)
4. Move mouse to bottom-right corner of the screen and click... Note no
activation of the launcher.
extra:
5. Edit panel and move it to the right side of the screen.
6. Click in the bottom-right corner. Note no activation of the launcher. Try
one pixel above. Note that it works. Now try one pixel to the left. Note it
does not respond.
7. Edit panel and move it to the left side of the screen.
8. Click in the bottom-left corner. Note that app launcher is activated. Now
move the cursor one pixel to the right (it will still be on the bottom row of
pixels, now one pixel in from the left). Click. Note no activation of the
launcher.

OBSERVED RESULT
Cannot click on a widget in corners of the panel

EXPECTED RESULT
Corners :D

SOFTWARE/OS VERSIONS
Tumbleweed on kernel 6.7.9
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Aside from a few little things (I'll file bugs over time), a pretty smooth
upgrade to 6, well done you all.

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

Reply via email to