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

            Bug ID: 468361
           Summary: Drag windows from all empty areas: Window (older
                    versions: mouse pointer) jumps
    Classification: Plasma
           Product: Breeze
           Version: 5.25.5
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: mendicant.b...@gmx.net
                CC: uhh...@gmail.com
  Target Milestone: ---

Created attachment 157999
  --> https://bugs.kde.org/attachment.cgi?id=157999&action=edit
Window jumps when trying to move/drag from empty area

SUMMARY
***
The "Drag windows from all empty areas"-feature has a bug in the Breeze
application theme, making the window (in older versions, the mouse pointer)
jump to an arbitrary location for certain applications.
***


STEPS TO REPRODUCE
1. Install Kubuntu 22.10
2. Install VLC Media Player with `sudo apt install vlc`
3. Play any video in VLC Media Player (Important: You have to play a video. The
bug does not reproduce if the video layer has never been initialized)
4. Click the left mouse button on any empty area and drag. The window
(Previously on Ubuntu 22.04 LTS: Mouse pointer) will jump to another location

OBSERVED RESULT

The window (or mouse pointer) will jump to an arbitrary location.

EXPECTED RESULT

A window move/drag operation is initiated, the window is moved according to the
user's mouse input.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION

- This bug has now been introduced into the Oxygen theme as well, which was
previously unaffected. I was able to track down the bug to commit
https://invent.kde.org/plasma/oxygen/-/commit/7bf1bc7f4003b266ffbb33c20eb0c46d9ce265b3
(`7bf1bc7f4003b266ffbb33c20eb0c46d9ce265b3`  "Use QWindow::startSystemMove()
Instead of low-level X11/Wayland code")
- This happens primarily with video players after they started playing a video.
I.e. VLC, SMPlayer, etc.
- An in-depth analysis for SMPlayer can be found here:
https://github.com/smplayer-dev/smplayer/issues/272
- The bug has to do with `winId()` and native widgets
- The bug frustrates users and causes them to file bugs in the application's
issue tracker, as they are unaware that this is caused by a theme

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

Reply via email to