4k resolution
-
I have been using Notepad++ for 20 years. 4 years ago I got 4k laptop and I noticed some menus, dialogs and other items are TINY. It looks N++ doesn’t scale elements correctly. While some things look good, some other things look microscopic. Is there a plan to fix this? There are lots of 4k screens these days and my configuration is nothing special. Default Windows 11 and all other programs work well.
-
High DPI is surprisingly more difficult than some people seem to think to add onto an app years after the main GUI portions were originally developed (newer apps, that were built from the ground up to handle high DPI might or might not have an easier time of it). @xomx has been working on improving the high DPI behavior, and will maybe chime in, but I thought some improvements had already been made.
What version of Notepad++ are you using (as usual with such questions, sharing the Debug Info makes it easier for people to help you)
I know that Windows has the Desktop > Right Click > Display Settings > Scale and layout settings – and I believe you have to have the scaling set to something other than 100% if you want Notepad++ to try to scale GUI options. If you’ve got it set to something else, showing a screenshot of the that whole Scale and layout section of your settings might give @xomx or someone else some ideas as to how to help you get things configured correctly, and/or give @xomx ideas on more things that need to be investigated in the source code.
-
@PeterJones said in 4k resolution:
High DPI is surprisingly more difficult than some people seem to think to add onto an app years after the main GUI portions were originally developed (newer apps, that were built from the ground up to handle high DPI might or might not have an easier time of it)
Very well said. N++ is a 20y+ Windows GDI app - at that time there was no hi-dpi stuff even on the horizon. Here is some good background reading for the understanding. In short - N++ has to do all the hi-dpi & per monitor awareness stuff by itself == A LOT of work to do.
@PeterJones said in 4k resolution:
@xomx has been working on improving the high DPI behavior,
Almost all the N++ hi-dpi & dark-mode work is done by the ozone10, our Windows-GDI guru :-) Here is for example only the ongoing hi-dpi stuff, the amount of code is impressive: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14959
@Maxitrol-Mat said in 4k resolution:
While some things look good, some other things look microscopic. Is there a plan to fix this?
I myself have no such problem on my laptop 3200x2000 display with the MS recommended 200% scaling. Could you post here some screenshots documenting your situation?