distal-attribute
distal-attribute
distal-attribute
distal-attribute

Heidi SQL and high dpi

dc posted 6 months ago in General

Is there a chance to make HeidiSQL behave properly on high dpi systems? Now it looks really bad. Screenshot is taken on resolution 3200x1800

Thanks in advance, dc

1 attachment(s):
  • heidiSQL-high-dpi01
HamptonNorth posted 6 months ago

Exact same issue. Running 3840 x 2160 on main screen and 1920x1080 on extended second display. Both displays have v. small toolbar icons and screwed up Database/Table Filters input boxes. Auto scaling in use with main screen at 200% and second screen at 100%

ansgar posted 6 months ago

Yes, that's a known issue in HeidiSQL. Unfortunately, Delphi XE5's support for high dpi dialogs and forms is horrible. Apart from setting the dpiAware flag per manifest file, which I recently did to prevent Windows from upscaling and blurring, there is not much I can do. The icons cannot be scaled, many input fields do not respond as they should when trying to set their height, etc.

dc posted 6 months ago

I see. Maybe you could try to prepare manifest file for bitmap scaling like explained here: https://spaghettidba.com/2015/10/14/ssms-in-high-dpi-displays-how-to-stop-the-madness/?

kalvaro posted 6 months ago

How bad was the upscaling blur to begin with? If Delphi lacks proper support for high DPI displays, perhaps it's better to just not pretend the app is dpiAware. Not to mention that good old FamFamFam Silk icons come in good old 16x16 px format.

As a personal note, I've been using monitors slighly over the minimum resolution since Windows 98 and I can tell you that programmers in general and GUI library creators in particular hate displays over 72dpi to the bones.

HamptonNorth posted 6 months ago

I was perfectly happy with the scaling issues until last week. Unfortunately, cannot say which build caused issue. Great product regardless

ansgar posted 6 months ago

Well, there were others complaining about blurriness with bitmap scaling. But I also think that's better than the current situation.

ansgar posted 6 months ago

r5107 reverts that dpi-aware flag in HeidiSQL's manifest file.

HamptonNorth posted 6 months ago

r5107 works fine for me. Thanks

dc posted 6 months ago

Hi, just gave it a try and it's much better than it was. At least now it's usable :)

To be honest it is blurry as you can see in screenshot which compares both versions (without any post processing). Fonts in menu are good enough, but maybe something could be done with most frustrating part: font in SQL windows and log?

Anyways, since it doesn't break anything for users with standard dpi I'd prefer to stay on this release. Thank you

1 attachment(s):
  • heidiSQL-high-dpi01-r5104_vs_r5107

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