Menu

#555 Dead keys are lost in TeXstudio editor

closed
nobody
None
3
2012-10-17
2012-07-04
Mburg
No

Dead keys are lost most of the time when used in the editor of TeXstudio with Windows 7. Instead of getting ' ä ' when typing ' " a ' with an international keyboard layout I get only ' a '. If I wait after typing ' " ' for quite a while (about 1 second) I'll get the desired functionality. But typing slower is not a practical workaround.
As dead keys work perfectly in all other windows applications, I think it is a bug in TeXstudio or Qt itself.

I found some other posts describing the problem at the Qt site. But they do not provide any solution.
https://bugreports.qt-project.org/browse/QTBUG-22859
https://bugreports.qt-project.org/browse/QTBUG-24551

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    Which version of TXS are you using?

     
  • Mburg

    Mburg - 2012-07-04

    I use TeXstudio 2.3 (SVN 2471) on Windows 7 64bit. It is also a problem with SVN 2987 and Texmaker 3.3.4. Probably, it's a Qt problem.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    Yes, likely Qt.

    Nevertheless, if you give your exact language and keyboard settings, I can make a test.

     
  • Mburg

    Mburg - 2012-07-04

    I use the keyboard layout English (USA - international).

    I found out that the key gets lost only with a certain typing sequence:

    1. press and hold down SHIFT
    2. press and hold down ' to get the dead key "
    3. release SHIFT
    4. release '
    5. press and release 'a'
      With this sequence, I get 'a' instead 'ä'. If I release ' prior to SHIFT, I get the 'ä'.
     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    I cannot reproduce the behavior, I get always 'ä'.

    Please try with my binary: Download texstudio_3002.exe (execuable only) from
    https://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/
    Copy to your texstudio folder and directly execute.

     
  • Mburg

    Mburg - 2012-07-04

    I tried your binary. Still the same behavior.
    Be sure to release the SHIFT-key before releasing the "-key.
    It's quite tricky, because texstudio replaces the " when holding it down for a while.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    Be sure to release the SHIFT-key before releasing the "-key.
    Did that. Here it works. (Just for the record Win7 64bit, explicitly tested with SVN rev. 3002 compiled on Qt 4.7.4 and with the the svn2987_win32 snapshot (Installer including the Qt libraries).

    From the data you gave, our systems seem quite identical. I have no clue, why it works here, but not on your machine.

     
  • Mburg

    Mburg - 2012-07-04

    Keyboard Layout

     
  • Mburg

    Mburg - 2012-07-04

    We have the same setup. I tested the behavior on other machines and it is still the same. To test one more thing, I uploaded a customized keyboard layout. With this layout I could reproduce the problem by typing the mentioned sequence. The "-key has to be released before pressing a.

     
  • Mburg

    Mburg - 2012-07-04

    I tested the different keyboard layouts another time and probably found the problem.
    I couldn't reproduce the problem with the layout "English (USA - international)" anymore, but with the customized one.
    The difference between the both layouts is the '-key. In the standard layout this key has dead key properties with shift pressed and without. For the customized layout, I deleted the dead key properties for the '-key without pressing shift.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    I cannot test with your layout. I would need an amd64 installer. But I switched to the USA, International layout for my tests.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-04

    so the issue is solved?

     
  • Mburg

    Mburg - 2012-07-05

    Keyboard Layout with amd64

     
  • Mburg

    Mburg - 2012-07-05

    I'm sorry. I had to remove some files from the zip-file to satisfy the file size limit. Unfortunately, I removed the amd64 files. I uploaded the installer again.

    The issue still persists, as texstudio shouldn't behave like this with any keyboard. But probably we have to move the issue to Qt.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-07-11

    I tested your customized layout and could reproduce the said behaviour. Internally we just receive events for the shift key and the final "a" press, which may be modified by a previous dead key or not. But we do not see the dead key itself. Therefore the problem is outside TeXstudio and we cannot even do a workaround.

    You may post the issue to the Qt bugtracker.

     

Log in to post a comment.

MongoDB Logo MongoDB