← Back to team overview

touch-packages team mailing list archive

[Bug 1477173] [NEW] desktop mode doesn't get enabled in unity8 desktop sessions

 

Public bug reported:

The current code logic is

"bool GalleryApplication::isDesktopMode() const
{

  // Assume that platformName (QtUbuntu) with ubuntu
  // in name means it's running on device
  // TODO: replace this check with SDK call for formfactor
  QString platform = QGuiApplication::platformName();
  return !((platform == "ubuntu") || (platform == "ubuntumirclient"));

}"


That makes gallery be used in "non desktop mode" under unity8 desktop sessions...

** Affects: gallery-app (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gallery-app in Ubuntu.
https://bugs.launchpad.net/bugs/1477173

Title:
  desktop mode doesn't get enabled in unity8 desktop sessions

Status in gallery-app package in Ubuntu:
  New

Bug description:
  The current code logic is

  "bool GalleryApplication::isDesktopMode() const
  {

    // Assume that platformName (QtUbuntu) with ubuntu
    // in name means it's running on device
    // TODO: replace this check with SDK call for formfactor
    QString platform = QGuiApplication::platformName();
    return !((platform == "ubuntu") || (platform == "ubuntumirclient"));

  }"

  
  That makes gallery be used in "non desktop mode" under unity8 desktop sessions...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1477173/+subscriptions