Project

General

Profile

Actions

Emulator Issues #10543

closed

Qt layout not correct with 4k hidpi display

Added by io8titan over 7 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

N/A

Game ID? (right click the game in the game list, properties, info tab)

N/A

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

N/A

What's the problem? Describe what went wrong.

When using the new Qt GUI with a hidpi display under Windows 10 with 250% scaling (Windows recommended value)
the following issues appear in comparison with the wxWidget GUI.

  1. The spacing between the menu titles and the toolbar icons is several times wider
  2. Console icon, banner, flag and stars are larger and pixelated
  3. Dialog boxes are larger
  4. Text is not as smooth, check marks, arrows in menus are pixelated
  5. Downward arrows of drop-down lists are not shown correctly

Changing the scaling to a lower value in Windows makes everything smaller but the issues persist
(pixelation and too big menus/toolbars/dialog boxes)

What steps will reproduce the problem?

Start Dolphin and Dolphin Qt (version 5.0-5491)

Is the issue present in the latest stable version?

N/A since new feature

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 10 Creator's Update, 4k HiDPI display

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Attached screenshots to illustrate the issue.


Files

wx-main.jpg (466 KB) wx-main.jpg wxWidgets main screen io8titan, 09/14/2017 01:41 AM
qt-main.jpg (475 KB) qt-main.jpg Qt main screen io8titan, 09/14/2017 01:42 AM
wx-config.jpg (235 KB) wx-config.jpg wxWidgets config io8titan, 09/14/2017 01:42 AM
qt-config.jpg (246 KB) qt-config.jpg Qt config io8titan, 09/14/2017 01:42 AM
virtualbox.jpg (253 KB) virtualbox.jpg VirtualBox io8titan, 09/14/2017 02:05 AM
Actions #1

Updated by Helios over 7 years ago

  • Status changed from New to Questionable
  • Operating system Windows added
  • Operating system deleted (N/A)

I'm pretty sure this is how every application that doesn't use a Windows native UI toolkit looks.

One of the reasons I don't like hidpi tbh

Actions #2

Updated by io8titan over 7 years ago

VirtualBox is using Qt (version 5.6.2) as well and while it's not perfect, it doesn't show the same issues.

Actions #3

Updated by Helios over 7 years ago

uh that looks exactly the same to me.

Actions #4

Updated by io8titan over 7 years ago

It's not. Look at the spacing between the menus and toolbar icons (Qt Dolphin vs Qt VirtualBox).
Or the check marks in the check boxes and the arrows in the drop-down lists.

I also checked RPCS3, they are using Qt 5.8 and no issues there either.

You probably think these are non-issues, but it's a pity that under wxWidgets everything looked
perfectly and then the new Qt GUI makes everything pixelated and too large.

Actions #5

Updated by JMC4789 over 7 years ago

I have a HiDPI screen and will verify it. I know the effect that you're talking about and if it's happening I will accept this.

Actions #6

Updated by io8titan over 7 years ago

JMC4789 << Thanks for trying to solve this issue:) Did you have the time to confirm this?

Actions #7

Updated by Megamouse over 7 years ago

In order to fix this I actually had to rework all of RPCS3's original Qt layout (which was created by me anyway).

I personally use my TV sometimes which is configured to 150% scaling in windows.
That way you can clearly see many issues with dpi scaling.

Same issue can be seen on Citra as well.

I might take a look sometime soon. Qt's highdpi scaling interfered with the render window if I recall correctly, so that might need some work in case it happens.

But I personally would start with preparing the settings dialog's layout first, regardless of scaling, and work myself through all the widgets from there until I can enable the scaling properly.

I will look a bit different because there won't be custom placed widgets anymore (if they even exist). At least until someone goes through the trouble of properly setting them up with screen properties in mind (which is unnecessary in my opinion).

As closing words I just want to mention that I fixed yet another scaling bug only a few days ago.

Actions #8

Updated by io8titan over 7 years ago

All the issues I mentioned for Dolphin, are fixed in RPCS3, so I guess it should be easier for you to fix those...
I also revisited RPCS3 and found a few minor issues, maybe you can look into those as well:
https://github.com/RPCS3/rpcs3/issues/3580

Appreciate your work, these kind of UI issues are usually overlooked and sometimes never fixed.

Actions #9

Updated by JMC4789 almost 7 years ago

  • Status changed from Questionable to Accepted
  • Assignee set to spycrab0

I think this issue is fixed but my eyes are kinda trash.

You or spycrab can confirm :)

Actions #10

Updated by spycrab0 almost 7 years ago

  • Assignee deleted (spycrab0)

I don't have a HiDPI display so I can neither confirm nor deny this.

Actions #11

Updated by JMC4789 over 6 years ago

  • Status changed from Accepted to Fixed

No one confirmed, I haven't had issues, assuming fixed. If worst comes to worst we send Spycrab a 4K monitor to really fix ;)/

Actions

Also available in: Atom PDF