QtCreator keyboard bug?
-
Hi,
I am using QtCreator 4.5.0 based on Qt 5.10.0 on Windows 7 and german layout keyboard. I am having "sometimes" strange problem.
When I open a curly bracket for a for loop or while loop or if condition, a smiley symbol appears after curly bracket as shown in the attached image.
What is the reason? It is a not appearing always, only simetimes. I am typing curly brackets with AltGr+7 symbol on keyboard as shown in the attached image.
I have no problems in other editors like eclipse, MS word, Notepad++ -
@kahlenberg
i also encountered the exact same behavior on different machines, also with versions prior 4.5.0.
Most likely a QtCreator bug, but i couldn't find an entry in the bugtracker on a quick glance.Also german keyboard layout, but not always the same unicode character.
-
I have this effect too, but very seldom. In one Creator version it occurred very often and there it was a Qt bug as far as I remember. I think it may be some weird timing issue, depending on when you press and release AltGr vs. the number keys.
If it hurts you I'd suggest you to create a report at bugreports.qt.io
Regards,
-
Quite surprising to see this, to be honest, as Qt Creator is actually developed in Germany :-) so devs should notice.
FWIW, this has never happened for me (Polish layout).
-
And here is the report: https://bugreports.qt.io/browse/QTCREATORBUG-19961
-
@sierdzio said in QtCreator keyboard bug?:
Quite surprising to see this, to be honest, as Qt Creator is actually developed in Germany :-) so devs should notice.
Most developers here probably use US or British layout even if they are german, and even if their keyboard is german (like I do), since the german keyboard layout is pretty developer unfriendly. Latest after you get problems with your right thumb hurting, you switch ;)
-
Hah, yes I remember using US/Pl layout as well then I was working in Germany :)
-
@sierdzio said in QtCreator keyboard bug?:
Hah, yes I remember using US/Pl layout as well then I was working in Germany :)
See, using a completely different alphabet helps in that case. We just have to switch between the latin and the cyrillic, thus the US (QWERTY in my case) it the most natural. You guys just need to invent new alphabets for your languages. ;)
-
@kshegunov said in QtCreator keyboard bug?:
We just have to switch between the latin and the cyrillic, thus the US (QWERTY in my case) it the most natural
Luckily the PL layout is based on US (it's basically the same + some unfortunate extra characters from Polish language), so in most cases I don't need to switch and the layout is quite convenient (however I would really love to see the underscore _ moved away to a separate key, not requiring Shift modifier).
Back in Germany it was extra confusing because they decided to swap 'z' and 'y' o_O plus all the special characters are in different places (and back in the day I still had GB layout in muscle memory, too, which mixes everything again).
Personally I think that keyboard layouts are one of the big failures of worldwide civilisation :-D It's a (relatively) new technology, we've had all the opportunity to unify it across the globe, but no. Each country had to come up with their own variant :/