minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://mcpelauncher.readthedocs.io/en/latest/
GNU General Public License v3.0
906 stars 100 forks source link

OreUI (New UI) is too small and unreadable. #1016

Open su226 opened 1 month ago

su226 commented 1 month ago

Describe the bug OreUI (New UI) is too small and unreadable compared to the Windows 10 edition. Enable "Extra Large New UI" in video settings would be better, but it's still a bit small, and "GUI Scale Modifier" will be locked to 0, making old UI too large for me. Old UI is not affected, it's the same size as the Windows 10 edition. (Except Minecraft logo, see screenshot below)

To Reproduce Launch Minecraft in MCBELauncher and enter a screen using OreUI. (e.g. Create New World)

Expected behavior OreUI should be roughly the same size compared to the Windows 10 edition.

Screenshots Platform Old UI New UI
MCBELauncher MCBELauncher Old MCBELauncher New
Windows Windows Old Windows New

Desktop (please complete the following information):

Additional context I found that when I use X11, UI size is not affected by HiDPI. It's always the same size, although it's still smaller than the Windows 10 edition. (see screenshot below) And when I disable Wayland HiDPI or set different scaling factor, the UI size changes. When scaling factor is integer, UI size is the same with X11. MCBELauncher X11

ChristopherHX commented 1 month ago

In the next nightly releases you can change View->Scale to Scale both menubar and OreUi (You will see the change directly after selecting the scale factor, if not then you are using an old version or need to wait and update)

Querying dpi information is not planned yet. On 96 dpi devices it always looks like in the win10 edition screenshot and is readable

su226 commented 1 month ago

I have tried latest nightly, it works, thanks. However, since DPI may not be an integer multiple of 96, OreUI scale should not be bound to ImGui scale. If querying DPI is not planned, maybe put a slider or a input box and let user adjust it?

Besides, in some weird cases, 2x scaling of OreUI can actually be smaller than 1x. (For me, when "GUI Scale Modifier" is -2, I got following results.) So I think fine tuning the DPI is necessary.

1x: 1x 2x: 2x 3x: 3x