Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title of Firefox with Emoji disappears completely #3638

Closed
cfra opened this Issue Mar 7, 2019 · 8 comments

Comments

Projects
None yet
4 participants
@cfra
Copy link

cfra commented Mar 7, 2019

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

When Firefox displays a title which contains an emoji, the title vanishes completely from i3's window decoration.

Expected Behavior

The title should be drawn normally, maybe excluding the emoji.

Reproduction Instructions

Open Firefox, open devtools and call something like the following on the console:

document.title = '🏭'

Environment

Output of i3 --moreversion 2>&-:

$ i3 --moreversion
Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 827) abort…)
Loaded i3 config: /home/user/.i3/config (Last modified: Mon 23 Jul 2018 03:30:35 AM CEST, 19662562 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
- Linux Distribution & Version: Arch-Linux
- Are you using a compositor (e.g., xcompmgr or compton): Nope
@i3bot

This comment has been minimized.

Copy link

i3bot commented Mar 7, 2019

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.16 label Mar 7, 2019

@cfra

This comment has been minimized.

Copy link
Author

cfra commented Mar 7, 2019

title-broken
title-working

@Airblader

This comment has been minimized.

Copy link
Member

Airblader commented Mar 7, 2019

Duplicate of #2976

@Airblader Airblader marked this as a duplicate of #2976 Mar 7, 2019

@Airblader Airblader closed this Mar 7, 2019

@cfra

This comment has been minimized.

Copy link
Author

cfra commented Mar 7, 2019

@Airblader Are you certain this is a duplicate of #2976?

I have rebuilt Cairo and i3 from git now and the issue persists, so the resolution from #2976 doesn't seem to apply here?

@orestisf1993 orestisf1993 changed the title Tiitle of Firefox with Emoji disappears completely Title of Firefox with Emoji disappears completely Mar 7, 2019

@orestisf1993

This comment has been minimized.

Copy link
Member

orestisf1993 commented Mar 7, 2019

Can you attach the i3 output (not just the log file)? Cairo will print errors in stderr.

@orestisf1993 orestisf1993 reopened this Mar 7, 2019

@cfra

This comment has been minimized.

Copy link
Author

cfra commented Mar 8, 2019

@cfra

This comment has been minimized.

Copy link
Author

cfra commented Mar 8, 2019

I guess the problem might be that the emoji used is not inside of BMP and therefore cannot be encoded as UCS-2?

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 8, 2019

@cfra

This comment has been minimized.

Copy link
Author

cfra commented Mar 9, 2019

I can confirm this commit fixing the issue for me.

orestisf1993 added a commit to orestisf1993/i3 that referenced this issue Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.