Unable to insert "space" in SPE

Bug #282075 reported by Vivien Taillandier
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SciTE
New
Undecided
Unassigned
spe (Ubuntu)
Incomplete
Undecided
Stani

Bug Description

Binary package hint: spe

Ubuntu Intrepid
Package : 0.8.4.h-1

The bug is when striking the "space" key, auto-completion is called.
The only way to insert spaces is to use tab and delete some spaces or to copy / paste a space.
After some research, I was able to change the short cut "CTRL + Space" (auto completion) into another one not using the space key. However nothing happened when striking the key.
The most surprising is when opening a dialog to select a file, the space key responds perfectly.
Maybe the issue comes from the wxGUI, because I had the same problem with Boa-constructor (Intrepid)

Revision history for this message
scarpia31 (jr-dalet) wrote :

I found the same problem in scite/scintilia
The problem comes when you add an api file (used to realize completion).
When you use an api file, it is no more possible to insert space in scintilia.
As soon as you suppress the api file you can insert key but you loose the completion.

The problem comes from scintilia which is used by wx.

Revision history for this message
jean-luc menut (jeanluc-menut) wrote :

Same problem here, with Intrepid Ibex as well as with Hardy Heron.

Moreover, I do not have any idea on how not to use the api file.

Revision history for this message
manu64 (prouteur) wrote :

Same problem on Ubuntu Intrepid.

My locale settings are French.

I do not have any idea on how to find the api file to delete for spe.

Revision history for this message
Stani (stani) wrote :

Can you retry this on Jaunty? I can't reproduce it. Do you have the same issue if you log in in Ubuntu with the english language. It might be a wxpython or scintilla bug in combination with your locale.

Revision history for this message
jean-luc menut (jeanluc-menut) wrote : Re: [Bug 282075] Re: Unable to insert "space" in SPE

> Can you retry this on Jaunty?

Unfortunately, not for the moment I'm still using 8.10.
by the way, my locale settings are french too.

> I can't reproduce it. Do you have the same
> issue if you log in in Ubuntu with the english language. It might be a
> wxpython or scintilla bug in combination with your locale.

I still have the same problem (with spe 0.8.4.h)

Revision history for this message
Stani (stani) wrote :

@jean-luc

As I can't reproduce this bug on my system, I'll need some help from you. I hope you are willing to help.

Can you start SPE with:
$ python SPE.py --debug > debug.txt 2>&1

Type a space, close SPE and attach the debug.txt in this bug report (don't copy & paste please). I need to find out if it is a bug in SPE, in scintilla or in wxpython.

Do you have this bug as well on scite (sudo apt-get install scite)?

Can you please check if this happens as well with vanilla wxpython? Download the demo of your wxpython version here:
http://sourceforge.net/project/showfiles.php?group_id=10718&package_id=10559
You can find out your wxpython version in the SPE Help>About dialog. If you start the demo, there are two styled text control demos. Try with both of them if you can enter a space.

Would you feel comfortable to try SPE from subversion and see if the issue is also present there?
http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html

Changed in spe (Ubuntu):
assignee: nobody → stani (stani)
status: New → Incomplete
Revision history for this message
jean-luc menut (jeanluc-menut) wrote :

> Can you start SPE with:
> $ python SPE.py --debug > debug.txt 2>&1

Done. (attachment file : debug.txt)

> Do you have this bug as well on scite (sudo apt-get install scite)?

No, it works well. Scite version Version 1.76.

> If you start the demo, there are two styled text control demos. Try with both of them if you can enter a space.

It works well too (wxpython 2.8.8)

> Would you feel comfortable to try SPE from subversion and see if the issue is also present there?

Yes, still the same problem. I join a debug file : debug2.txt

Thanks for tour work,

Jean-Luc

Revision history for this message
Beebop (eddy-familleminet) wrote :

I have the same problem in Jaunty (eeebuntu fr-fr).
Downloaded from subversion :
Spe version
0.8.4.h
Python version
2.6.2 (2.3 required)
wxPython version
2.6.3.2 (2.6.1.0. required)

Revision history for this message
Beebop (eddy-familleminet) wrote :

The bug still occurs after changing locales to en-us.

Revision history for this message
Nicolas Fairon (nicolas) wrote :

Same problem on my Ubuntu 9.04 x86_64
spe 0.8.4.h-1
python 2.6.2
wxPython 2.8.9.1

Revision history for this message
Stani (stani) wrote :

On 03-08-09 11:10, Nicolas Fairon wrote:
> Same problem on my Ubuntu 9.04 x86_64
> spe 0.8.4.h-1
> python 2.6.2
> wxPython 2.8.9.1
>
>
Which language is your system?

Revision history for this message
Nicolas Fairon (nicolas) wrote :

> On 03-08-09 11:10, Nicolas Fairon wrote:
>> Same problem on my Ubuntu 9.04 x86_64
>> spe 0.8.4.h-1
>> python 2.6.2
>> wxPython 2.8.9.1
>>
>>
> Which language is your system?

French.

Revision history for this message
jean-luc menut (jeanluc-menut) wrote :

Some other soft have the same problem (e.g https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/221112 or http://forums.codeblocks.org/index.php/topic,8291.new.html) so it seems to not be a bug in spe or scite but in gnome or the french xorg keybord layout.

There is several solutions in the forums (by example http://forum.ubuntu-fr.org/viewtopic.php?id=211583 - in french sorry). I tried the solution to set the space configuration in the gnome keyboard preferences to "space key outputs usual space at any level" and it works well (if that helps with the french interface, you should click on Système->Préférences->Clavier->Agencement->Option de l'agencement->Utiliser la barre d'espacement[...]->la barre d'espacement renvoie[..]).

I don't know the possible drawbacks of the method.

Revision history for this message
max-k (max-k) wrote :

Does this problem only occur on x86_64 ?
I use archlinux x86_64 and i got the same problem.
-SPE 0.8.4.h
-Python 2.6.4
-wxPython 2.8.10.1
-xf86-input-evdev 2.3.2 (keyboard layout : fr, alternative layout : oss)
I join a debug.txt, perhaps it can be usefull.

Revision history for this message
Nicolas Viel (le-nicolas-viel) wrote :

I had this problem with my ubuntu 11.04 (x86_32). I solved it by changing my keyboard mapping from "french other" (français autre) which is the default to "french".

Revision history for this message
Doudz (sebastien-ramage) wrote :

Same problem for me on ubuntu 11.10 32bits,
I tried to change my keyboard mapping without success

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.