marco calculates the wrong length of UTF-8 title charactors

Bug #1587916 reported by Wei Tsui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
marco (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

To replay this bug:

[Opening a new mate-terminal window and run the following commands:]

sudo -i

mkdir /中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中中

cd /中*

[Then resizing the mate-terminal window]

When very-long title string cannot be fully displayed, marco only display half of the full region.

Using "metacity --replace" will display most of the title string.

==============

Metacity 3.18.3 also has this issue but fixed in 3.18.4.

I suggest migrating marco to 3.14 in Ubuntu 16.10 repository using Gtk3, and then fixing this bug. Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: marco 1.12.1-1
ProcVersionSignature: Ubuntu 4.4.0-23.41-generic 4.4.10
Uname: Linux 4.4.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Wed Jun 1 22:20:16 2016
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
SourcePackage: marco
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Wei Tsui (ghostplant) wrote :
Wei Tsui (ghostplant)
Changed in marco (Ubuntu):
status: New → Fix Released
Revision history for this message
Wei Tsui (ghostplant) wrote :

I just upgrade marco to 1.14.2-3, though it is changed to GTK3, but I found out that wrong UTF-8 length of title string is still not fixed. So I re-open this issue.

Changed in marco (Ubuntu):
status: Fix Released → New
Norbert (nrbrtx)
tags: removed: yakkety
Changed in marco (Ubuntu):
status: New → Incomplete
Revision history for this message
Norbert (nrbrtx) wrote :

Can you reproduce this bug with newer version of Ubuntu MATE?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for marco (Ubuntu) because there has been no activity for 60 days.]

Changed in marco (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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