High-DPI Support Needed for UI Scaling Issues

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ryanlo713
Posts: 3
Joined: Sat Dec 07, 2024 4:12 pm

High-DPI Support Needed for UI Scaling Issues

Post by ryanlo713 »

Description
I am writing to request improved high-DPI support for the Everything application, as I have encountered several UI scaling issues when using high-DPI devices. Below are the specific problems I've noticed:
  • Icons, toolbars, text, and dialog boxes appear fuzzy and blurry.
  • Some UI elements are too large or too small relative to the rest of the desktop.
  • Misalignment of UI elements and text (see attached screenshots).
Temporary Solution
As a temporary workaround, users can adjust the DPI settings by following these steps:
  • Right-click on the application's executable file.
  • Select 'Properties.'
  • Go to the 'Compatibility' tab.
  • Click on 'Change high DPI settings.'
  • Check the box for 'Override high DPI scaling behavior' and select 'Application' from the dropdown.
  • Click 'OK.'
  • Restart the application.
While this workaround is effective for some users (noting that it is only applicable to Windows 10 and 11), a comprehensive and enduring solution that guarantees optimal scaling and clarity for high-DPI displays would be greatly beneficial.
Attached Screenshots
You may zoom in on the image and examine the differences more closely.
Comparison of unadjusted and adjusted UIs:
Image
Examples of misalignment in the unadjusted UI and expected display:
Image
Thank you for your attention to this matter. Enhanced high-DPI support is increasingly essential, and improved scaling within Everything would significantly elevate the user experience.
Tags: enhancement, UI, high-DPI, scaling
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: High-DPI Support Needed for UI Scaling Issues

Post by void »

Thank you for your post ryanlo713,



Everything currently has issues with multiple displays that have different DPIs.
Are you using multiple displays with different DPIs?



I currently don't have access to a high DPI display for testing.
I have been using virtual machines to try to add high-DPI support.



Everything is DPI aware.
There shouldn't be any blurring for single high DPI displays. (it should look like your adjusted UI out of the box)
There's funky system scaling issues when you have multiple displays with different DPIs.
There can also be funky system scaling issues if you have set your system scaling to stretch.



System scaling settings can be set under:
Start Menu -> Settings -> System -> Display -> Advanced scaling settings.
I recommend enabling "let Windows try to fix apps so they're not blurry".
I recommend not using custom scaling as this can cause issues with Everything.
ryanlo713
Posts: 3
Joined: Sat Dec 07, 2024 4:12 pm

Re: High-DPI Support Needed for UI Scaling Issues

Post by ryanlo713 »

I am using a 15-inch Surface device with a resolution of 3240×2160 and do not have an additional monitor. I have not adjusted the zoom level and have maintained the default recommended high resolution with a zoom level of 200%.
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: High-DPI Support Needed for UI Scaling Issues

Post by void »

Thank you for the information ryanlo713,



Everything 1.5.0.1388a changes the Everything.exe manifest from:

Code: Select all

<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
to:

Code: Select all

<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">system</dpiAwareness>
</asmv3:windowsSettings>
This might help with Windows detecting Everything as system DPI aware out of the box.



This update fixes a rendering issue with the menubar when GDI scaling is applied.



To set Everything to use system scaling:
  • Right click your Everything.exe and click Properties.
  • Click the Compatibility tab.
  • Click Change high DPI settings.
  • Check Override high DPI scaling behavior and select Application from the dropdown.
  • Click OK.
  • Click OK.
  • Restart Everything (File -> Exit)
ryanlo713
Posts: 3
Joined: Sat Dec 07, 2024 4:12 pm

Re: High-DPI Support Needed for UI Scaling Issues

Post by ryanlo713 »

I am happy to report that after testing, it can display perfectly as expected without adjustment. I truly appreciate your hard work. Thank you.
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: High-DPI Support Needed for UI Scaling Issues

Post by void »

Thank you testing 1388a ryanlo713,

I am glad to hear this version helps.
Post Reply