[kde] [Bug 424434] New: Application doesn't know its window's updated position while dragging

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Jul 19 18:17:27 BST 2020


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

            Bug ID: 424434
           Summary: Application doesn't know its window's updated position
                    while dragging
           Product: kde
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: php4fan at gmail.com
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. With Chrome: visit http://opentarget.org/test/stupidchrome/winpos/
2. click Launch: this will open a popup
3. Drag the popup to move it around

OBSERVED RESULT

The x and y values printed in the popup don't change while you are dragging the
window. They only get updated when you drop it.

EXPECTED RESULT

They should keep gettig updated. In fact, the contents of the window keep
getting redrawn and the javascript in the html page in Chrome keep running, and
the contents of the text keep getting updated. However, the values for the x
and y coordinates of the window, returned by javascript, are always the same
while dragging, equal to their value an instant before you started to move the
window.

THIS ONLY HAPPENS IN KDE: if you try the exact same example in the exact same
Chrome browser in Cinnamon or Gnome 3, it will work as expected and the values
will keep changing while you drag the window.

Since this only happens in KDE, it appears that the application running in the
window (in this case Google Chrome) doesn't get informed by KDE that the window
is being moved around, until you are done dragging, and then it is informed all
of a sudden of its new position.

This breaks existing web content in the case of a browser, and I can imagine it
breaking other applications that relying on knowing  the position of their
window on the screen in real time.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-40-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz
Memory: 7,6 GiB of RAM


ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list