ubuntu-apps-bugs team mailing list archive
-
ubuntu-apps-bugs team
-
Mailing list archive
-
Message #08348
[Bug 1542375] Re: Get rid of the formFactor context property
This bug was fixed in the package webbrowser-app -
0.23+16.04.20160223-0ubuntu1
---------------
webbrowser-app (0.23+16.04.20160223-0ubuntu1) xenial; urgency=medium
[ CI Train Bot ]
* Resync trunk.
[ Olivier Tilloy ]
* Remove the 'formFactor' context property, and replace all its uses
by more meaningful conditions. (LP: #1446904, #1542375)
* Update translation template.
* Work around a bug in the UITK that prevents touch scrolling to the
left of the address bar by ensuring that the x coordinate of the
text field is an integer. (LP: #1546346)
* Work around bug #1546677 (UITK), by destroying the bookmark options
popover instead of hiding it. (LP: #1546627, #1546677)
-- Olivier Tilloy <olivier.tilloy@xxxxxxxxxxxxx> Tue, 23 Feb 2016
11:24:49 +0000
** Changed in: webbrowser-app (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1542375
Title:
Get rid of the formFactor context property
Status in Canonical System Image:
In Progress
Status in webbrowser-app package in Ubuntu:
Fix Released
Bug description:
The Ubuntu.Web plugin exposes a 'formFactor' context property, whose
value is either "mobile" or "desktop".
It relies on QGuiApplication::platformName() to determine the so-called "form factor". With convergence, this approach is flawed, because the same device can change from a phone to a desktop and back to phone during the lifetime of the application.
Form factor is not even a concept that should be used for dynamic layout of the application.
This property is not (and has never been) publicly documented, so it
should be fine to remove it.
In most cases, where the value of that property was used, we can use one of the following:
- wide VS narrow mode
- presence of a mouse/touchpad/touchscreen/keyboard
- can a given QML plugin be dynamically loaded
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1542375/+subscriptions
References