Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-16405

Incorrect window resolution on HiDPI display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 2.2.909 (Linux), 2.2.1165 (Linux), 2.2.1262 (Linux), 2.2.1441 (Linux), 2.2.1767 (Linux), 2.2.1867 (Linux), 2.2.2012 (Linux)
    • Unconfirmed

      When using the Minecraft Launcher on Linux with a HiDPI display, the resolution of the window is set incorrectly, causing it to appear blurry to the user compared to other nearby UI components such as the window title bar.

      While the scaling of the window is handled correctly at 2×, the resolution is never changed to reflect this. For example, on a LoDPI display with scaling at 1×, the window is rendered at 1000×600 and displays in a 1000×600 pixel area. Each pixel rendered is displayed as one pixel on the screen. When this is taken to a HiDPI display with double the pixels on the screen, the window is correctly scaled by 2× to achieve the same physical size as the LoDPI display. The issue here arises when 2× scaling causes the window to render at 1000×600 in a 2000×1200 area, causing each pixel to display as 4 physical pixels. After this, the pixels are interpolated, causing them to appear blurry.

      This is not a duplicate of MCL-10940, as MCL-10940 pertains to the scaling of the Minecraft Launcher, not the resolution of it. In my use case, MCL-10940 seems to have been fixed, as the window scales correctly at 2× the size. This issue may have been caused by the attempted fix for MCL-10940.

      I have attached a screenshot of the issue using Minecraft Launcher version 2.2.909. Notice how the title bar is much more crisp and sharp to the eye than the rest of the Minecraft Launcher when zoomed in.

            Unassigned Unassigned
            Bytzo Bytzo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: