[Bugs] #2021 URGE: keyboard control panel makes Sugar unresponsive

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon May 31 04:38:39 EDT 2010


#2021: keyboard control panel makes Sugar unresponsive
-----------------------------+----------------------------------------------
    Reporter:  sascha_silbe  |          Owner:  tomeu      
        Type:  defect        |         Status:  new        
    Priority:  Urgent        |      Milestone:  0.88.x     
   Component:  sugar         |        Version:  0.88.x     
    Severity:  Critical      |       Keywords:             
Distribution:  Unspecified   |   Status_field:  Unconfirmed
-----------------------------+----------------------------------------------
 The keyboard control panel is currently broken in Debian due to some
 configuration issue. I'm still investigating the reasons for this. The
 important thing for now is that this causes Sugar to be unresponsive.
 Since the Control Panel is globally modal, there's no way short of killing
 Sugar to recover from the unresponsiveness. Simply activating the keyboard
 control panel will trigger this bug.

 Traceback on entering the keyboard control panel:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line
 321, in __select_option_cb
     self.show_section_view(option)
   File "/usr/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line
 218, in show_section_view
     self._options[option]['alerts'])
   File "/usr/share/sugar/extensions/cpsection/keyboard/view.py", line 179,
 in __init__
     self._setup_group_switch_option()
   File "/usr/share/sugar/extensions/cpsection/keyboard/view.py", line 270,
 in _setup_group_switch_option
     self._keyboard_manager.get_current_option_group()
   File "/usr/share/sugar/extensions/cpsection/keyboard/model.py", line
 122, in get_current_option_group
     self.set_option_group(options)
   File "/usr/share/sugar/extensions/cpsection/keyboard/model.py", line
 149, in set_option_group
     self._gconf_client.set_list(_OPTIONS_KEY, gconf.VALUE_STRING, options)
 TypeError: value should be a string
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line
 321, in __select_option_cb
     self.show_section_view(option)
   File "/usr/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line
 218, in show_section_view
     self._options[option]['alerts'])
   File "/usr/share/sugar/extensions/cpsection/keyboard/view.py", line 179,
 in __init__
     self._setup_group_switch_option()
   File "/usr/share/sugar/extensions/cpsection/keyboard/view.py", line 270,
 in _setup_group_switch_option
     self._keyboard_manager.get_current_option_group()
   File "/usr/share/sugar/extensions/cpsection/keyboard/model.py", line
 122, in get_current_option_group
     self.set_option_group(options)
   File "/usr/share/sugar/extensions/cpsection/keyboard/model.py", line
 149, in set_option_group
     self._gconf_client.set_list(_OPTIONS_KEY, gconf.VALUE_STRING, options)
 TypeError: value should be a string
 }}}

 Traceback when trying to use the cancel (undo) button:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/jarabe/controlpanel/gui.py", line
 271, in __cancel_clicked_cb
     self._section_view.undo()
 AttributeError: 'NoneType' object has no attribute 'undo'
 }}}

 This ticket is about the keyboard control panel not recovering from
 configuration issues. In the long run, we should make the control panel
 fullscreen and non-modal anyway; that would fix the unresponsiveness part
 as a side effect.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2021>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list