Gnome shows title of window of KDE applications as "%c"

Bug #275344 reported by komputes
4
Affects Status Importance Assigned to Milestone
metacity (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When ran in Gnome, many other KDE-based (QT-based) graphical applications (such as KSig and others) display the following in the title bar (instead of the actual title):
"%c"

Revision history for this message
Luke Faraone (lfaraone) wrote :

Thank you for reporting this bug.

Which version of Ubuntu are you using, and does the same thing occur if you try it out on another ubuntu computer?

Changed in metacity:
status: New → Incomplete
Revision history for this message
komputes (komputes) wrote :

This is in hardy 8.04.1. Yes, I have tested this on many ubuntu computers and in KSig the window is always "%c".

This happens with a lot of KDE applications when run in gnome.

Revision history for this message
Marnanel Thurman (marnanel) wrote :

Thanks for your report. I have just run KSig under GNOME on Hardy and it shows "KSig" as the title. So since I can't see it, please could you test some things?

1. Go through these commands and tell us whether you still see "%c" as the title:

compiz --replace&
metacity --replace&
kwin --replace&

(I assume from what you say that you have all three installed. If not, it would be helpful if you did.)

2. Get KSig or any other application showing this behaviour, then run "xprop" from a terminal, click on the app with the crosshairs, and copy or attach xprop's output here.

Thank you for your help!

Revision history for this message
komputes (komputes) wrote :

I found another program that does it on this machine. Kopete in GNOME also shows %c as its title. I have tried issuing one command at a time and then quiting and restarting kopete, but I still see the title as %c. I have also tried issuing all the commands at one, some result. xprop output attached.

Revision history for this message
Marnanel Thurman (marnanel) wrote :

Thanks for doing that. This is quite interesting.

The xprop file you attach contains the line:

   WM_NAME(STRING) = ""%c""

This indicates that Kopete itself is claiming that its title is "%c", rather than that any window manager is misinterpreting it.

Furthermore, if all of metacity, kwin, and compiz show this effect, it can't be a window-manager-specific problem.

The question is, then, why KDE applications are doing this. I should reassign this somewhere, but I'm not sure where. However, can you tell me whether you're running in a locale other than US English? It may be a translation error.

Revision history for this message
komputes (komputes) wrote :

English (United States) is my locale. I checked this in System > Administration > Language Support.

Revision history for this message
komputes (komputes) wrote :

I marked the bug as confirmed as it was marked for expiration (incomplete) please let me know if there's anything else that I can add to the bug to help developers.

Changed in metacity:
status: Incomplete → Confirmed
Changed in metacity (Ubuntu):
importance: Undecided → Low
Revision history for this message
komputes (komputes) wrote :

Tested kopete in gnome (jaunty,karmic), the window does not display "%c" in the title bar.

komputes (komputes)
Changed in metacity (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.