← Back to team overview

touch-packages team mailing list archive

[Bug 1442576] Re: Touch input is misaligned when using QT_DEVICE_PIXEL_RATIO=2

 

You should try to set the GRID_UNIT_PX to 16 (or any multiply of 8 for
instance) rather than setting the QT_DEVICE_PIXEL_RATIO env var. Support
on that is on the works, but GRID_UNIT_PX will drive the UI scaling of
the UI components.

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

Title:
  Touch input is misaligned when using QT_DEVICE_PIXEL_RATIO=2

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  I have a high-dpi monitor with touch-screen, and when running ubuntu-
  ui-toolkit-gallery the interface is too small to read.

  I can fix this by setting the QT_DEVICE_PIXEL_RATIO environment
  variable to 2. However, the touch screen input still acts as if the
  scaling is set to 1 - so a press on one button actually triggers a
  press on another button.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 1.2.1458+15.04.20150327-0ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-13.13-generic 3.19.3
  Uname: Linux 3.19.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Apr 10 18:48:39 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-04-07 (3 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Beta amd64 (20150326)
  SourcePackage: ubuntu-ui-toolkit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1442576/+subscriptions


References