<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>306225</bug_id>
          
          <creation_ts>2012-09-04 01:48:34 +0000</creation_ts>
          <short_desc>workspace.displayHeight is wrong</short_desc>
          <delta_ts>2012-09-04 04:28:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>scripting</component>
          <version>4.9.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.9.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yichao Yu">yyc1992</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kde-workspace/8bcb32f0ca833be152e907d3f27bfa6d1b7085b3</cf_commitlink>
          <cf_versionfixedin>4.9.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1294050</commentid>
    <comment_count>0</comment_count>
    <who name="Yichao Yu">yyc1992</who>
    <bug_when>2012-09-04 01:48:34 +0000</bug_when>
    <thetext>the value of workspace.displayHeight is actually displayWidth although displaySize is correct.

from output of print(JSON.stringify(workspace));
&quot;displaySize&quot;:{&quot;w&quot;:1920,&quot;h&quot;:1200},&quot;displayWidth&quot;:1920,&quot;displayHeight&quot;:1920,&quot;

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

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294062</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-09-04 04:18:43 +0000</bug_when>
    <thetext>typo, thanks for noticing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294064</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-09-04 04:28:08 +0000</bug_when>
    <thetext>Git commit 8bcb32f0ca833be152e907d3f27bfa6d1b7085b3 by Martin Gräßlin.
Committed on 04/09/2012 at 06:26.
Pushed by graesslin into branch &apos;KDE/4.9&apos;.

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

http://commits.kde.org/kde-workspace/8bcb32f0ca833be152e907d3f27bfa6d1b7085b3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>