← Back to team overview

touch-packages team mailing list archive

[Bug 1541781] Re: [indicators] Players in sound indicator are not launched when clicking in its icon

 

>From indicator-sound source code:

media-player-mpris.vala:

    /**
     * Activate the associated media player.
     *
     * Note: this will _not_ call attach(), because it doesn't know on which dbus-name the player will appear.
     * Use attach() to attach this object to a running instance of the player.
     */
    public override void activate () {
        try {
            if (this.proxy == null) {
                this.appinfo.launch (null, null);
                this.state = "Launching";
            }
            else if (this.root != null && this.root.CanRaise) {
                this.root.Raise ();
            }
        }
        catch (Error e) {
            warning ("unable to activate %s: %s", appinfo.get_name (), e.message);
        }
    }


media-player-user.vala:

    public override void activate () {
        /* TODO: */
    }

** Changed in: unity8 (Ubuntu)
       Status: Triaged => Invalid

** Changed in: unity8 (Ubuntu)
     Assignee: Lukáš Tinkl (lukas-kde) => (unassigned)

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

Title:
  [indicators] Players in sound indicator are not launched when clicking
  in its icon

Status in indicator-sound package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  The sound indicator defines an action per each player.

  Example for music-app on the phone:
   struct {
           uint32 1
           uint32 2
           array [
              array [
                 dict entry(
                    string "action"
                    variant                      string "indicator.mediaplayer-app.desktop"
                 )

  I don't see on the phone that the action is invoked when pressing the
  app icon, so the app cannot be raised or launched from the indicator.

  This works fine in unity7 (desktop).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1541781/+subscriptions


References