← Back to team overview

touch-packages team mailing list archive

[Bug 1249333] Re: UbuntuWebView doesn't regard GRID_UNIT_PX

 

Hi Olivier,

Here's a screenshot using a test app with Ubuntu.Web 0.2:

http://i.imgur.com/E6Hzq8s.png

On the left, started with GRID_UNIT_PX=8, on the right with
GRID_UNIT_PX=16

So looks to me as this is still valid.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1249333

Title:
  UbuntuWebView doesn't regard GRID_UNIT_PX

Status in Web Browser App:
  Invalid
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  On High-DPI screens like the Apple Retina Display all Ubuntu
  Components and apps adjust nicely to the DPI by setting the
  GRID_UNIT_PX env variable. One exception to this is the UbuntuWebView
  which loads websites very, very tiny on such displays, regardless of
  the used GRID_UNIT_PX value.

  The WebView has it's own env variable, QTWEBKIT_DPR, which allows
  adjusting it's resolution. However, this isn't obvious to users and
  especially on desktop systems QTWEBKIT_DPR is mostly not set to
  anything.

  Couldn't we initialize QTWEBKIT_DPR to a sane value calculated from
  the GRID_UNIT_PX value in case it is not explicitly set?

To manage notifications about this bug go to:
https://bugs.launchpad.net/webbrowser-app/+bug/1249333/+subscriptions