Although I don't understand why somebody might want to turn scaling off...
I can think of a list of reasons.
- Backward compatibility
- Usage of components that don't support scaling
- Custom components that rely on predefined dimensions
- Project stage, where scaling is not tested on different values yet, i.e. to guarantee a working application on different OS settings.
Because of the first and last point in my opinion the scaling should be off by default. I'd compare the scaling to i18n. It's an additional feature of the application that needs to be cared about on development. You couldn't say it always works out of the box.
--
I just tried to make a demo application and I'm even more confused now. When scaling settings are off, the application will still scale, both on design time and run time. But I have an existing application (some years old), that behaves differently. On designtime it will scale, but once compiled it will keep its original settings on any scaling factor of the OS*. The Project settings are the same ("scaled value" and "dpi aware" in the lpi-files both are disabled). I can't find what is different...*2
*Edit: Some controls are scaled as well, e.g. check boxes, combo boxes.
*2:Just checked again. If I enable scaling (Laz 2.0.2) for the "old" program, compile and disable it afterwards again, it always scales, so it changes behaviour. If I open it with Laz 1.8.0 again, the original behaviour, scaling only at design time works again, also if compiled with Laz 2.0.2.
There's obviously a bug. Should I also check with current trunk? What is the intended behaviour?