New issue
Advanced search Search tips

Issue 627871 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Window caption corrupts on system with variable dpi

Reported by mer...@yandex-team.ru, Jul 13 2016

Issue description

Chromium Version : 54.0.2795.0 (32 bit)
                       e6d0c73f9481330e991420c24e2c3a7c64cb764a-refs/heads/master@{#404812}

Operating System : Windows 10

Other browsers tested:
    Firefox: PASS (47.0 release)
         IE: FAIL (11.494.10586.0)
       Edge: PASS (25.10586.0.0)

What steps will reproduce the problem?

(1) Turn on two monitors.
Set up monitor #1 to 100% (96dpi), #2 to 150% (144dpi).
Select either monitor #1 or #2 as primary.
Reboot (or relogin) to apply changes persistently.
Different resolution is important, primary/secondary gives subtle effects.

(2) Launch the browser.
(3) Let's go! Move the window from one monitor to another, resizing it at same time. Attach/detach tabs and drag them from one monitor to another.

(4) Configure your system so that your primary (maybe the only one) monitor is 150%.
(5) Launch the browser.
(6) Switch the resolution of the monitor.

What is the expected result?

- As far as the application is "system hi-dpi aware", it just rescales itself. The window title keeps sharp (because the system draws it), the client area may be blurred.

What happens instead?

- The avatar button shifts and even may overlap system buttons!
- In some cases, a visual garbage appears in the tabs area. It disappears on repaint.

Please look at screenshots and screencasts.
2016-07-12 - primary is #1 with 100%
2016-07-13 - primary is #2 with 150%

 
2016-07-12_21-55-05.png
37.4 KB View Download
2016-07-13_19-11-59.png
25.6 KB View Download
Screencast_18-44_13-07-2016.mp4
8.9 MB View Download
Screencast_21-53_12-07-2016.mp4
5.4 MB View Download
Screencast_19-24_13-07-2016.mp4
2.2 MB View Download
Firefox and Edge are per-monitor hi-dpi aware.
They work perfect.

IE is system hi-dpi-aware, it is a stepchild. Its system buttons overlap the top bar where the tabs, the omnibox and the app menu live.

Components: UI>HighDPI
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 7 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment