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

            Bug ID: 514107
           Summary: Context menu opens in the wrong place when toggling
                    fullscreen
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
In the plasma-wayland session, when toggling an application to fullscreen or
back and then opening the context menu without moving the mouse, the context
menu opens in the wrong place.

Not all applications are affected, and it's not strictly related to Qt:
* affected: probably all KDE applications (tested some), libreoffice, firefox,
haruna, inkscape,
* not affected: vlc-qt, smplayer.

STEPS TO REPRODUCE
1. Open an application that has a fullscreen mode and toggle to fullscreen.
2. Do not move the mouse.
3. Right-click and see where the context menu opens.

OBSERVED RESULT
The context menu opens, but not in the place where the mouse pointer is. When
the window is at (x,y) and the mouse pointer is at (x+dx, y+dy), the context
menu opens at (dx,dy).

EXPECTED RESULT
The context menu should open at the position of the mouse pointer.

SOFTWARE/OS VERSIONS
Linux: Tumbleweed 20260101, kernel 6.18.2-1
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
* It also happens when turning fullscreen off.
* Only happens in the wayland session.
* Apparently the pointer coordinates are not updated correctly. But the mouse
pointer itself is always correctly positioned, e.g. it does not jump to the
"wrong" location.

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

Reply via email to