Bug 392279

Summary: kwin scripting api cannot maximize window
Product: [Plasma] kwin Reporter: Tom B <tom>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***