Bug 692150 - Few Non-Gnome application name appears broken while gnome application name appears proper in Top bar
Summary: Few Non-Gnome application name appears broken while gnome application name ap...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-30 14:43 UTC by A S Alam
Modified: 2013-07-03 01:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-21 15:27:19 UTC
Type: ---


Attachments (Terms of Use)
screen-shot with firefox (19.92 KB, image/png)
2011-03-30 14:43 UTC, A S Alam
no flags Details
screen-shot with gimp (working fine) (13.87 KB, image/png)
2011-03-30 14:43 UTC, A S Alam
no flags Details

Description A S Alam 2011-03-30 14:43:17 UTC
Created attachment 488783 [details]
screen-shot with firefox

Description of problem:
in Top Bar (within gnome-shell), Firefox and Thunderbird application name are not appearing properly, while Gnome/KDE application name appears proper (yellow mark in screen-shot)

Version-Release number of selected component (if applicable):
gnome-shell-2.91.92-3.fc15.x86_64
firefox-4.0-2.fc15.x86_64

How reproducible:
every-time

Steps to Reproduce:
1. run firefox in Punjabi Desktop (or oowriter)
2. check application name in Top Bar (Right Side)
3.
  
Actual results:
Name has some junk characters

Expected results:
name should be properly

Additional info:
-Screen-shot for Firefox (same happen with OOwriter and thunderbird0
- Gnome application screenshot with gimp (working fine)

Comment 1 A S Alam 2011-03-30 14:43:50 UTC
Created attachment 488784 [details]
screen-shot with gimp (working fine)

Comment 2 Owen Taylor 2011-03-30 15:57:48 UTC
Hmm,
 
 - I don't have a [pa] or [pa_IN] translation in my mozilla-firefox.desktop
 - I have a [pa_IN] translation in my libreoffice-writer.desktop, but it's not picked up if I run LANG=pa_IN.UTF-8 gnome-shell --replace

In neither case do I reproduce this bug.

Comment 3 A S Alam 2011-03-31 15:18:35 UTC
(In reply to comment #2)
> Hmm,
> 
>  - I don't have a [pa] or [pa_IN] translation in my mozilla-firefox.desktop

firefox don't have langpackg, but you can run it samme way
LANG=pa_IN.UTF-8 firefox or thunderbird

>  - I have a [pa_IN] translation in my libreoffice-writer.desktop, but it's not
> picked up if I run LANG=pa_IN.UTF-8 gnome-shell --replace
> 

libreoffice has driver issue (may be depends upon bug #692148)

> In neither case do I reproduce this bug.

Comment 4 Owen Taylor 2011-03-31 15:33:28 UTC
OK, thanks, running Firefox in pa_IN, I see:

$ xprop | grep CLASS
WM_CLASS(STRING) = "Navigator", "+>\0070+>\0258"

Not only is the second string garbage, it shouldn't be translated at all - WM_CLASS is not supposed to be human readable - it's a string to allow matching on application type. The second string must stay Firefox in all locales in order to allow correct assocation between Firefox and mozilla-firefox.desktop

Comment 5 Martin Stransky 2012-03-20 13:47:02 UTC
Seems the branded name is used as WM_CLASS which does not look correct.

Comment 6 Martin Stransky 2012-03-21 10:16:36 UTC
Upstream bug - https://bugzilla.mozilla.org/show_bug.cgi?id=737791


Note You need to log in before you can comment on or make changes to this bug.