From 75ac401067792ada13497cc886961a2f6678cbe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= Date: Thu, 6 Feb 2025 08:11:01 +1100 Subject: Bug [#2460]. Workaround incorrect scaling of "reverse arrow" cursor under Windows and HiDPI screens The GDK_RIGHT_PTR cursor is provided only by GTK - there's no native Windows cursor of this shape so GTK renders the cursor by itself from the cursor theme bitmap. The code doing this is apparently buggy and does not take into account HiDPI screens so on a screen with 300% scaling, the cursor is 3x smaller. Workaround this by using GDK_HAND2 which maps to a native Windows cursor that doesn't suffer from this problem. See https://sourceforge.net/p/scintilla/bugs/2460/ --- doc/ScintillaHistory.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 95b212749..5bcc93dfb 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -608,6 +608,10 @@ Fix segmentation of long lexemes to avoid breaking before modifiers like accents that must be drawn with their base letters.
  • + For GTK on Windows, replace reverse arrow cursor with hand as reverse arrow was small in scaled modes. + Bug #2460. +
  • +
  • Fix bug on Qt where double-click stopped working when Scintilla instance had been running for weeks.
  • -- cgit v1.2.3