← Back to team overview

touch-packages team mailing list archive

[Bug 1352251] Re: Splash screen is shown as soon as QGuiApplication is instantiated

 

I believe that as far as trust prompts go, we've resolved that they
should ultimately never talk to the default Mir socket, which is the
only case when they get a splash screen. The backends should open a
trust session, even if it's not going to create any UI in the end (that
is, if they require a Mir connection to function, as is the case for
Oxide). Until we have the headless-client hints implemented on surfaces,
you can open the trusted session with dash's PID or whatever else makes
sense.

Jury's still out on whether we want to disable splash screens for some
apps, but that is more of a UX question than a technical one.

Another approach we might consider is dropping the --desktop_file_hint
hack (I believe OA is one of the last instances of it) and think of a
different way to allow trusted helpers in. We could also say that only
UAL-backed apps get splash screens.

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

Title:
  Splash screen is shown as soon as QGuiApplication is instantiated

Status in the base for Ubuntu mobile products:
  Confirmed
Status in Qt integration with the Mir display server:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu RTM:
  Confirmed

Bug description:
  On the phone, a splash screen is shown as soon as QGuiApplication is instantiated; however, a QWindow might be created much later, or not be created at all.
  We have for example a D-Bus service (ubuntu-system-settings-online-accounts) which is a QGuiApplication, but creates QWindows only as client requests arrive. In the common case, this works fine because the service is generally started when a window needs to be displayed, but we are now preparing for implementing trust session support, and that would require either this bug to be fixed, or a deeper refactoring of our code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1352251/+subscriptions