initial WebView geometry incorrect when launched on screen with dynamic grid units
Bug #1575216 reported by
Gerry Boland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
David Barth | ||
Oxide |
Fix Released
|
Critical
|
Chris Coulson | ||
1.14 |
Fix Committed
|
Critical
|
Chris Coulson | ||
1.15 |
Fix Released
|
Critical
|
Chris Coulson |
Bug Description
Setup
1. Install these silos:
https:/
https:/
and reboot the device. Ensure all packages installed ok.
2. Best to reproduce this issue is a Nexus 4 with Slimport cable & external monitor. Connect the N4 to the monitor.
3. Open the web browser on the external monitor
Bug: the initial size of the WebView is much too small. It is not filing its QQuickItem.
If you resize the webbrowser window, that fixes it.
I'll grab a photo shortly
Related branches
Changed in oxide: | |
importance: | Undecided → Critical |
milestone: | none → branch-1.16 |
status: | New → In Progress |
assignee: | nobody → Chris Coulson (chrisccoulson) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → David Barth (dbarth) |
importance: | Undecided → Critical |
milestone: | none → 11 |
status: | New → In Progress |
tags: | added: lt-blocker |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This *might* be qtubuntu's fault. I fear when webbrowser starts while monitor attached, it believes its window is on the phone screen initially, so uses that scale. While setting up its window, then it is informed the window is moved to the external display, and the scale is then corrected.
I need to learn if oxide is able to deal with is window being moved between screens while it is starting up. Its geometry may not be re-calculated...
I'll also try to have Oxide placed on the correct surface at absolute startup. That'll be a qtmir/qtubuntu job, I'm look at it now.
Here is my debugging output (I manually added printfs to qtubuntu wherever scale is requested). I am also not seeing the "screenProperty Changed" from qtubuntu, probably also a bad thing.
Loading module: 'libubuntu_ application_ api_touch_ mirclient. so.3.0. 0' ======= ======= ======= ======= ==== 0xb814ec20) - id: 1 geometry: QRect(0,0 768x1280) form factor: phone scale: 2.25 0xb8153380) - id: 2 geometry: QRect(768,0 1920x1080) form factor: monitor scale: 1 ======= ======= ======= ======= ==== phablet/ .local/ share/libertine /ContainersConf ig.json" hanged - scale tabla-snd- card Button Jack" "/dev/input/event3" QFlags() tabla-snd- card Headset Jack" "/dev/input/event4" QFlags(0x20) simulated- mouse" "/dev/input/event6" QFlags(0x2) hanged - scale orScreen - scale 2.25 orScreen - scale 2.25 orScreen - scale 2.25 orScreen - scale 2.25 /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Web/ua- overrides- mobile. js orScreen - scale 1 orScreen - scale 1 orScreen - scale 1 orScreen - scale 1 orScreen - scale 1 orScreen - scale 1
Added Screen with id 1 and geometry QRect(0,0 768x1280)
Added Screen with id 2 and geometry QRect(768,0 1920x1080)
=======
UbuntuScreen(
UbuntuScreen(
=======
could not open containers config file "/home/
XX: windowProperyuC
XX: windowProperty - scale 2.25
Input device added: "keypad_8064" "/dev/input/event1" QFlags(0x1)
Input device added: "pmic8xxx_pwrkey" "/dev/input/event0" QFlags(0x1)
Input device added: "apq8064-
Input device added: "apq8064-
Input device added: "touch_dev" "/dev/input/event2" QFlags(0x8)
Input device added: "hs_detect" "/dev/input/event5" QFlags(0x1|0x20)
Input device added: "unity8-
XX: windowProperyuC
XX: windowProperty - scale 1
ubuntumirclient: Got invalid serialized mime data. Ignoring it.
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF
qml: Loaded 8 UA override(s) from file://
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF
XX: nativeResourceF