Recent

Author Topic: Accents problem in GTK 2  (Read 2149 times)

EdyKnopfler

  • New member
  • *
  • Posts: 12
Accents problem in GTK 2
« on: July 05, 2013, 03:56:29 am »
When I type accented letters in the IDE or in my forms, they appear duplicated: áá êê íí õõ üü ...

Searching the bugtracker, I found this: http://bugs.freepascal.org/view.php?id=15688

It seems to be a GTK2 problem, in the CheckDeadKey procedure (lcl/interfaces/gtk2/gtk2proc.inc).

I tried to comment out such code and replace the call by a single call to gtk_im_context_filter_keypress. It solved the duplication problem but I can't type an accent key (a dead key) in one control, and after type the letter in other control. It's not a big problem to me, but it's a pattern in applications behavior.

Does anybody know how can I contact someone in the development  team and talk about this? I'd like to help to improve the GTK2 support, but I'm a newbie about this...

Blaazen

  • Hero Member
  • *****
  • Posts: 2782
  • POKE 54296,15
    • Eye-Candy Controls
Re: Accents problem in GTK 2
« Reply #1 on: July 05, 2013, 04:03:08 am »
@ Does anybody know how can I contact someone in the development  team and talk about this?
You can contact developers on Lazarus mailing list: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
You can fill the bugreport (or reopen the mentioned one, if you think it's a regression).
Lazarus 2.1.0 r59757M FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.11.2, Plasma 5.14.2
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/