Bug 1403133

Summary: gnome-terminal calculates space for wide chars incorrectly with Unicode 9.0
Product: [Fedora] Fedora Reporter: tristan su <sooqing>
Component: gnome-terminalAssignee: Andreas Schneider <asn>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: asn, bbennett, debarshir, egmont, jhrozek, mclasen, mfabian, sooqing
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:47:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot none

Description tristan su 2016-12-09 07:33:49 UTC
Created attachment 1229860 [details]
screenshot

Description of problem:
tmux-powerline generates multiple status lines

Version-Release number of selected component (if applicable):
tmux.x86_64                           2.2-3.fc25         
tmux-powerline.noarch                 2.5-2.fc25        


How reproducible:
always reproducible


Actual results:
see attached screenshot

Expected results:


Additional info:

Comment 1 Andreas Schneider 2016-12-09 08:57:02 UTC
It works for me just fine using konsole and xterm on f25. Could it be related to your tmux config or terminal?

Comment 2 tristan su 2016-12-09 09:44:55 UTC
I'm using gnome terminal.
As you suggested, I installed xterm and it works. So it could be related with gnome terminal.

Comment 3 Andreas Schneider 2016-12-09 11:17:39 UTC
Please check if tmux works correctly without powerline. If it only fails with powerline could you please report a bug upstream?


Thanks.

Comment 4 tristan su 2016-12-09 11:20:01 UTC
tmux works fine without powerline.
As it fails with gnome terminal but works with xterm, could it be more likely an issue of gnome-terminal?

Comment 5 Andreas Schneider 2016-12-09 14:08:56 UTC
It could be an issue in gnome-terminal as it works just fine in other terminals.

Comment 6 Egmont Koblinger 2016-12-20 22:32:37 UTC
See https://bugzilla.gnome.org/show_bug.cgi?id=772812.

Comment 7 Andreas Schneider 2016-12-21 11:02:23 UTC
Looks like it is a tmux bug with utf-9 chars ...

https://github.com/powerline/powerline/issues/1652#issuecomment-253626716

Comment 8 Andreas Schneider 2016-12-21 11:30:35 UTC
There is a workaround from powerline by using different symbols. I've applied that patch and build new packages right now.

Comment 9 Andreas Schneider 2016-12-21 14:31:58 UTC
You can update powerline which has a workaround and doesn't use the problematic clock symbol anymore. It is available here till gnome fixes the issue.

https://bodhi.fedoraproject.org/updates/FEDORA-2016-fcab1caeb0

Comment 10 tristan su 2016-12-22 08:20:39 UTC
(In reply to Andreas Schneider from comment #9)
> You can update powerline which has a workaround and doesn't use the
> problematic clock symbol anymore. It is available here till gnome fixes the
> issue.
> 
> https://bodhi.fedoraproject.org/updates/FEDORA-2016-fcab1caeb0

this this helpful. Thanks!

Comment 11 Fedora End Of Life 2017-11-16 18:58:47 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2017-12-12 10:47:48 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.