View Issue Details

IDProjectCategoryView StatusLast Update
0006023ardourbugspublic2020-04-19 20:16
Reportercolinf Assigned Tocolinf  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0006023: UTF combining character sequences in group tabs & routing matrix are garbled
DescriptionUTF combining character sequences in group names don't display correctly in either the editor or mixer group tabs; likewise track names in the routing matrix.
Additional InformationSee attached screenshot for an example.
TagsNo tags attached.

Activities

2014-11-07 13:11

 

cedilla.png (4,191 bytes)   
cedilla.png (4,191 bytes)   

colinf

2014-11-07 13:19

updater   ~0015956

Same thing in the connections Manager window, too.

2014-11-07 13:20

 

connections.png (157,243 bytes)   
connections.png (157,243 bytes)   

colinf

2015-09-25 10:27

updater   ~0017347

This seems to be a limitation of cairo_show_text(), which appears not to handle Unicode combining characters well.

I guess the places where it's called with anything that might contain non-7-bit ASCII characters ought really to be using Pango::Layout::set_text().

x42

2015-09-27 15:53

administrator   ~0017375

cairo_show_text() does handle UTF-8;

Two examples: PluginEqGui::draw_scales_phase() uses \u00b0 (degree sign), panners use translatable L/R (those display correctly in Russian locale).

Still, it's probably an encoding issue of a different nature which Pango::Layout may solve.

x42

2015-09-27 15:59

administrator   ~0017376

mmh. I cannot reproduce this. Umlauts display just fine here in Group Tabs and in the Connection Manager. (nightly build -- cairo-1.14.0, pango-1.36.8)

2015-09-27 16:00

 

umlauts.png (167,742 bytes)   
umlauts.png (167,742 bytes)   

x42

2015-09-27 16:01

administrator   ~0017377

attached screenshot is with Ardour 4.2-421-gcf761d4 (Sept/27)

x42

2015-09-27 16:05

administrator   ~0017378

works with "Façade" as well.

Did you mean mean 4.X git (not 3.X git)? Which version of Ardour did you test?
Can you try to reproduce with a nightly build (incl. pango, cairo,...)?

colinf

2015-09-27 17:32

updater   ~0017382

This is still reproducible for me with current git HEAD, with cairo 1.12.2-3 from Debian oldstable. I'll try to grab a nightly when I have some better bandwidth, to see if it's a bug/feature/limitation of the older cairo version. If that's the case, I guess this'll be a "won't fix", which is fine by me: it's not exactly a show-stopping bug.

Not all non-ASCII UTF-8 characters are affected: my hunch is that it's combining characters that don't work well, so it might depend on how they've been entered.

I was going to paste an actual track name that I've seen this with into this report, but I've just discovered that right-clicking in the track name entry while it's active segfaults. I'll make another bug report about that in a moment...

colinf

2015-09-28 11:18

updater   ~0017388

I can reproduce with nightly 4.2.428.

With a track named '¢µ?c', the '?' character appears as a little box in the connection matrix.

colinf

2015-09-28 11:26

updater   ~0017389

Last edited: 2015-09-28 11:27

Oh, and that '?' was supposed to be a c-circumflex, which I entered into Ardour's 'New Track' dialogue via <Alt Gr>+''' and then 'c', and then copy-&-pasted from the 'Rename Track' dialogue to here. I wonder what'll happen if I try to type one like that here directly: '?'... [EDIT: comes out as a ?, hmm...]

I also just tried to upload a screenshot with the same string copy-&-pasted into the name and got an error from Mantis about "Illegal mix of collations", though, so maybe something's gone askew in the entry of the name rather than just the rendering of it in the port matrix.

2015-09-28 11:37

 

nightly.png (22,876 bytes)   
nightly.png (22,876 bytes)   

x42

2015-09-28 12:54

administrator   ~0017391

Last edited: 2015-09-28 12:58

mmh. I just copy pasted the "¢µ?c" from here. Shows as "¢µ?c" in Ardour, but that may be filtered by mantis (this website is also UTF8) or maybe it's simply due to a the font that's used by cairo on your system. (in which case using Pango may help)

Do you see the degree sign (Generic Plugin GUI -> Plugin analysis -> Phase)?

Also when you open a plugin-window for the track.. does the window-title-bar show the track-name correctly?

2015-09-28 12:54

 

pa_phase.png (6,802 bytes)   
pa_phase.png (6,802 bytes)   

colinf

2015-09-28 13:43

updater   ~0017394

Yes, I see the degree sign in the plugin analysis, but that's not a combining character, so I'd expect it to work anyway.

Window caption text is correct in all cases: it's only combining character sequences shown via cairo_show_text() that are wrong.

colinf

2016-02-03 14:12

updater   ~0017874

After upgrading to debian testing, I can no longer reproduce this: I guess it's been fixed in cairo now (libcairo2 1.14.6-1 installed here).

system

2020-04-19 20:16

developer   ~0023339

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2014-11-07 13:11 colinf New Issue
2014-11-07 13:11 colinf File Added: cedilla.png
2014-11-07 13:19 colinf Note Added: 0015956
2014-11-07 13:20 colinf File Added: connections.png
2015-09-25 10:27 colinf Note Added: 0017347
2015-09-27 15:53 x42 Note Added: 0017375
2015-09-27 15:59 x42 Note Added: 0017376
2015-09-27 16:00 x42 File Added: umlauts.png
2015-09-27 16:01 x42 Note Added: 0017377
2015-09-27 16:05 x42 Note Added: 0017378
2015-09-27 17:32 colinf Note Added: 0017382
2015-09-28 11:18 colinf Note Added: 0017388
2015-09-28 11:26 colinf Note Added: 0017389
2015-09-28 11:27 colinf Note Edited: 0017389
2015-09-28 11:37 colinf File Added: nightly.png
2015-09-28 12:54 x42 Note Added: 0017391
2015-09-28 12:54 x42 File Added: pa_phase.png
2015-09-28 12:58 x42 Note Edited: 0017391
2015-09-28 13:43 colinf Note Added: 0017394
2015-09-28 13:48 colinf Summary Non-ASCII characters in group tabs are garbled => UTF combining character sequences in group tabs & routing matrix are garbled
2015-09-28 13:48 colinf Description Updated
2016-02-03 14:12 colinf Note Added: 0017874
2016-02-03 14:12 colinf Status new => resolved
2016-02-03 14:12 colinf Resolution open => no change required
2016-02-03 14:12 colinf Assigned To => colinf
2020-04-19 20:16 system Note Added: 0023339
2020-04-19 20:16 system Status resolved => closed