Closed Bug 870107 Opened 11 years ago Closed 6 years ago

Firefox's _NET_WM_NAME ends with a junk \177 character

Categories

(Firefox Build System :: General, defect)

20 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ats-mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20130507 Firefox/20.0
Build ID: 20130507142725

Steps to reproduce:

Opened Firefox 20.0.1 on Linux, built from source, and stared at the window title.


Actual results:

When using the Openbox window manager, the window title has a missing-character box at the end. xprop on Firefox's main window shows the following:

WM_ICON_NAME(STRING) = "Enter A Bug - Nightly"
_NET_WM_ICON_NAME(UTF8_STRING) = "Enter A Bug - Nightly\177"
WM_NAME(STRING) = "Enter A Bug - Nightly"
_NET_WM_NAME(UTF8_STRING) = "Enter A Bug - Nightly\177"



Expected results:

Those \177s shouldn't be there.

Fedora has the same bug report, originally against Firefox 5, using their normal branding:
https://bugzilla.redhat.com/show_bug.cgi?id=716510

Their patch for it fixes excessive quoting of PRE_RELEASE_SUFFIX in browser/base/Makefile.in, by removing the "" in the empty definition of it:
http://pkgs.fedoraproject.org/cgit/firefox.git/tree/firefox-5.0-asciidel.patch
Having just tested it, I can confirm that Fedora's patch works fine against 20.0.1 (although it's not immediately obvious to me *why*!).
Component: Untriaged → Layout
Product: Firefox → Core
Manuela, was there a reason this got put in layout?
Component: Layout → Build Config
Flags: needinfo?(manuela.muntean)
Product: Core → Firefox
I only put it there because of the junk \177 character problem mentioned. I thought it was the right component. Thank you Boris!
Flags: needinfo?(manuela.muntean)
triaging, old bug, no longer relevant
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.