desktop mode doesn't get enabled in unity8 desktop sessions

Bug #1477173 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery-app (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.