In general I do agree sizes of components should scale as needed. However as the components I'm working on are very visual and are really down to the 1px for looking correct it is nice to have the ability to design by pixel and have it be as they say pixel perfect.
Many components just work OK when the scaling is enable, some don't.
And the issue I'm having is not with the designer of a form using the components and setting them up, it with the initial drag onto a form. The defaults values for many things are again, pixel perfect and would not lend well to bulk scaling as I have found in when trying to get the BGRASuperGauge to scale automatically. In addition their is a lot of default properties for these components and would be a large task to make them all work in concert. If everything visually scaled linearly it would be easy. A good example is fonts, small pixel dimension lines and borders, etc. It just looks odd when scaled.
On the BGRASuperGauge I have a check box for allow auto scale, which I attempted to start making it happen, but even with the fonts on the scale of the gauge it required several break points as it scaled and just looked off to make things fit and yet be readable (as an example), lots of ugly arbitrary code and hard to test. So their is a definite trade off in trying to do the auto scale vs. manual with fidelity.
I don't know how QT/GTK/etc. deal with it, but in Windows it seems odd when the display is scaled. Works for the most part but when a form is scaled and thus the components sizes are changed this doesn't necessarily work out at all for complex visual components. The nice thing is that the designers of Lazarus does give the option of the form to NOT SCALE and that works out fine for the situations where a fixed screen size is the planned target.
I'm still learning the ropes with component creation and Ideally it would be great to have auto scale and good visual fidelity, I think that might be a longer term target, but I'm not quite there yet, just want it to drop on a low or high dpi form in the designer and still look OK, then let the user change as needed.
It is a problem as I have seen in others post going from Design in HiDPI monitor to normal and the other way, and really wasn't aware until I started doing more testing. Again learning as I'm going!
Thanks for the feed back as it does press me to do more of the auto scale sizing as it seems it is needed.
Sandy