NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

Icons are way to small

Open jhstaal opened this issue 8 years ago • 8 comments

The icons are way to small to be usable. Can they please scale with the screen resolution? I am using a 3840x2160 resolution with a 250% scaling. NPP icons scale perfect with these settings, but NppFTP does not. nppftp bar functionbar

jhstaal avatar Apr 23 '16 08:04 jhstaal

I second this.

It would be good either if the icons would scale with windows scaling or maybe some kind of custom icon scale in config file at least.

Otherwise, NppFTP rocks!

EDIT: Looks like it's here: https://github.com/ashkulz/NppFTP/blob/696129e851a0c2b171036fd6ca2dd70d85bc0949/src/Windows/Toolbar.cpp#L83

Gogolian avatar Sep 04 '17 07:09 Gogolian

See also #171 and #218

chcg avatar Sep 04 '17 19:09 chcg

Needs to have some dpi awareness handling in https://github.com/ashkulz/NppFTP/blob/master/src/Windows/Toolbar.cpp, similar to https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/WinControls/ToolBar/ToolBar.cpp with

int iconSize = NppParameters::getInstance()->_dpiManager.scaleX(_state == TB_LARGE?32:16);

, but also named identical NppFTP is not directly comparable with the current N++ version. Maybe based on some old version at time of NppFTP initial commit around 2010.

chcg avatar Mar 04 '19 23:03 chcg

This makes the plugin extremely difficult to use on HDPI screens. A partial work-around in Windows 10 is to adjust the windows settings for the application:

  • Right click on Notepad++ icon, e.g. desktop shortcut
  • Select "Properties" from context menu
  • Select "Compatibility" tab
  • Select "Change high DPI settings" button
  • Assert "Override high DPI settings behavior." checkbox
  • Select "System" from "Scaling performed by:" drop-down. ("System (Enhanced)" also works.)

This scales all application icons so is not ideal but may be better than the alternative. Also, I have my Windows system scaling set to 250% which may also be required for this to take affect.

Of course, resolution of the underlying issue would be preferred but this work-around may help some whilst the developers work on the fix.

riban-bw avatar Mar 30 '20 06:03 riban-bw

@riban-bw Hi thank you for the work around. I am seeing this problem has been around from 2016. Do you know why this problem has not been fixed till now?

Hassan313 avatar Jun 07 '20 21:06 Hassan313

I gave it a try today (after installing the latest update/0.29.5) and I am sorry to say that it still does not work as needed. It looks like this project is abandoned. No updates since 2017.

jhstaal avatar Jun 08 '20 20:06 jhstaal

@jhstaal, don't confuse a lack update on an issue with a project being abandoned. NppFTP was updated 23 April 2020 ( 0.30.7). The latest served by Plugin Admins is 0.29.5 which was released 10 March 2020.

Ben-Voris avatar Jun 08 '20 21:06 Ben-Voris

Is there any progress on fixing this? It's been an issue for years at this point!

aaviator42 avatar May 01 '22 22:05 aaviator42