qmlscene based apps are not recognised as separate apps by Unity (launcher and alt-tab)
Bug #1180402 reported by
Florian Boucault
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_
Related branches
lp:~3v1n0/bamf/qmlapp-matching
- PS Jenkins bot (community): Approve (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 500 lines (+291/-72)5 files modifiedsrc/bamf-application.c (+0/-3)
src/bamf-matcher.c (+69/-62)
tests/bamfdaemon/test-application.c (+80/-0)
tests/bamfdaemon/test-matcher.c (+134/-7)
tests/data/bamf-qml-app.desktop (+8/-0)
lp:~3v1n0/bamf/desktop_file_hint-exec-override
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 230 lines (+161/-1)3 files modifiedsrc/bamf-matcher-private.h (+1/-1)
src/bamf-matcher.c (+50/-0)
tests/bamfdaemon/test-matcher.c (+110/-0)
lp:~3v1n0/bamf/qmlapp-matching-0.4
- PS Jenkins bot (community): Approve (continuous-integration)
- Christopher Townsend (community): Approve
-
Diff: 937 lines (+508/-152)9 files modifiedsrc/bamf-application.c (+1/-4)
src/bamf-legacy-window-test.c (+2/-2)
src/bamf-legacy-window.c (+15/-6)
src/bamf-legacy-window.h (+2/-2)
src/bamf-matcher-private.h (+2/-1)
src/bamf-matcher.c (+118/-64)
tests/bamfdaemon/test-application.c (+101/-35)
tests/bamfdaemon/test-matcher.c (+259/-38)
tests/data/bamf-qml-app.desktop (+8/-0)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Florian Boucault (fboucault) |
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 |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Invalid |
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) |
To post a comment you must log in.
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.