Bug 9284 - Click 'Home' icon can not back to desktop on sato for qemumips64
Summary: Click 'Home' icon can not back to desktop on sato for qemumips64
Status: VERIFIED FIXED
Alias: None
Product: Matchbox
Classification: Yocto Project Subprojects
Component: matchbox (show other bugs)
Version: 2.1
Hardware: Other mips64
: Medium+ normal
Target Milestone: 2.1 M4
Assignee: Jussi Kukkonen
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-17 03:19 UTC by Yi Zhao
Modified: 2016-04-05 06:13 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2016-03-17 03:19:41 UTC
Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M3.rc1/machines/qemu/qemumips64/

Git rev: master/8debfea81e69d038bd2d56314b272cb74f5582ed

Steps:
1. Launch sato image for qemumips64
2. Click some applications, e.g. Terminal. Then click 'Home' icon, it can not back to the desktop.

This issue only happens on qemumips64.
Comment 1 Jussi Kukkonen 2016-03-17 08:24:46 UTC
Can reproduce.
* panel is functional, other applets work fine
* even Home button obviously clicks, it just doesn't do anything
Comment 2 Jussi Kukkonen 2016-03-17 08:35:39 UTC
This has the same root cause as bug 9026. I have a fix/workaround.
Comment 3 Jussi Kukkonen 2016-03-17 13:10:50 UTC
(In reply to comment #2)
> This has the same root cause as bug 9026. I have a fix/workaround.

Wow, I was too cocky. It is the same root cause but the workaround doesn't actually apply to this one... 

The problem is that _NET_SHOWING_DESKTOP values get corrupted on mips64 at some point: As far as I can tell mbwm is sending the correct value  (0 or 1). The panel sees the change notifications but the _NET_SHOWING_DESKTOP value it reads is always the same regardless of what wm sent (but the value seems to change between boots).
Comment 4 Jussi Kukkonen 2016-03-29 08:29:38 UTC
Should be fixed now.


commit 93e411ee00805c0d37b68317a5916acdbe58d951
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Mon Mar 21 21:43:18 2016 +0200

    matchbox-wm: Update to fix XChangeProperty datatype issue
    
    This brings us to master HEAD and adds a single commit
    compared to the previous version:
      8178e70 ewmh: Fix data type of a few XChangeProperty calls
    
    This fixes broken Home-button in matchbox panel on mips64 (and
    probably other platforms).
    
    [YOCTO #9284]
    
    (From OE-Core rev: b5ed789a6fe2d395b74a073c28060eb0f5a04a1b)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 5 Yi Zhao 2016-04-05 06:13:51 UTC
Verified with 2.1 M3 rc2 build
git rev: master/21823cb466e79540567ad1a43ae6f93d850e4057