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

            Bug ID: 359604
           Summary: Scripts geometryChange may be called with wrong values
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: now...@gmail.com

When a window's geometry is changed, geometryChange in Js scripts may be called
with wrong "intermediate" value. 
With intermediate value, I mean some value that is between old and new
geometry, but neither one of it.

Example: geometry change from (5,10 100x200) -> (15,20 300x400)
creates 2 geometryChange calls, instead of just one:
old geom               new geom
(5,10, 100x200) -> (14,19, 100x200)
(14,19 100x200) -> (15,20 300x400)

I have tested it with morphingpopups effect, where this bug breaks the
animation and popups jumps from/to wrong position (plasma-framework ToolTip is
also partly to blame, but fixing it is not enough).

This also happens with normal tooltips from QtWidgets apps, and I think is
easier to test there than with Plasma tooltips (happen only sometimes).

Reproducible: Always

Steps to Reproduce:
1. Open system settings -> open some category (eg. Desktop Behavior)
2. Hover help button in top toolbar (near the All settings button, so it gets
animated)
3. Mouse over the All settings button to trigger animation

It may not work for you, as it probably depends on exact size of the tooltips.
So if this doesn't trigger the bug, hopefully you'll find different widgets
that does trigger it.

Actual Results:  
two geometryChange calls

Expected Results:  
single geometryChange call

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

Reply via email to