Can't type after using backspace

CodeLite installation/troubleshooting forum
mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Can't type after using backspace

Post by mex990 » Sat Mar 11, 2017 9:06 pm

Hi,
today i installed CodeLite 10.0.0 on my Fedora 25 64bit Workstation
I used the Guide from the Code Lite Website and installed xterm and clang before i run the setup.
My Problem is, when i use "backspace" in the Editor i can not type any other key's.
"return" is just working and after i use "capslock" it works till i use "backspace" again.
Pls can someone help me :?:

DavidGH
CodeLite Plugin
Posts: 635
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH » Sun Mar 12, 2017 12:57 am

Hi,

Is that with the rpm from our repo? Testing it here on fedora 25, it seems to work normally after backspace. Do you get the same problem with any other gtk applications?

Your story is familiar though; see this forum thread and this wxWidgets bug report. Please report back after you've tried the suggestions from those.

Regards,

David

mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't type after using backspace

Post by mex990 » Sun Mar 12, 2017 3:52 am

I installed it via repo like this:

Code: Select all

rpm --import https://repos.codelite.org/CodeLite.asc

Code: Select all

rpm -Uvh https://repos.codelite.org/rpms-10.0/fedora/codelite-10.0-1.fc25.x86_64.rpm
I will check the threads out tomorrow. THX for the help.

mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't type after using backspace

Post by mex990 » Sun Mar 12, 2017 1:39 pm

Now i killed ibus

Code: Select all

sudo killall ibus-daemon
uninstalled Codelite and reinstalled it after a reboot.
no difference...
I think it is a different problem because all keys i type shows up till i press the backspace only once. Then it doesn't work till i press Capslock or restart Codelite. :(

Edit:
I don't get this problem with gedit or vim

DavidGH
CodeLite Plugin
Posts: 635
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH » Sun Mar 12, 2017 6:05 pm

Now i killed ibus
uninstalled Codelite and reinstalled it after a reboot
Won't the reboot have restarted ibus?

For me, doing:
ps -ef | grep ibus-daemon
outputs:
ibus-daemon --xim --panel disable

What do you see?

mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't type after using backspace

Post by mex990 » Tue Mar 14, 2017 12:59 pm

Hi,
i got this out

Code: Select all

gdm       1575  1376  0 Mär13 tty1    00:00:00 ibus-daemon --xim --panel disable
markus    3456  3392  0 08:57 tty2     00:00:00 ibus-daemon --xim --panel disable
markus    6252  6219  0 09:53 pts/0    00:00:00 grep --color=auto ibus-daemon
still doesn't work.
Same problem.

DavidGH
CodeLite Plugin
Posts: 635
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH » Tue Mar 14, 2017 1:58 pm

I'm sorry it's still happening for you, but I can't reproduce it here and no one else has reported it. That suggests it's due to some setting on your particular machine.

Have you tried the other suggestions in those links?
In particular, have you tried running the wxWidgets 'text' sample after exporting 'WXTRACE=keyevent', as suggested towards the end of the second link?

mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't type after using backspace

Post by mex990 » Thu Mar 23, 2017 2:05 pm

hm...
at the moment i can not start the application.
I uninstalled and reinstalled it. And now i can not start CodeLite.
If i click on the Icon nothing happens.
What can i do?

DavidGH
CodeLite Plugin
Posts: 635
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH » Thu Mar 23, 2017 5:51 pm

What can i do?
The first thing you should have done was to try running it in a terminal, as that usually shows helpful error output if it fails. However:

Since you're using fedora 25, it might be either because of the problem reported here, or because of my fix for it.
If you keep your fedora updated, it will recently have installed a different version of libclang. The original CodeLite package won't work because it expects the original libclang; you need to download this fixed one.
I uninstalled and reinstalled it.
Alternatively, if when you reinstalled you downloaded the fixed package as linked to on the CodeLite repo page, and if you don't keep your fedora updated, then the fixed package probably won't work for you. If that's the case, either update your fedora (#> dnf update), or download and install the original package.

mex990
CodeLite Enthusiast
Posts: 12
Joined: Sat Mar 11, 2017 8:56 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't type after using backspace

Post by mex990 » Fri Mar 24, 2017 1:15 pm

OK now I have managed to bring CodeLite back to run. The solution on this page helped me a lot.
https://github.com/eranif/codelite/issues/1602

Unfortunately, the link in your first post
http://trac.wxwidgets.org/ticket/16840
did not help. But it is rather because I do not understand much of it. Can you give me a somewhat simpler help?
This would be very kind!
Thanks

Post Reply