Closed
Bug 768768
Opened 14 years ago
Closed 14 years ago
Launch app from shell, close, then launch it from terminal results in no icon showing up in task bar in ubuntu
Categories
(Firefox Graveyard :: Webapp Runtime, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 16
People
(Reporter: jsmith, Unassigned)
References
Details
(Keywords: regression, Whiteboard: [qa!])
Attachments
(1 file)
|
1.09 KB,
patch
|
karlt
:
review+
myk
:
checkin+
|
Details | Diff | Splinter Review |
Regression from bug 763358.
Steps from bug 762641:
1) Launch a webapp from the shell (ie, the dash or launcher in unity or the activities overlay in gnome shell)
2) Close the webapp and then launch it from a terminal window (ie, ~/.http\;www.lordofultima.com/webapprt-stub)
Expected:
App launches with correct app icon.
Actual:
App launches without an app icon.
Additional Notes:
See https://bugzilla.mozilla.org/show_bug.cgi?id=762641#c13
| Reporter | ||
Updated•14 years ago
|
Hardware: ARM → All
| Reporter | ||
Updated•14 years ago
|
Keywords: regression
Comment 1•14 years ago
|
||
Thanks, Jason.
Chris, was there a reason to choose gdk_set_program_class over g_set_prgname?
g_set_prgname would also set the name class hint, which is the "formal name of the application that should be used when retrieving the application's resources from the resource database", but it's hard to guess the modern effects of these ancient properties.
Blocks: 763358
Comment 2•14 years ago
|
||
Often the name field of the class hint gets overridden by a windowtype attribute of the XUL window anyway, so perhaps it's more a question of whether the binary name or the app name is more suitable for GLib, if it matters.
| Reporter | ||
Updated•14 years ago
|
Priority: -- → P3
Comment 3•14 years ago
|
||
There wasn't really any particular reason for choosing gdk_set_program_class over g_set_prgname, other than the former being a more direct way of achieving the same result. g_set_prgname should work too, but I want to have a quick look in glib at where this names is used, just to make sure it doesn't break anything else.
Comment 4•14 years ago
|
||
Looks like this fixes the problem.
However sometimes when you launch an application from the terminal, for a second you get two icons on the Launcher.
Comment 5•14 years ago
|
||
Yes, g_set_prgname should be fine here. The places it gets used in glib and gtk are either not used by us, or they don't care what the name is (or both)
| Reporter | ||
Updated•14 years ago
|
QA Contact: jsmith
Updated•14 years ago
|
Attachment #637826 -
Flags: review?(karlt)
Updated•14 years ago
|
Attachment #637826 -
Flags: review?(karlt) → review+
Updated•14 years ago
|
Keywords: checkin-needed
Comment 6•14 years ago
|
||
Comment on attachment 637826 [details] [diff] [review]
use g_set_prgname
https://hg.mozilla.org/integration/mozilla-inbound/rev/06756c4481d5
Attachment #637826 -
Flags: checkin+
Updated•14 years ago
|
Keywords: checkin-needed
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [qa+]
| Reporter | ||
Comment 7•14 years ago
|
||
(In reply to Marco Castelluccio from comment #4)
> Created attachment 637826 [details] [diff] [review]
> use g_set_prgname
>
> Looks like this fixes the problem.
> However sometimes when you launch an application from the terminal, for a
> second you get two icons on the Launcher.
Can you still reproduce this with this patch applied? If so, can you file a bug for this?
Comment 8•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Comment 9•14 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #7)
> Can you still reproduce this with this patch applied? If so, can you file a
> bug for this?
Can't reproduce anymore. I'll file a new bug in case this will present again.
| Reporter | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
| Assignee | ||
Updated•10 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•