Eclipse Plugin: Default launch config dialog cut off on HiDPI (Retina) displays

On a Windows 10 PC with a HiDPI/Retina display, the default launch configuration dialog (*) is cut off, leaving the OK and Cancel buttons inaccessible. As far as I can tell, this dialog is not resizable, either (not that I think it should be.)

(*) The dialog that you see when you haven't created your own launch configurations for a project.

The user has to use ENTER, ESC or the X button instead.

Environment:
Eclipse Plugin 3.0.6
Windows 10
Dell XPS 13 9343 (2015)
Resolution: 3200 x 1800
OS Display Scaling: right-click Desktop, Display Settings, Change the size of text..., 150% or larger

In my case, the dialog is only displayed normally if the scaling is set to 125% or smaller. 125% translates to an effective resolution of 2560x1600, which means the text is pretty small. 100% is unusable. And Windows recommends 250%, for an effective resolution of 1280 x 800.

For comparison, the default effective resolution of MacBook Pros is 1280x800, 1440x900, or 1680x1050.

In other words, nobody is using anything close to 2560x1600 as their default effective resolution, but it's the lowest resolution where the launch config dialog works properly on a HiDPI/Retina display (at least on Windows).

This should probably be recreateable on most Windows HiDPI laptop / desktop monitors, especially if their native resolution is 2560x1600 or higher..

Screenshot: [IMG2=JSON]{"data-align":"none","data-size":"full","src":"https:\/\/i.postimg.cc\/ZR8PP2c3\/launch-hidpi.png"}[/IMG2]
  • I got it ticketed. We will discuss what to do about this. Thanks
  • Stephen.ConnectIQ thanks! The other CIQ dialogs (such as Export and Build for Device) seem to be fine, so I assume the Launch Config dialog can be handled in the same way. Unless of course it's rendered completely differently.
  • Our initial concern was that we wouldn't have control of that dialog, but I've been told we do control it with the plugin. As long as that is true, it should be fixable.
  • Stephen.ConnectIQ FYI, the App Settings Dialog has the same issue. Two differences in practice:
    - The dialog is resizable so the user can work around the issue somewhat
    - However, dropdowns (for selecting from a list) are the wrong size (and can't be resized), so some of the text is cut off. Strangely, these dropdowns are actually combo box which can also be edited, so you can scroll using the arrow keys

    I can also report that the non-default Run Config dialog is affected by the same issue. i.e. The dialog you see when you have one or more run configs, but you still select "Run" and the user is asked which Run Config to launch. In this case, there is a list of radio buttons with your run configs, but obviously it's difficult or impossible to select them when they are invisible. (You could try to use TAB and the arrow keys to select them, but it would be tough.)
  • I have noted the App Settings Dialog scaling.

    FlowState What are you referring to as the non-default Run Config dialog? If I have many run configs set, and hit the run button, it runs my most recently run run configuration.

    are you refering to the right click on a project > run as > run Configurations dialog?
  • Stephen.ConnectIQ thanks!

    are you refering to the right click on a project > run as > run Configurations dialog?


    Yes.

    Sorry I wasn't clear. To be clear:

    1) The user creates more than 1 run configuration
    2) The user does: Right Click on Project > Run As > Connect IQ app

    Now, instead of the drop down, you get a list of radio buttons. In this case, it is much harder to work around the shrunken/cut off dialog by using the keyboard.

    This is what it looks like on a non-hidpi display. [IMG2=JSON]{"data-align":"none","data-size":"full","src":"https:\/\/i.postimg.cc\/5Nstc5My\/runcfg.png"}[/IMG2]


    It's a bit cut off, but it works.

    On a hidpi display, even the first choice is cut off.
  • Ok, I see that now. I didn't realize I needed multiple configs for the same project. I have it documented.
  • FlowState- Just to be clear, this isn't a problem with HiDPI displays, this is because the font size has been blown up 200% or more, right? I'm curious to know how many other applications break when you do this.
  • Travis.ConnectIQ Stephen.ConnectIQ to clarify:
    • I see the "Run Config dialog" bug with either 0 configs or >1 config
    • Display scaling in Windows scales everything now, not just fonts. e.g. 200% scaling on a 3200 x 1800 display gives you a virtual screen of 1600 x 900. Same with Mac OS.
    • Windows apps handle this in one of two ways:
      • Declare themselves as HiDPI aware via manifest and handle the scaling internally
      • Don't declare themselves as HiDPI aware (e.g. older apps) and let Windows scale things which may result in blurry text/icons

    • The problem apps are usually the ones that declare they support HiDPI but don't actually handle scaling internally. This is where you usually see tiny text/icons for certain elements.
    • The default scaling on my 3200x1800 Windows laptop is 250%, although I usually go to 150% or 175% for more usable resolution

    I did some further testing and the reported problem only happens when you select the Windows option to "Fix apps that are blurry". To be fair, Windows asks you to turn this on if you change display settings.
    It also only seems to happen at 150% scaling for me, not at other scaling settings like I previously assumed.

    "Fix blurry apps" and "150% scaling on 3200x1800" is a pretty specific combo so the bug is not as widespread as I assumed from the start.

    So I'm not sure if this is a case where I wasted everyone's time again. Sorry about that!

    However, more and more people are starting to use HiDPI laptops. Surface seems to be pretty popular. So I'm not sure a few people won't run into this in the future.
  • For my testing, I used my 1920x1080 desktop monitor and change the windows setting to 150% and I have been seeing the same/similar behavior that your images have. Because of this I expect that it is for all windows scaling and not isolated to HiDPI or resolution. I haven't tried going above 150 i just assumed it would be the same behavior in a more exaggerated state.

    When I get some time I can look into other scaling %'s and see if the issues are consistent.