** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
    Milestone: None => ww08-2016

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Bill Filler (bfiller)

** Changed in: canonical-devices-system-image
   Importance: Undecided => High

** Changed in: canonical-devices-system-image
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  In Progress

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

-- 
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

Reply via email to