Bug 1389008

Summary: evolution's composer initially drawn at wrong scale
Product: [Fedora] Fedora Reporter: Adam Jackson <ajax>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: cosimo.cecchi, klember, mcatanzaro+wrong-account-do-not-cc, mclasen, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 14:50:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
wtf-evo.webm none

Description Adam Jackson 2016-10-26 16:22:45 UTC
Created attachment 1214351 [details]
wtf-evo.webm

When switching virtual workspaces to an open evo composer window on a hidpi screen (Dell XPS13, if it helps), the content is initially painted as if the scale factor was 1. Attached video shows the bug in action.

Comment 1 Tomas Popela 2016-10-27 12:03:11 UTC
Ok, so this is only reproducible on Wayland. In WebKit we are connected to the scale-factor property (see [0]). On Wayland the callback is called two times - for the first time the scale-factor is 1 and on the second call is 2. That's the reason why it's behaving like it is. I'm switch this bug to gtk+ as there is nothing what we can do on WebKit side.

While trying to reproduce this bug I faced a weird behavior. When I set the scaling to 2 (through org.gnome.desktop.interface scaling-factor) the shell adapts, but the applications not (even if I restart them (gedit, ..)), the re-login was needed to obtain the desired behavior.

[0] - http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp#L1187