-
Notifications
You must be signed in to change notification settings - Fork 974
Missing pixels at 125% - 175% DPI on Windows (and also blurriness) #6462
Comments
@cezaraugusto could you fix this, and if so put it in .13? Thanks |
This is a weird one... besides the borders being off (which we can fix), the fields are blurry when the blur happens In the above shot, notice when he clicks outside the boxes to get rid of focus intentionally. Some of the field names move vertically and then the whole thing becomes slightly blurry |
moved this into 0.13 |
Possible issue details captured here https://bugs.chromium.org/p/chromium/issues/detail?id=395425 |
OK it appears this issue is NOT caused by #6258, since it happens when not maximized. The possible fix I had mentioned above does work (fix being pass Brave.exe two extra params; The magnification is expected- Chrome 54 introduced that (in 53 and prior, 125% or less DPI were hardcoded to 100%, avoiding this issue completely for those resolutions). It appears there is a larger issue with DPI which causes this to happen which needs to be investigated. |
- don't process non-client calcsize/paint - do proper DPI calculations when DPI > 100% Fixes brave/browser-laptop#6258 Reverts 182fe6d Which I believe incorrectly fixed the problem with Chromium 53 (see discussion at electron/electron#7416 for more info) We need to test to confirm, but I believe this change will fix: brave/browser-laptop#4502 brave/browser-laptop#6462 brave/browser-laptop#6468 brave/browser-laptop#6481
- don't process non-client calcsize/paint - do proper DPI calculations when DPI > 100% Auditors: @bbondy, @darkdh Fixes brave/browser-laptop#6258 Reverts 182fe6d Which I believe incorrectly fixed the problem with Chromium 53 (see discussion at electron/electron#7416 for more info) We need to test to confirm, but I believe this change will fix: brave/browser-laptop#4502 brave/browser-laptop#6462 brave/browser-laptop#6468 brave/browser-laptop#6481
Unfortunately, this was not fixed with brave/muon@30fd6ff (although it does look better). The issue seen above in the GIF I captured still happens |
It seems that this only looks correct when at either 100% or 200% |
The input field border issue is not just on browser element its also same on webpages. Below is the screen grab on autofill how the input fields look before and after autofill. @bsclifton as per slack conversation you mentioned the magnification is how it should work in CR54 build. Can the parameters |
@srirambv no, we can't hardcode those params unfortunately. @jonathansampson tried them and Brave was unusable because it stayed at the 100% resolution size on his 200% DPI monitor. We need to respect the OS DPI settings |
May be the same issue as discussed with #6698 (comment) |
This is a fairly complex problem and will take some time to solve. Although high DPI Windows users may have some ugliness, Brave is still very usable; I don't believe this should be a blocker for 0.13.0. I'm going to move this to 0.13.1 😄 |
I don't believe the root cause for this issue is the same as #6698, which appears to only affect the size of the rendering area. The problem seen here appears to be that the content is scaled improperly |
I have found the root cause for this issue! cc: @bbondy, @bridiver, @darkdh The missing pixels and blurriness are happening because we set the command line flag Before we enable this (as the comment shows in the code), it's important to understand that adding this fixed the following issues (on Chromium 53):
We need to make sure removing this code does not cause these closed issues to reappear! At first glance, I didn't see any issues but we'll want to do more testing of course. I believe that fixing this issue should also fix the following issues: |
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Autofill modal input fields top border missing
Expected behavior:
Input field should retain border when not selected
Platform (Win7, 8, 10? macOS? Linux distro?):
Windows 10 x64
Brave Version (revision SHA):
Steps to reproduce:
Screenshot if needed:
Any related issues:
Test plan
#6947 (comment)
The text was updated successfully, but these errors were encountered: