#771 Problems with french accents when typing

0 up votes | 1 down votes | 0%

I just searched for this problem on the forum and found this issue: https://sourceforge.net/p/texstudio/bugs/136/?page=1

But then it says it is closed, although I have a very similar problem as the OP. When I type, sometimes, which seem to be totally random, the accents don't appear. For exemple, I can sometimes write "la tête" on the first time, with the ê being correctly typed. But few second later, I might type "la tête" but TexStudio will enter "la tete". I have the same problem for the ` on the è.

Is there a setting that I must set to get this straight?



1 2 > >> (Page 1 of 2)
  • works fine on linux

  • which os do you use ? Which version of txs ?

  • Sorry, I forgot to enter the details. I use Windows 7 and I have the 2.6.0 version.

  • Tim Hoffmann
    Tim Hoffmann

    Can't reproduce it on win either.
    1) How often does it happen.
    2) Does it only happen when you type very quickly?
    3) Are you using a French keyboard layout?
    4) What is the exact key sequence you type for the characters?

  • 1) It happens almost all the time that I am typing french characters in the program.
    2) It does happen when I type quickly, but sometimes it also happens when I type more slowly (to test the bug, for example)
    3) I am using the French (Canadian) keyboard layout.
    4) The key sequence I use is "^+e" or "^+o" or "`+e", etc.

    I didn't notice any problem in any other program, hence I thought it would be a software realted problem.

  • Tim Hoffmann
    Tim Hoffmann

    It likely is a software-related problem. Probably something in the key-press handling of the editor component we use. However I still can't reproduce it, which makes it hard to track down.

    I suggest that I compile a special version of TXS which tracks every key press event, so we can see what really arrives at the editor. Would you help tracking down the issue by testing such a version? (It may be a few days until I have time to write it).

  • I would gladly try it. I could type sentences with letters that I frequently use and that are problematic. Just post on the thread if/when you have rewritten it.

  • Tim Hoffmann
    Tim Hoffmann

    I've created a modified exe which writes a file keylog.txt next to the exe. You can download it here: http://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/texstudio-keytest.zip/download

    For testing download the 2.6.2 usb-Version, extract it to some directory and replace texstudio.exe with the above one. Then, type some text and provide keylog.txt.

    Note: the output contains the following information of the QKeyEvent:
    press/release event->key(), event->text(), event->count(), event->modifiers()

  • After an update to the 2.6.2 version, it seems that the problem has disappeared. I tried to reproduce it without success. I guess this is good news. If it happens again, I will use your keylogger and post it here. Thanks a lot for the support

  • Tim Hoffmann
    Tim Hoffmann

    Ok. Come back here if the problem appears again.

1 2 > >> (Page 1 of 2)