Can't type after using backspace

CodeLite installation/troubleshooting forum
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH »

Can you give me a somewhat simpler help?
First, open a terminal and type: echo $GTK_IM_MODULE
If I do that here, there is no output i.e. GTK_IM_MODULE seems not to be set. What do you find?

Then set it in that terminal:
export GTK_IM_MODULE=gtk-im-context-simple
and run CodeLite from that terminal by typing:
/usr/bin/codelite
Do you have the backspace problem in that CodeLite instance?

If that fixes the problem, then you know how to proceed. If not, try running the wxWidgets 'text' sample. Unfortunately the samples don't seem to be supplied by fedora, so I've attached the 'text' sample, slightly fixed.
First install the fedora wxGTK3 and wxGTK3-devel packages:
#> dnf install wxGTK3 wxGTK3-devel
Then create an empty dir somewhere, download the attached textsample.tar.gz there and extract it.
Then open a terminal in that dir and run:
g++ text.cpp $(wx-config --cxxflags --libs) -o text
That should have built the sample. Run it by doing: ./text
Try typing some text in it and seeing if backspace freezes there.

That's enough for now. If you report back that the problem continues and the sample freezes, I'll explain the next steps.
You do not have the required permissions to view the files attached to this post.
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 »

Hi, in the first step i got no output.

when i run

Code: Select all

g++ text.cpp $(wx-config --cxxflags --libs) -o text
i get:

Code: Select all

text.cpp:48:29: schwerwiegender Fehler: ../sample.xpm: No such file or directory
     #include "../sample.xpm"
                             ^
Kompilierung beendet.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH »

Sorry, somehow I uploaded the unaltered cpp file. Here's the correct one.
You do not have the required permissions to view the files attached to this post.
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 »

So now the compilation works.
But i'm sorry to tell you that the Problem do not appear in the sample. :|
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH »

What about the rest of the questions in the Fri Mar 24 post that started "First, open a terminal and type: echo $GTK_IM_MODULE"?
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 »

no output like this

Code: Select all

[markus@winzer6 ~]$ echo $GTK_IM_MODULE

[markus@winzer6 ~]$ 
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH »

Right. And the answer to the next question in that post?
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 »

Oh sorry i forgot about that.

yes. Same Problem...
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Can't type after using backspace

Post by DavidGH »

yes. Same Problem...
...meaning that CodeLite instance still had the backspace problem?

OK, back to the 'text' sample. Open a terminal and do:
export GTK_IM_MODULE="xim"
Run the text sample. Do you have the backspace problem?

Now do:
export GTK_IM_MODULE="ibus"
Run the text sample. Do you have the backspace problem?
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 »

DavidGH wrote: ...meaning that CodeLite instance still had the backspace problem?
Yes
DavidGH wrote:OK, back to the 'text' sample. Open a terminal and do:
export GTK_IM_MODULE="xim"
Run the text sample. Do you have the backspace problem?
No backspace problem
DavidGH wrote: Now do:
export GTK_IM_MODULE="ibus"
Run the text sample. Do you have the backspace problem?
No backspace problem
Post Reply