Build 9258 screws upfont sizes

tonymarston's profile image tonymarston posted 6 years ago in General Permalink

I have just upgraded to version 9.5.0.5298 and it completely screwed up the font sizes in all dialog boxes by making them HUGE! So huge they overflow the display areas and become unreadable. When I go to the Tools->Preferences->General tab the box for setting the font size has completely disappeared. I have had to revert to the previous version.

[expired user #9580]'s profile image [expired user #9580] posted 6 years ago Permalink

I've the same problem! See an attachment of what is now looking the main window.

1 attachment(s):
  • Annotazione
ansgar's profile image ansgar posted 6 years ago Permalink

This is due to various new fixes for high DPI scaling. See issue #213. Probably the scaling factor is not yet correct.

  • Could you please make a screenshot where Heidi can be seen besides another program which supports DPI scaling?
  • How is your DPI scaling set? (125%, 150%,...)
tonymarston's profile image tonymarston posted 6 years ago Permalink

I am using a Lenovo laptop with a 14inch screen running at a resolution of 1920 x 1080 with 150% scaling. My OS is windows 10. The attached screenshot shows a HeidiSQL window from version 9.5.0.5295

1 attachment(s):
  • HeidiSQL
[expired user #11818]'s profile image [expired user #11818] posted 6 years ago Permalink

I've just upgraded and the fonts are screwed too. I'm using a 4K monitor with 200% scaling in Windows 10. Screenshot attached.

1 attachment(s):
  • Screenshot-185-
[expired user #11818]'s profile image [expired user #11818] posted 6 years ago Permalink

Edit: Using portable version 9.5.0.5196 is a workaround for now. "File" -> "Export settings" and then import settings in portable.

/download.php?download=portable-64

ansgar's profile image ansgar posted 6 years ago Permalink

@tonymarston: you are back on build 5295 - please update and report back, or...?

ansgar's profile image ansgar posted 6 years ago Permalink

@kuchumovn: I see my factor for scaling the font size must not be proportional to the scale percentage.

For example:

  • font height is 9px @ 100% scaling
  • should be 18px @ 200% scaling
  • Heidi increases the font size, not the height, by factor 2, which weirldy results in 27px height
  • the fix for the size factor could be: [size] / 3 * 2
  • crossing fingers that this fixes the font height to the right value

Isn't this all a mess or what?

tonymarston's profile image tonymarston posted 6 years ago Permalink

I reverted to version 5295 because 5298 is faulty. I will not upgrade again until the fault is fixed.

ansgar's profile image ansgar posted 6 years ago Permalink

I meant why you did you post a screenshot of the non-faulty version. Anyway, you should have noticed that it has blured fonts, which is what I want to fix here.

For the font size/height problem: perhaps I should just increase the height by the proportional factor, not the size with an unproportional one.

tonymarston's profile image tonymarston posted 6 years ago Permalink

I posted a screenshot of the non-faulty version to show that it did not have the fault. It should signify that a change you made to the later version produced this fault, so you should look at this change to find out why it misbehaved.

The fonts in the non-faulty version may look slightly blurred to you, but I would much rather have a slightly blurred font that I can read than a sharp font that I cannot.

ansgar's profile image ansgar posted 6 years ago Permalink

Yes, of course - better blurred than sharp but too big.

Keep in mind you're using the nightly builds here, not the official release version. There always may be unfinished things in the nightlies. In the next release, however, I planned to have this all fixed.

[expired user #11818]'s profile image [expired user #11818] posted 6 years ago Permalink

I see my factor for scaling the font size must not be proportional to the scale percentage.

I'd like the fonts just to be normal size, not scaled. I'm using 200% scale for "retina" effect, so fonts inside an app shouldn't get bigger than on a FullHD monitor.

Keep in mind you're using the nightly builds here, not the official release version. There always may be unfinished things in the nightlies.

I just clicked "Help -> Update" yesterday and it updated to what it currently is. If it's a nightly build then it means that "Help -> Update" updates to a potentially broken version which I guess should be changed ("Help -> Update" should only updated to stable releases).

In the next release, however, I planned to have this all fixed.

Ok, thx.

ansgar's profile image ansgar posted 6 years ago Permalink

Current build should show correct font size now in high-dpi mode.

tonymarston's profile image tonymarston posted 6 years ago Permalink

That fixes the font problem, but as you can see in the attached screenshot there is a problem in the 'basic' tab where the right hand margin of the 'name' and 'comment' text boxes appears to be fixed' If I try to make the left hand pane any wider, or reduce the size of the entire window, the text boxes disappear completely.

1 attachment(s):
  • HeidiSQL
[expired user #11818]'s profile image [expired user #11818] posted 6 years ago Permalink

@ansgar I also updated to the latest build and it fixes the font sizes. I also noticed that the font size now is a bit smaller, maybe by 1px or 2px. I looked at the "Grid formatting" section but it only allows selecting font-family (Tahoma) and doesn't offer font-size selection.

Offtopic: I can see the toolbar icons are very blurry. I could find a high-res (or even SVG, if you prefer) alternatives to the existing icons if you want. Mail me at kuchumovn@gmail.com if interested.

[expired user #11818]'s profile image [expired user #11818] posted 6 years ago Permalink

@ansgar Found a way to increase the scale with Ctrl + mousewheel, so disregard my font-size comment.

ansgar's profile image ansgar posted 6 years ago Permalink

The icons are currently upscaled hardly, which breaks the alpha channel of the png based icons.

If there was support for svg files, that would be cool, but Delphi does not have that currently. I also guess this is not the most important thing to fix. But it would at least be cool if I find a way to upscale icons while preserving their alpha channel. Paint.net also does that, and that looks way better than in HeidiSQL. Not sharp, but at least not so broken.

Please login to leave a reply, or register at first.