** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1504293 Title: Screen.pixelDensity is incorrect on all devices Status in Canonical System Image: Fix Committed Status in qtubuntu: In Progress Status in qtubuntu package in Ubuntu: In Progress Bug description: I’m testing the Screen.pixelDensity attached property (http://doc.qt.io/qt-5/qml-qtquick-window-screen.html#pixelDensity- attached-prop) in a QML app on various devices (krillin, arale, flo), and the screen always reports the same incorrect value: 3.93701 px/mm. I had a quick look at how this is implemented in QtQuick, and it calls into QScreen::physicalDotsPerInch(), which itself calls into QPlatformScreen::physicalSize(), which doesn’t appear to be reimplemented in QtUbuntu (UbuntuScreen). For reference, I want to use that property to calculate the physical size of the screen, as a heuristic to determine the most suitable form factor. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1504293/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp