Bug #941

Dead keys are not working on Linux

Added by kervala about 8 years ago. Updated about 8 years ago.

Status:Closed Start date:05/26/2010
Priority:High Due date:
Assignee:kervala % Done:

100%

Category:OS: GNU/Linux
Target version:Version 0.8.0

Description

Dead keys are keys like "^" when you press "^" and "e", it should display "ê" but we got "^e". For the moment, it displays all typed characters they are dead keys or not.

It's specific to non-english keyboards where accents are used :)

History

#1 Updated by kervala about 8 years ago

  • Status changed from Validated to Assigned
  • Assignee set to kervala

#2 Updated by kervala about 8 years ago

  • % Done changed from 0 to 90

The last thing to do, is to be able to detect all key presses, even for dead keys (because they are filtered).

#3 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100

Applied in changeset r228.

#4 Updated by kervala about 8 years ago

  • Target version set to Version 0.8.0

What I did to fix the last problem is :

  • When an event is composed by XIM, returned keycode is 0 so we shouldn't send any key event here.
  • When an event is filtered, the keycode is set to 0 so we need to save it before and don't retrieve any string (will be processed later).

#5 Updated by rti about 8 years ago

Works on Mac as well :)

#6 Updated by kervala about 8 years ago

Great :) Thanks for testing :)

#7 Updated by vl about 8 years ago

  • Status changed from Resolved to Closed

#8 Updated by kervala about 8 years ago

  • Category changed from NeL: General to OS: GNU/Linux

Also available in: Atom PDF