Fix device scaling mess
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
Medium
|
Chris Coulson |
Bug Description
Oxide assumes that the coordinate space for QtQuick is always physical pixels, and that device scaling is always performed by the application / toolkit. This is only true for Ubuntu UI apps running on the Ubuntu QPA plugin though.
Other QPA plugins take care of scaling already if it's not handled by the windowing system (eg, xcb). In Qt 5.6, the API boundary between QPA plugins and Qt works in native pixels (which are in the coordinate space that the windowing system works with - in X11 this is physical pixels, in OS X this is scaled already), and Qt takes care of mapping between native pixels and device independent pixels rather than this being done in the QPA plugins.
Today Oxide is completely broken on xcb with a device scale other than 1. If you launch the browser with QT_DEVICE_
We can fix this in Oxide by assuming that QtQuick operates in device independent pixels (as it does on most platforms), but we need to add in an Ubuntu-specific quirk because it does all of its scaling in the UI toolkit.
Related branches
Changed in oxide: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Chris Coulson (chrisccoulson) |
milestone: | none → branch-1.14 |
Changed in oxide: | |
status: | Triaged → In Progress |
Changed in oxide: | |
status: | In Progress → Fix Released |