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

            Bug ID: 474627
           Summary: Changing window height and width at once via script on
                    wayland does not work
    Classification: Plasma
           Product: kwin
           Version: git-stable-Plasma/5.27
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: bartos.p...@gmail.com
  Target Milestone: ---

Hi,
i am trying to write script (using javascript) which changes size of some
windows. When script is executed, only one dimension of window can be changed
at once. So when doing this:

client.frameGeometry.width = 500;
client.frameGeometry.height = 500;

only window height is changed. When these lines are swapped, only width is
changed. This works without problem on X11. However I've found workaround which
works on both:

client.frameGeometry.width = 500;
client.geometryChanged.connect(() => {
  client.frameGeometry.height = 500;
});

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

Reply via email to