Bug 164377 - [GTK] Web content gets wrong scaling on secondary screen with lower dpi
Summary: [GTK] Web content gets wrong scaling on secondary screen with lower dpi
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Mac Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-03 14:16 PDT by Mattias Eriksson
Modified: 2016-11-04 06:22 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mattias Eriksson 2016-11-03 14:16:54 PDT
Description of problem:
I have a macbook with retina display running Fedora 25 with Wayland. I attach a regular dpi screen to that. I then open Gnome Web and move the window to the regular dpi screen. The window then rescales correctly, except for the actual web content. The web content is still scaled as if the screen is a hidpi screen. 

Version info:
epiphany-3.22.1-1.fc25.x86_64

Steps to Reproduce:
1. Attach a regular dpi screen to a hidpi laptop. 
2. Open Gnome Web
3. Move Gnome Web to the regular dpi screen

Actual results:
The web content is scaled to be to big

Expected results:
The web content should be rescaled as the rest of the application
Comment 1 Tomas Popela 2016-11-03 22:57:31 PDT
Does the other applications (gedit, ..) work right? I would suspect the wrong component would be gtk+ here as we are just listening for the changes on the gtk+' scale-factor property changes. And I have to say that it is somehow broken on Wayland - see https://bugzilla.redhat.com/show_bug.cgi?id=1389008
Comment 2 Mattias Eriksson 2016-11-03 23:31:18 PDT
Yes, pure gtk3 applications like Gedit works fine. And now when I re-test even Gnome-webb works fine. So this was probably some minor glitch somewhere...
Comment 3 Michael Catanzaro 2016-11-04 06:22:08 PDT
Hm... strange, OK then?