sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.78k stars 1.53k forks source link

DPI scaling works on settings panel with bold font, and may not work for the boxes tableview #2820

Open NewUserHa opened 1 year ago

NewUserHa commented 1 year ago

Describe what you noticed and did

updated to the latest 1.8.4 from 1.0.19.

  1. 1.8.4 doesn't follow the dpi scaling setting from the OS as 1.0.19 do.
  2. in 1.8.4, at the default dpi scaling the font looks good, while at 125% or 150%, it looks like the bold font in 1.0.19 and which is not good.
  3. in 1.8.4, while changing the dpi scaling to >100%, then click apply, then click OK, and the tableview of the boxes returns to the default dpi scaling and the value of combobox of the dpi scaling setting returns to 75% (maybe 100% is not the default?) too. But if click OK only, it looks like no issue. But if open the setting panel and click OK again, it returns to default dpi scaling again.

How often did you encounter it so far?

always reproduceable

Affected program

sandboxie-plus manager

Download link

N/A

Where is the program located?

Not relevant to my request.

Expected behavior

What is your Windows edition and version?

win10 1803

In which Windows account you have this problem?

User account with secure desktop turned off for UAC prompts.

Please mention any installed security software

Microsoft Defender

What version of Sandboxie are you running?

1.8.4

Is it a new installation of Sandboxie?

I just updated Sandboxie from a previous version (to be specified).

Is it a regression?

No response

In which sandbox type you have this problem?

Not relevant to my request.

Can you reproduce this problem on a new empty sandbox?

Not relevant to my request.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

DavidXanatos commented 1 year ago

old build grafik

new build scaling mode native grafik

new build with scaling mode set to Qt look like the old build grafik

whats the problem here exactly?

NewUserHa commented 1 year ago

https://github.com/sandboxie-plus/Sandboxie/issues/782#issuecomment-1507768920 there's a screenshot show that bold font

NewUserHa commented 1 year ago

image With dpi scaling 150%, it should still keep the font-weight as 100% dpi, but the font looks like scaled to 200%.

isaak654 commented 1 year ago

Since David asked my opinion on Slack for this issue, I think font resizing is inconsistent in various GUI elements, such as menu entries, sandboxes list and the right-click menu on any sandbox:

https://user-images.githubusercontent.com/12372772/233792298-b4ee954f-74eb-4ec4-be23-781e16465a06.mp4

NewUserHa commented 1 year ago

Right.

And the font-weight is inconsistent too, in both the native and qt scale methods. May use notepad.exe or other Windows apps for contrast comparing to solve this issue. Those apps have good font styles.

DavidXanatos commented 1 year ago

Right.

And the font-weight is inconsistent too, in both the native and qt scale methods. May use notepad.exe or other Windows apps for contrast comparing to solve this issue. Those apps have good font styles.

those apps do not use Qt, so they are not a useful reference, I never set "make font bold" any ware, what you see is what Qt does from a few config options.