Recent

Author Topic: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)  (Read 30526 times)

smartduck

  • Newbie
  • Posts: 1
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #30 on: November 19, 2015, 07:52:53 pm »
I had the same problem.
I solved it installing both ibus-gtk and ibus-gtk3 via synaptic, then restarted Lubuntu.

Lubuntu 14.04.3 LTS, Lazarus 1.4.4, 32bit.

DL7BJ

  • Newbie
  • Posts: 2
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #31 on: November 20, 2016, 10:36:58 pm »
I have the same problem with installing Lazarus 1.6 and svn version 1.7 Revision 53390 build on a 32 Bit system. I use Lubuntu 16.04.1 LTS.

Enter a caption for a widget, a name for a form or something else results in double chars. I tried to install ibus-gtk install and deinstall scim as described in this thread but nothing solves the problem.

Are there some news about this bug?

alexander

  • New member
  • *
  • Posts: 8
    • My Homepage
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #32 on: January 20, 2017, 04:44:46 pm »
I also have the same problem.... it's unacceptable..... How do I fix this? I run the latest fpc and latest lazarus...

It is ok to run lazarus with
Code: Pascal  [Select]
  1. GTK_IM_MODULE=gtk-im-context-xim  lazarus
  2.  

But the problem is inherited by all compiled programs!!! And I use opengl, such that I cannot use qt.
« Last Edit: January 20, 2017, 04:51:08 pm by alexander »

justnewbie

  • Full Member
  • ***
  • Posts: 149
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #33 on: December 02, 2018, 12:13:24 pm »
Same problem here, double characters. Lazarus 1.8.2, Linux Mint 18.1 64-bit.
So far it worked well, but today I got this problem. Any solution? So many years and this huge bug is still there ...

HeavyUser

  • Sr. Member
  • ****
  • Posts: 262
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #34 on: December 02, 2018, 01:15:38 pm »
Same problem here, double characters. Lazarus 1.8.2, Linux Mint 18.1 64-bit.
So far it worked well, but today I got this problem. Any solution? So many years and this huge bug is still there ...

https://forum.lazarus.freepascal.org/index.php/topic,39799.msg274142.html#msg274142

I'm not a linux user thank god. so I'll leave others to answer the long time bug.

justnewbie

  • Full Member
  • ***
  • Posts: 149
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #35 on: December 02, 2018, 03:57:03 pm »
Same problem here, double characters. Lazarus 1.8.2, Linux Mint 18.1 64-bit.
So far it worked well, but today I got this problem. Any solution? So many years and this huge bug is still there ...

https://forum.lazarus.freepascal.org/index.php/topic,39799.msg274142.html#msg274142

I'm not a linux user thank god. so I'll leave others to answer the long time bug.

Thank you, but it did not solve the problem.
ibus-gtk and ibus-gtk3 installed.
Input method >> none.
Doesn't work.
I can't believe that this bug is at least 10 years old and still exists.
It makes impossible to work with Lazarus.
Any other solution?
« Last Edit: December 02, 2018, 04:03:33 pm by justnewbie »

Handoko

  • Hero Member
  • *****
  • Posts: 2900
  • My goal: build my own game engine using Lazarus
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #36 on: December 02, 2018, 04:30:49 pm »
Have you try the solution in the link below?

https://forum.lazarus.freepascal.org/index.php/topic,39213.msg268286.html#msg268286

It works for me on Ubuntu. Don't forget you need to reboot your computer to see the effect.

justnewbie

  • Full Member
  • ***
  • Posts: 149
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #37 on: December 02, 2018, 04:34:54 pm »
Have you try the solution in the link below?

https://forum.lazarus.freepascal.org/index.php/topic,39213.msg268286.html#msg268286

It works for me on Ubuntu. Don't forget you need to reboot your computer to see the effect.
Yes, I did that and restart Linux, but nothing changed.

justnewbie

  • Full Member
  • ***
  • Posts: 149
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #38 on: December 02, 2018, 06:10:39 pm »
OK, problem solved.
I found JD's post here https://forum.lazarus.freepascal.org/index.php/topic,39799.msg274142.html#msg274142 and he wrote "Creating a file input_method.sh in my home directory". It was misleading, because the proper folder is the /etc/profile.d.
Thank you for the help
« Last Edit: December 02, 2018, 06:12:27 pm by justnewbie »

Angbor

  • Newbie
  • Posts: 2
Re: One keypress, two characters (GTK2, Ubuntu 8.10 x86_64)
« Reply #39 on: March 05, 2019, 11:18:59 am »
Yes, guys!
It really works!!
(I have Xubuntu)
Shalom