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

            Bug ID: 469834
           Summary: cannot change both width and height of client geometry
                    (maybe a race?)
    Classification: Plasma
           Product: kwin
           Version: 5.25.2
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: aeru...@aerusso.net
  Target Milestone: ---

STEPS TO REPRODUCE
1. startplasma-interactiveconsole --kwin
2. Run this script:
```
const clients = workspace.clientList();
var client = clients[clients.length-1];
client.geometry.height = 1000;
client.geometry.width = 1000;
```

(Obviously, make sure that the scripting console is the most recently opened
window, otherwise you'll be resizing some other window on your desktop).

OBSERVED RESULT
Only the width is changed. (invert the order to get the height to be changed)

EXPECTED RESULT
Both the height and width are changed.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian testing
KDE Plasma Version: 4:5.27.2-1
KDE Frameworks Version: 5.103.0-1
Qt Version: 5.15.8-2

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

Reply via email to