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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10635</bug_id>
          
          <creation_ts>2016-11-09 14:34:07 +0000</creation_ts>
          <short_desc>matchbox-window-manager: _NET_CURRENT_DESKTOP is not implemented correctly</short_desc>
          <delta_ts>2017-01-10 21:58:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Matchbox</product>
          <component>matchbox</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Raphael Kubo da Costa (rakuco)">raphael.kubo.da.costa</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>jose.perez.carranza</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68190</commentid>
    <comment_count>0</comment_count>
    <who name="Raphael Kubo da Costa (rakuco)">raphael.kubo.da.costa</who>
    <bug_when>2016-11-09 14:34:07 +0000</bug_when>
    <thetext>matchbox-window-manager returns an empty value when one queries the _NET_CURRENT_DESKTOP X11 property.

This can be easily verified by adding xprop to a test image and calling &quot;xprop -root _NET_CURRENT_DESKTOP&quot; -- an empty value will be returned instead of a number.

http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-window-manager/commit/?id=050b414cf6e1a24c0c2489257cdb4a9fd482afc9 introduced the bug by passing 0 to the wrong XChangeProperty() argument.

This causes a crash in Chromium debug builds, as there is a debug assertion expecting _NET_CURRENT_DESKTOP not to return an empty string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69120</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-12-14 12:18:16 +0000</bug_when>
    <thetext>commit 1417adcf53336bd65799f116f19237092a60d9c8
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Thu Dec 8 13:05:25 2016 +0200

    matchbox-wm: Upgrade 1.2.1 -&gt; 1.2.2
    
    Fixes [YOCTO #10635]: _NET_CURRENT_DESKTOP returns empty value.
    
    (From OE-Core rev: f63c75cc0da4f64ed2d769690122a34d40f7af49)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69687</commentid>
    <comment_count>2</comment_count>
    <who name="Juan Ramos">juan.fernandox.ramos.frayle</who>
    <bug_when>2017-01-10 21:58:28 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; commit 1417adcf53336bd65799f116f19237092a60d9c8
&gt; Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
&gt; Date:   Thu Dec 8 13:05:25 2016 +0200
&gt; 
&gt;     matchbox-wm: Upgrade 1.2.1 -&gt; 1.2.2
&gt;     
&gt;     Fixes [YOCTO #10635]: _NET_CURRENT_DESKTOP returns empty value.
&gt;     
&gt;     (From OE-Core rev: f63c75cc0da4f64ed2d769690122a34d40f7af49)

Tested in adb34b8ddcd8cc34ae7d2b1b2e4b4d291d790f56, with core-image-sato-sdk-genericx86-64.hddimg
downloaded from: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M1.rc1/machines/genericx86-64/

$xprop -root _NET_CURRENT_DESKTOP
_NET_CURRENT_DESKTOP(CARDINAL)= 0

Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>