Bug 306225

Summary: workspace.displayHeight is wrong
Product: [Plasma] kwin Reporter: Yichao Yu <yyc1992>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Severity: normal    
Priority: NOR    
Version: 4.9.0   
Target Milestone: 4.9.2   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.2
Sentry Crash Report:

Description Yichao Yu 2012-09-04 01:48:34 UTC
the value of workspace.displayHeight is actually displayWidth although displaySize is correct.

from output of print(JSON.stringify(workspace));

(not sure if it is fixed in git or 4.9.1 but at least it is wrong for 4.9.0)

Reproducible: Always
Comment 1 Martin Flöser 2012-09-04 04:18:43 UTC
typo, thanks for noticing
Comment 2 Martin Flöser 2012-09-04 04:28:08 UTC
Git commit 8bcb32f0ca833be152e907d3f27bfa6d1b7085b3 by Martin Gräßlin.
Committed on 04/09/2012 at 06:26.
Pushed by graesslin into branch 'KDE/4.9'.

Return displayHeight for property displayHeight and not displayWidth

Typo in the scripting bindings.
FIXED-IN: 4.9.2

M  +1    -1    kwin/scripting/workspace_wrapper.cpp