Notepad++ text selection "misbehaves" on 4K screen



  • My problem may be related to (https://community.notepad-plus-plus.org/topic/18496/difficulty-selecting-text?_=1602153379743) but it’s focus is different from mine.

    My Dell XPS 15 notebook has a “QHD” (i.e. 4K) screen. I can start a selection with the mouse accurately enough but I can not accurately predict the end of what is selected because what is highlighted is not what I get if I paste it.

    I’m using Windows 10 (fully up-to-date) and the latest Notepad++ (7.8.7). Both x64.

    Other observations:

    1. This behaviour is relatively recent. I don’t know the exact rev of Notepad when the change occurred, but I’d say it was about 6 to 9 months ago. I didn’t notice it as a problem for a long while because I was usually selecting whole lines. Just recently that changed and I realised it was a real pain in the a**.
    2. I have a second screen which is HD only and it does not show the problem. (So I have a work-around, but it’s still a pain!)

    I have a video showing the problem, but I haven’t yet found where to upload it.
    Here at least is the text of the message.

    Cheers, Geoff



  • @Geoff-Hall ,

    @Alan-Kilborn 's reply in another thread may be applicable to your problem as well, in that (unfortunately) the Notepad++ GUI codebase is pretty old, and doesn’t handle all the idiosyncracies of high-DPI monitors.



  • @PeterJones said in Notepad++ text selection "misbehaves" on 4K screen:

    @Geoff-Hall ,

    @Alan-Kilborn 's reply in another thread may be applicable to your problem as well, in that (unfortunately) the Notepad++ GUI codebase is pretty old, and doesn’t handle all the idiosyncracies of high-DPI monitors.

    Knowing (now) that it is an old code base does seem to fit the observation. Pity. If I find I’ve got a lot of spare time I might look into it :P
    In the meantime, at least I found a workaround.