Bug 392279 - kwin scripting api cannot maximize window
Summary: kwin scripting api cannot maximize window
Status: RESOLVED DUPLICATE of bug 387097
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (show other bugs)
Version: 5.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-24 17:55 UTC by Tom B
Modified: 2018-03-24 19:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom B 2018-03-24 17:55:59 UTC
I'm not sure if this is a documentation issue or a feature request, however I cannot find a way to maximize a window using a kwin script. 

I am looking at the documentation here: https://techbase.kde.org/Development/Tutorials/KWin/Scripting/API_4.9

You can set window.fullScreen = true; to make the window fullscreen and window.minimized = true; to minimize the window and there's a window.maximizable property which stores whether the window can be maximized but there doesn't seem to be a way to maximize the window via a script.

I tried window.maximized = true; in case the documentation was just missing the maximized property, but the documentation seems correct, there doesn't appear to be a maximized property.
Comment 1 Martin Flöser 2018-03-24 19:31:20 UTC
*** This bug has been marked as a duplicate of bug 387097 ***