Launching track from dash new instance of app, not re-use of existing one

Bug #1228345 reported by Alan Pope 🍺🐧🐱 🦄
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Application Launcher
Fix Released
High
Ted Gould
Ubuntu Music App
Fix Released
High
Loïc Minier
Ubuntu UI Toolkit
Fix Released
Undecided
Unassigned
unity-mir
Fix Released
High
Gerry Boland
unity-mir (Ubuntu)
Fix Released
Undecided
Unassigned
unity8 (Ubuntu)
Opinion
Undecided
Unassigned
upstart-app-launch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Put music on device
Launch music app, make sure it works
Switch back to dash
Launch a track by clicking it in the home scope
Music app launches
Switch back to the application scope

Observe multiple copies of music app running, expected behaviour is that it re-uses an existing one.

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
David Planella (dpm) wrote :

I'm not sure we can fix this in the music app, we'll need to find out whether this is a bug that needs to be addressed either in Unity or the music scope.

Changed in music-app:
status: New → Incomplete
Ted Gould (ted)
Changed in upstart-app-launch:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Ted Gould (ted)
David Planella (dpm)
Changed in music-app:
status: Incomplete → Triaged
importance: Undecided → High
assignee: nobody → Loïc Minier (lool)
status: Triaged → In Progress
Gerry Boland (gerboland)
Changed in unity-mir:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision 128, scheduled for release in music-app, milestone Unknown

Changed in music-app:
status: In Progress → Fix Committed
kevin gunn (kgunn72)
Changed in unity-mir:
status: New → Opinion
importance: Undecided → High
Changed in unity8:
status: New → Opinion
Michał Sawicz (saviq)
Changed in unity-mir:
milestone: none → phone-v1-freeze
status: Opinion → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:upstart-app-launch at revision 69, scheduled for release in upstart-app-launch, milestone Unknown

Changed in upstart-app-launch:
status: In Progress → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-mir at revision 100, scheduled for release in unity-mir, milestone phone-v1-freeze

Changed in unity-mir:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mir - 0.1+13.10.20131008.2-0ubuntu1

---------------
unity-mir (0.1+13.10.20131008.2-0ubuntu1) saucy; urgency=low

  [ Ricardo Mendoza ]
  * Add support for upstart-app-launch to request application resume &
    focus. This revealed extra work: prevent unexpected focus events
    propagating to shell, fix lifecycle bug and add workaround for
    handling of non-application sessions (like QtWebProcess and maliit).
    (LP: #1228345)
  * Make shell surface be an input monitor. (LP: #1236736, #1231713,
    #1233245)
  * Make sure we dont lose focus on the currently focused application
    when dismissing an invalid session startup. (LP: #1236789)

  [ Daniel d'Andrada ]
  * Do not let touches meant for the OSK hit the Shell components behind
    it. (LP: #1236773)

  [ Michał Sawicz ]
  * Map rect to scene in setMirInputArea and set the geometry onEnabled.
    (LP: #1235383, #1235215)
  * Focus the shell when no sessions are focused. It's difficult with
    the current architecture for the shell to receive keyboard focus, as
    it does not have an associated application session. Work around this
    by implementing a defaulting FocusSetter, which assigns keyboard
    focus to the shell surface when focus would otherwise be cleared.

  [ Robert Carr ]
  * Focus the shell when no sessions are focused. It's difficult with
    the current architecture for the shell to receive keyboard focus, as
    it does not have an associated application session. Work around this
    by implementing a defaulting FocusSetter, which assigns keyboard
    focus to the shell surface when focus would otherwise be cleared.

  [ Gerry Boland ]
  * Add support for upstart-app-launch to request application resume &
    focus. This revealed extra work: prevent unexpected focus events
    propagating to shell, fix lifecycle bug and add workaround for
    handling of non-application sessions (like QtWebProcess and maliit).
    (LP: #1228345)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 105
 -- Ubuntu daily release <email address hidden> Tue, 08 Oct 2013 19:14:08 +0000

Changed in unity-mir (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package upstart-app-launch - 0.1+13.10.20131008.1-0ubuntu1

---------------
upstart-app-launch (0.1+13.10.20131008.1-0ubuntu1) saucy; urgency=low

  [ Ted Gould ]
  * On second activations send a message to the FD.o application
    interface. (LP: #1228345)
  * Add observers for focused and resume.
  * Testing of the second exec logic.
  * Disable ZG logging for Phone 1.0.
  * Need a little longer time on recent ARM builds.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 73
 -- Ubuntu daily release <email address hidden> Tue, 08 Oct 2013 10:07:25 +0000

Changed in upstart-app-launch (Ubuntu):
status: New → Fix Released
Daniel Holm (danielholm)
Changed in music-app:
status: Fix Committed → Fix Released
Michał Sawicz (saviq)
Changed in unity-mir:
status: Fix Committed → Fix Released
Ted Gould (ted)
Changed in upstart-app-launch:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit:
status: New → Fix Released
Michał Sawicz (saviq)
affects: unity8 → unity8 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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