Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#2021 closed defect (invalid)

keyboard control panel makes Sugar unresponsive

Reported by: sascha_silbe Owned by: tomeu
Priority: Urgent Milestone:
Component: Sugar Version: 0.88.x
Severity: Critical Keywords:
Cc: unmadindu Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

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.

Change History (3)

comment:1 Changed 14 years ago by sascha_silbe

  • Cc unmadindu added

CC'ing unmadindu as he wrote the keyboard control panel IIRC.

comment:2 Changed 11 years ago by dnarvaez

  • Resolution set to invalid
  • Status changed from new to closed

Code is changed a lot here. If you are still seeing issues please open a new bug.

comment:3 Changed 11 years ago by dnarvaez

  • Milestone 0.88.x deleted

Milestone 0.88.x deleted

Note: See TracTickets for help on using tickets.