Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137038 - deskbar-applet doesn't allow changing language during typing in it
Summary: deskbar-applet doesn't allow changing language during typing in it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 16:15 UTC by Vadim
Modified: 2006-07-12 05:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim 2006-06-16 16:15:00 UTC
deskbar-applet 2.14.1.1

If I type a few letters in English, then switch to Russian, I get "A programming error has been detected":

 Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/deskbar/DeskbarApplet.py", line 172, in on_keyboard_shortcut
    match = modctx.module.on_key_press(qstring, shortcut)
  File "/usr/lib/deskbar-applet/handlers/epiphany.py", line 101, in on_key_press
    return on_entry_key_press(query, shortcut, shortcuts_to_smart_bookmarks_map)
  File "/usr/lib/python2.4/site-packages/deskbar/BrowserMatch.py", line 120, in on_entry_key_press
    key = chr(shortcut)
ValueError: chr() arg not in range(256)

If I do the same in ubuntu Dapper, it clears my input in English and switches to russian. At least no error in Dapper.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-27 10:01:24 UTC
Maybe Dapper has a patch ?
Comment 2 Vadim 2006-07-12 05:57:51 UTC
Ok, as of gnome-2.14.2 / deskbar-applet-2.14.2, the bug has disappeared. Now it behaves like the Dapper version - changing language clears the input field. No Python exception anymore.