Menu

#365 Grep results issues on HIDPI

Retest
open-fixed
None
5
2024-02-19
2024-02-14
No

The grep results form on my HIDPI monitor has some parts very small, some big same normal..

I'm using D11.3 on Windows 11 with a monitor 3840x2160 with 200% of zoom.

1 Attachments

Discussion

  • Thomas Mueller

    Thomas Mueller - 2024-02-17

    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

     
    • Davide Angeli

      Davide Angeli - 2024-02-18

      On my system there are two monitors with two different scaling exactly like yours:

      • the first one is HiDPI 3840x2160 with 200% zoom so 192dpi
      • the second one is FullHD 1920x1080 with 100% zoom so 96dpi

      The main one is the HiDPI monitor and Delphi IDE runs on it.

       
      • Thomas Mueller

        Thomas Mueller - 2024-02-18

        So there are two differences

        • I use 125% scaling on my High DPI monitor
        • my main monitor ist the FullHD monitor

        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.

         
  • Thomas Mueller

    Thomas Mueller - 2024-02-18

    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
  • Thomas Mueller

    Thomas Mueller - 2024-02-18

    Partial fix in revision #4214

     
  • Thomas Mueller

    Thomas Mueller - 2024-02-19

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB