[QScintilla] Bug report: Caret position is incorrect if window dragged across monitors
Phil Thompson
phil at riverbankcomputing.com
Thu May 24 07:58:35 BST 2018
On 24 May 2018, at 7:53 am, Scott Bloom <scott at towel42.com> wrote:
>
> Unfortunately it doesn’t happen with a QPlainTextEdit or a QTextEdit.
>
> However I did notice something, that might be a clue.
>
> When going from a 100% to a 125% QTextEdit and QPlainTextEdit, "look fine" until you type. Then the text gets updated (expanded), and the cursor moves accordingly. When you move them back, the same, the text stays the same size until you type, then it shrinks and the cursor moves.
>
> With QScintilla, its fine, when you type, the cursor moves, but the text does not expand (or shrink)
Can you try with the QT_AUTO_SCREEN_SCALE_FACTOR=1 environment variable set?
Thanks,
Phil
More information about the QScintilla
mailing list