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
Which version of TXS are you using?
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.
Yes, likely Qt.
Nevertheless, if you give your exact language and keyboard settings, I can make a test.
see also:
https://bugreports.qt-project.org/browse/QTBUG-8764
https://bugreports.qt-project.org/browse/QTBUG-10032
I use the keyboard layout English (USA - international).
I found out that the key gets lost only with a certain typing sequence:
With this sequence, I get 'a' instead 'ä'. If I release ' prior to SHIFT, I get the 'ä'.
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.
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.
From the data you gave, our systems seem quite identical. I have no clue, why it works here, but not on your machine.
Keyboard Layout
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.
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.
I cannot test with your layout. I would need an amd64 installer. But I switched to the USA, International layout for my tests.
so the issue is solved?
Keyboard Layout with amd64
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.
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.