#645525 midori: awkward question mark added to window title in Fluxbox

Package:
fluxbox
Source:
fluxbox
Description:
Highly configurable and low resource X11 Window manager
Submitter:
"Francesco Poli \(wintermute\)"
Date:
2011-10-18 16:33:16 UTC
Severity:
minor
#645525#5
Date:
2011-10-16 16:18:21 UTC
From:
To:
Hello again,
I noticed something weird when using Midori in a Fluxbox session.

The window title is normally set to the page title of the currently
viewed tab: this works correctly in a GNOME session (I checked)
and probably in most other desktop environments / window managers
(as I see it working fine on several Midori screenshots, like,
for instance in http://screenshots.debian.net/package/midori).

This does not seem to work in a fully correct manner inside a Fluxbox
session: I see an extraneous question mark added before the first
character of the window title.

For example, if I open http://www.debian.org/ with Midori in a
Fluxbox session, I see the following window title:

  ?Debian -- The Universal Operating System

while in a GNOME session, the window title is correctly shown as:

  Debian -- The Universal Operating System


I cannot understand what's wrong and, above all, why the bug is only
triggered under Fluxbox.
Any ideas?

Thanks for your time!

#645525#10
Date:
2011-10-16 18:33:20 UTC
From:
To:
reassign 645525 fluxbox
thanks

No idea, but that looks like a fluxbox issue :)

Regards,

#645525#19
Date:
2011-10-16 19:06:52 UTC
From:
To:
[...]
by the same issue.
Nor have I seen any question mark added in front of the window title of
any other graphical applications...

So it must be something that Midori does, when setting the window title:
this "something" seems to cause problems with Fluxbox only, for some
obscure reason.

#645525#24
Date:
2011-10-17 12:58:08 UTC
From:
To:
On Sun, Oct 16, 2011 at 3:06 PM, Francesco Poli <invernomuto@paranoici.org> wrote:

Hummm. I'm not convinced of this yet.


Well. Fluxbox displays only what WM_NAME contains.

Try starting up the application and let's see what `xprop WM_NAME`
outputs. It might be a result of the font you're using or it just
plain being wrong, and other WMs hiding that.

That symbol is not something fluxbox will generate, and I do think
this bug needs to be assigned back to Midori (since they're the only
one who sets their name)

Let's see what that output looks like, and if it's just because of a
font that can't handle that exotic char.


Cheers!
Paul

#645525#29
Date:
2011-10-17 20:14:13 UTC
From:
To:
[...]

Hi Paul,
thanks a lot for your quick and kind reply!   :-)
WM_NAME(COMPOUND_TEXT) = "‪Debian -- The Universal Operating System"

Maybe you don't see it in the copied and pasted text, but, if I
redirect the output of the xprop command:

$ xprop WM_NAME > /tmp/xprop.out

and open the resulting file with vim, I see the following:

WM_NAME(COMPOUND_TEXT) = "<202a>Debian -- The Universal Operating System"

And

$ file /tmp/xprop.out
/tmp/xprop.out: UTF-8 Unicode text

I am attaching the gzipped version of this file, for completeness.

By the way, when I do the same with another browser (Galeon), I see the
following:

WM_NAME(STRING) = "Debian -- The Universal Operating System"

Please note: no strange symbols (the file command says "ASCII text")
and STRING rather than COMPOUND_TEXT.
And indeed, I don't see any extraneous question mark in the window
title, when I use Galeon...

It really seems that there's an exotic character that isn't correctly
displayed, due to a missing gliph in the fonts, perhaps.

#645525#34
Date:
2011-10-17 22:07:51 UTC
From:
To:
On Mon, Oct 17, 2011 at 4:14 PM, Francesco Poli <invernomuto@paranoici.org> wrote:

Thanks for the report! :)

e2 80 aa - which is:

UCS-4: 0000202A LEFT-TO-RIGHT EMBEDDING
UTF-8: E2 80 AA

Interesting...

My results seem to confirm this

Helped a super ton, thank you :)

It must be the case that it does not output the LTR UTF-8 char. Interesting.

This might be something we need to take a look at. Humm. Let me think
about this for a second or two.

Thanks for the report!
Paul

#645525#39
Date:
2011-10-18 11:05:42 UTC
From:
To:
Is there any chance you could test a different font? What font are you using?
#645525#44
Date:
2011-10-18 11:10:07 UTC
From:
To:
Scratch that, I've duplicated with the Ubuntu font.
#645525#49
Date:
2011-10-18 16:32:06 UTC
From:
To:
On Tue, 18 Oct 2011 07:10:07 -0400 Paul Tagliamonte wrote:

[...]

Good, I hope that pinpointing the cause of the issue will not be too
hard...