jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.91k stars 320 forks source link

Font is over sized till I make any changes to the session #625

Open YasirAlibrahem opened 8 years ago

YasirAlibrahem commented 8 years ago

Hello, I've got a new laptop based on Windows 10, and installed SuperPutty.

Whenever I connect to a new session, the fonts are very large. I noticed that If I "right click > Change Settings" then "Appearance > Font Setting" and modify the font or the font quality, then the font is working as expected.

Any advice, please ?

Many thanks

astrandb commented 7 years ago

I have same problem on a Microsoft Surface Pro 4

harrisonhjones commented 7 years ago

I also have this issue on a Surface Book running Win10. @YasirSaad, how exactly did you temporarily fix it? Where should I right click to find the "Change Settings" option?

EDIT

Ok, nevermind. For me this was a Windows scaling issue. I had recently connected a different monitor to my computer and that threw off the scaling. To fix you apparently just have to sign out and then back in again. @YasirSaad & @astrandb Can you confirm this fixes you issue as well so we can close out this issue?

YasirAlibrahem commented 7 years ago

Hi @harrisonhjones, Thanks for the suggestion. Unfortunately, that's not the case for me. I'm not connecting to any external monitors. The font is just large by default. My workaround has to be applied every time, manually. TBH, I stopped using SuperPutty since then. I'd love to get this fixed & get back on track!

harrisonhjones commented 7 years ago

Can you provide a screenshot? Also, if you right click on your desktop, then go to Display Settings what does your Customize your display screen look like? I think this issue can occur without an external monitor. Can you try reinstalling SuperPutty to see if the issue persists now?

snowzach commented 7 years ago

I think it has something to do with display scaling. I have a 4k display on my laptop with display scaling set at something like 150% so text isn't microscopic. When I open a session on that screen I get large text and have to apply the settings to get it to go to something sane.

opub commented 7 years ago

I see something similar on a 4K laptop display (no external monitor). The font is huge regardless of the default PuTTY appearance settings.
hugedefaultfont

If I change the superputty.exe compatibility properties to "disable display scaling on high DPI settings" then the font size is fine in the PuTTY window but the rest of the UI is broken (form elements overlap in header, tree looks horrible, etc.) Right clicking the session tab and selecting Change Settings then Apply fixes the session font. So this just seems like an issue with the initial scaling on hi-res displays. afterchangesettingsapply

opub commented 7 years ago

Seems to be a duplicate of @ #427 .

astrandb commented 7 years ago

I have recompiled the source code with "DPI-aware" enabled in the manifest. This makes the scaling in PuTTY work much better but many of the forms and bitmap images still need minor adjustments. I have tested on displays with 100%, 125% and 200% scaling. One complication that is difficult to control is that PuTTY is a separate app that scales independently from SuperPutty. To make SuperPutty fully DPI-aware will take a number of hours but it is definitely doable.

ronanb3 commented 7 years ago

I have the same issue and it seems it's linked to the way Putty behaves and don't take into account the way it scales the font when the window scales. I selected not to change the font but it seems it is doing it anyway. "Change settings" and "Apply" make the font right. I had the same issue with MTPutty.

pjwiseman commented 6 years ago

All was fine for me until a few days ago after a reboot. I'm running Windows 10. In the windows shortcut properties there is a "Override high DPI scaling behaviour" setting. Scaling performed by:" setting. Changing this from "Application" to "System" or "System (Enhanced)" fixed my problem.

dilipddba commented 5 years ago
SuperPuttyIssue

try this setting . it worked for me.

akhileshcs005 commented 5 years ago

MTPutty_Font_Issue

This helped me on windows 10 for MTPutty.

prembhaskal commented 5 years ago

On my machine it helped by enabling property "override high DPI scaling behavior" in the program shortcuts.

Fairlight2cx commented 4 years ago

This is still broken as hell.

If you apply the DPI fixes -and- let the application control scaling, the font becomes reasonable again, but SuperPutty completely disregards the column setting (I get 202 instead of 132), -and- your menu drops to below the toolbar.

If you apply only DPI fixes, but do not override with application scaling, it fixes the menu location, but the font is huge and disregards the actual terminal settings.

This software is not properly usable in its current form.

jsiegele commented 4 years ago

On my machine it helped by enabling property "override high DPI scaling behavior" in the program shortcuts.

works for me too - mtputty