#11033 HIGH 11.3.0: Launcher and Activity get out of sync

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 17 00:11:36 EDT 2012


#11033: Launcher and Activity get out of sync
--------------------------------+-------------------------------------------
           Reporter:  erikos    |       Owner:  erikos                           
               Type:  defect    |      Status:  new                              
           Priority:  high      |   Milestone:  11.3.0                           
          Component:  sugar     |     Version:  Development build as of this date
         Resolution:            |    Keywords:                                   
        Next_action:  diagnose  |    Verified:  0                                
Deployment_affected:            |   Blockedby:                                   
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by dram):

 Replying to [ticket:11033 erikos]:
 > Sometimes when starting an activity you can get two items in the
 activity frame. One is a circle with no associated icon that has the
 normal activity palette and one is the launcher window, the pulsing
 activity icon with the 'Iniciando...' labeled palette.
 >
 > This looks similar to #10016, but is slightly different.
 >
 > Screenshots and logs attached. I can often reproduce it on Sugar Jhbuild
 when I start Sugar the first time after booting.

 It seems that this problem still exists in Sugar 0.96.

 It occurs almost every time when closing a activity and immediately open a
 new one.

 After some investigation, I found that `_window_opened_cb` is not always
 triggered by a activity window, sometimes by a window named `sugar-
 session`.

 According to this, after applying following patch, the problem is gone.

 --- jarabe/model/shell.py.orig  2012-09-18 10:30:48.000000000 +0800
 +++ jarabe/model/shell.py       2012-09-18 10:28:16.000000000 +0800
 @@ -522,6 +522,8 @@

           """
          if window.get_window_type() == wnck.WINDOW_NORMAL:
 +            if window.get_name() == 'sugar-session':
 +                return
              home_activity = None

              activity_id = wm.get_activity_id(window)

 I'm curious that what is the window named `sugar-session` ?

 BTW, I'm not sure if it is silimar to OLPC, as I'm testing in Sugar.

 And should I also report this to bugs.sugarlabs.org?

 thx.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11033#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list