qmlscene based apps are not recognised as separate apps by Unity (launcher and alt-tab)

Bug #1180402 reported by Florian Boucault
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BAMF
Fix Released
High
Marco Trevisan (Treviño)
0.4
Fix Committed
High
Marco Trevisan (Treviño)
Ubuntu UI Toolkit
Invalid
High
Marco Trevisan (Treviño)
bamf (Ubuntu)
Fix Released
Undecided
Marco Trevisan (Treviño)
Raring
Won't Fix
Undecided
Marco Trevisan (Treviño)

Bug Description

qmlscene based apps are recognised as a single app by Unity: in the launcher and alt-tab they appear as 1 icon that is a question mark. This is because Unity does not know anything but that the binary is the same (qmlscene).
The app discrimination is done by BAMF. BAMF could:
- differentiate the different apps depending on which qml file is given to qmlscene
- parse the --desktop_file_hint command line argument passed when launching the app and extract the desktop file from there
- OR be given the desktop file of the app via _NET_WM_DESKTOP_FILE

Tags: desktop

Related branches

Changed in ubuntu-ui-toolkit:
assignee: nobody → Florian Boucault (fboucault)
Revision history for this message
Florian Boucault (fboucault) wrote :

We agreed to go for the first & second options:
1) 'qmlscene' will be added to the list of well known launchers (like python, etc.) to BAMF
2) BAMF will parse the --desktop_file_hint command line argument passed when launching the app and extract the desktop file from there.

Changed in ubuntu-ui-toolkit:
assignee: Florian Boucault (fboucault) → Marco Trevisan (Treviño) (3v1n0)
Changed in bamf:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
milestone: none → 0.5.0
Changed in bamf:
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:bamf at revision 567, scheduled for release in bamf, milestone 0.5.0

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

Fix committed into lp:bamf at revision 569, scheduled for release in bamf, milestone 0.5.0

Changed in ubuntu-ui-toolkit:
status: Confirmed → Invalid
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:bamf/0.4 at revision None, scheduled for release in bamf, milestone 0.4.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bamf - 0.5.0+13.10.20130725-0ubuntu1

---------------
bamf (0.5.0+13.10.20130725-0ubuntu1) saucy; urgency=low

  [ Marco Trevisan (Treviño) ]
  * BamfMatcher: correctly match QML applications launched with qmlscene
    or qmlviewer. (LP: #1180402)
  * BamfLegacyWindow: cache the window Exec string We might use this
    value multiple times during the BAMF execution, and we don't need to
    recompute it everytime. Caching looks a good compromise.
  * BamfMatcher: add support for the "--desktop_file_hint" exec
    parameter to override matching This is needed mostly by new Qml
    applications, but it allows to every app to override its matching by
    calling it with --desktop_file_hint file-to-use.desktop. (LP:
    #1180402)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 570
 -- Ubuntu daily release <email address hidden> Thu, 25 Jul 2013 02:03:06 +0000

Changed in bamf (Ubuntu):
status: New → Fix Released
Changed in bamf (Ubuntu Raring):
status: New → Fix Committed
Changed in bamf (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in bamf (Ubuntu Raring):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Fix Released in Bamf BAMF 0.5.0.

Changed in bamf:
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in bamf (Ubuntu Raring):
status: Fix Committed → Won't Fix
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.