#910 First time character ^ doesn't appear

None
fixed
nobody
None
1
2014-04-05
2014-02-25
hair-splitter
No

My system: TXS 2.7.0 beta + TeX Live 2013 + Windows 8.1 (64 bit) + Hungarian keyboard

Run the TXS, open a new document, type character ^ (on Hungarian keyboard: AltGr+3 or Ctrl+Alt+3) and then type for example character 1. The result is 1 instead of ^1. If I do it again, then it works fine.

Discussion

  • hair-splitter
    hair-splitter
    2014-02-26

    Oh my God! You misunderstand. The character ^ doesn't appear in the editor (not in PDF).

     
  • Nikolai Neff
    Nikolai Neff
    2014-03-03

    This is usually the indented behavior (depending on your keyboard layout). this "feature" is called "dead keys". If you want to type e.g. î, you first hit ^ and then i, but only î appears instead of ^i.
    If you want to always have the ^ appear at once the key is pressed, you have to change to another keyboard layout. On linux systems such layouts are indicated by the text (no dead keys) in their name. Don't ask me for Windows, though. Google may help there.

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-03

    1. As Nikolai wrote, are you aware of the concept of dead keys and your system settings for it (don't know right now if they are usually used in Hungarian).
    2. Does the behavior differ from other applications?
    3. Does the behavior differ from other Qt applications (like e.g. Texmaker)?
     
  • hair-splitter
    hair-splitter
    2014-03-04

    The keyboard layout works well.
    The other applications (e.g. Notepad++) works well.
    The other Qt applications (e.g. Texmaker) works well.
    In my system, TXS is the only program that behaves like.

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-04

    Reproduced in a minimal Qt Application with a QTextEdit and Qt 4.8.5. Therefore it seems to be an issue directly in Qt 4.8. It happens only once after application startup, therefore I consider it not too severe. We cannot do anything about this on the TXS side, because the information on the first dead key isn't passed to the application code from Qt. You might file a bug report to Qt.

    It seems that Qt 5 doesn't have this issue, so it will disappear once we switch over to Qt 5.

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-03-04

    • status: open --> pending
    • Group: -->
     
  • Tim Hoffmann
    Tim Hoffmann
    2014-04-01

    You may try this experimental Qt5 build. Does it still happen there?

     
  • hair-splitter
    hair-splitter
    2014-04-04

    Yes, now it works fine! Thank you!

     
  • Tim Hoffmann
    Tim Hoffmann
    2014-04-05

    • status: pending --> fixed