Bug 692150

Summary: Few Non-Gnome application name appears broken while gnome application name appears proper in Top bar
Product: [Fedora] Fedora Reporter: A S Alam <aalam>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: gecko-bugs-nobody, i18n-bugs, maxamillion, mshao, otaylor, samkraju, walters
Target Milestone: ---Keywords: i18n, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 15:27:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen-shot with firefox
none
screen-shot with gimp (working fine) none

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