Caret position is incorrect if window dragged across monitors
Created originally on Bitbucket by Gili
Version 4.5.3
I'm attaching a video that shows me opening the commit window in 4k monitor with 150% scaling, dragging the window to a 1080p monitor with 100% scaling.
You will notice that when the dialog enters the 1080p monitor, the caret position is incorrect. I see the caret in the middle of the text, but when I type new characters appear at the end of the text.
I am expecting the caret to remain at the end of the line.
PS: I can see you are using Qt 5.9.2. According to http://doc.qt.io/qt-5/highdpi.html it should already have HiDPI support. I know nothing about Qt. If this is a Qt bug, are you able to create a new bug report with them?
Thank you in advance.
Attachments: video_201842812431