#7042 NORM Never A: sugar-launch uses odd substring match.

Zarro Boogs per Child bugtracker at laptop.org
Tue May 20 16:12:16 EDT 2008


#7042: sugar-launch uses odd substring match.
--------------------+-------------------------------------------------------
 Reporter:  cscott  |       Owner:  marco                            
     Type:  defect  |      Status:  new                              
 Priority:  normal  |   Milestone:  Never Assigned                   
Component:  sugar   |     Version:  Development build as of this date
 Keywords:          |    Verified:  0                                
 Blocking:          |   Blockedby:                                   
--------------------+-------------------------------------------------------
 sugar-launch should prefer an exact match over a substring match.

 Activities saved with Pippy's "Keep as Activity" option end up by default
 with a dbus id of the form 'org.laptop.pippy.ActivityName'.
 Unfortunately, since sugar-launch apparently uses case-insensitive
 substring matching, this means that 'sugar-launch Pippy' and 'sugar-launch
 org.laptop.Pippy' both now launch the generated activity, not Pippy!  (It
 seems that sugar-launch also takes the first match, so you probably won't
 notice this until you upgrade Pippy after first saving an activity,
 causing the activity to match before the new Pippy.)

 A possibly related bug: if you install multiple versions of Pippy, it
 appears that only the older one ever gets launched.

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


More information about the Bugs mailing list