GNOME Bugzilla – Bug 418552
metacity forgets "(on Hostname)" annotantion on remote apps sometimes
Last modified: 2007-04-16 16:29:30 UTC
The bug has been opened on https://launchpad.net/bugs/90409 "Binary package hint: metacity Hi! This report is about the latest Metacity on Feisty. Metacity usually tries to add an "(on Hostname)" annotation to applications that run on remote hosts but use the local machine's X server. For instance, I run Amarok on another computer using "ssh -fnX Hostname.local amarok", and the hostname is normally displayed in the window's titlebar. I'm not sure what causes the problem, but often the annotation disappears. In Amarok's case, it always disappears if I reduce it to a Notification Area icon. When I restore the window, it looks just like a local window. When Amarok changes its title (for example, when the track changes) the annotation returns. It doesn't disappear if I minimize it, just if I iconize it. I'm almost sure I've seen this for other applications, too, but this is the one I can consistently reproduce the bug with."
See also 393867.
the same thing happens with rhythmbox. (am i allowed to set this to confirmed, or is that up to the devs?)
sam: I completely ignore confirmed vs. unconfirmed in metacity. So, trying to take an educated guess from looking at the code, I cooked up a patch that _might_ help. Will need some testers to verify. If it doesn't help, I'd like the output of the commands hostname and xprop | grep ^WM_CLIENT_MACHINE for starters. I'll attach the patch in a minute.
Created attachment 86407 [details] [review] Patch that might fix it, but is completely untested
*** Bug 393867 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > Created an attachment (id=86407) [edit] > Patch that might fix it, but is completely untested > The patch fixes the problem for me. Good work.