This seems only to happen when there is only a single High DPI monitor in the system (or possible multiple High DPI monitors with the same scaling. On my system with two monitors with different scaling the form looks fine.
(Did I ever mention that the complexity of this scaling stuff drives me mad? Who has the time to test all these different combinations? I certainly don't and apparently neither has Embarcadero.)
/grumble
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also use the High DPI monitor to run the IDE (but it refuses to stay there even though I have saved the desktops, one of the many bugs the IDE shows on my system)
I'll try to reproduce the problem by making the High DPI monitor my main monitor.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is driving me crazy: I can reproduce the problem now, but for any workaround I find, I also find some circumstances where it simply doesn't work. e.g. now rescaling works when I move the window between monitors, but it does not scale, when I move it from the 100% monitor directly to a docking position on the 200% monitor. If I then undock it, it still doesn't get scaled.
Last edit: Thomas Mueller 2024-02-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Revision #4215 seems to fix the problem with the "gaps" in the toolbar.
I still haven't got a solution for the form not rescaling when moved to a screen with different scaling and docked/undocked at the same time. Annoyingly this does not happen with the IDEs own forms, so I must be missing something.
I also need to make this a more generic solution, not just for the Grep Results form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems only to happen when there is only a single High DPI monitor in the system (or possible multiple High DPI monitors with the same scaling. On my system with two monitors with different scaling the form looks fine.
(Did I ever mention that the complexity of this scaling stuff drives me mad? Who has the time to test all these different combinations? I certainly don't and apparently neither has Embarcadero.)
/grumble
On my system there are two monitors with two different scaling exactly like yours:
The main one is the HiDPI monitor and Delphi IDE runs on it.
So there are two differences
I also use the High DPI monitor to run the IDE (but it refuses to stay there even though I have saved the desktops, one of the many bugs the IDE shows on my system)
I'll try to reproduce the problem by making the High DPI monitor my main monitor.
This is driving me crazy: I can reproduce the problem now, but for any workaround I find, I also find some circumstances where it simply doesn't work. e.g. now rescaling works when I move the window between monitors, but it does not scale, when I move it from the 100% monitor directly to a docking position on the 200% monitor. If I then undock it, it still doesn't get scaled.
Last edit: Thomas Mueller 2024-02-18
Partial fix in revision #4214
Revision #4215 seems to fix the problem with the "gaps" in the toolbar.
I still haven't got a solution for the form not rescaling when moved to a screen with different scaling and docked/undocked at the same time. Annoyingly this does not happen with the IDEs own forms, so I must be missing something.
I also need to make this a more generic solution, not just for the Grep Results form.