Bug#803384: command-applet: Command Applet cuts off output string in the middle of multibyte characters

2015-11-02 Thread Dr. Axel Stammler
Hi, Mike,

Thanks for your quick reply − and thanks for the Command Applet as it is the 
only applet
that makes Mate usable for me because so many other applets do not work at all.

Now, more to the point, the following command (using u2026) works well (except 
for the
fact that the string is cut short):

echo 'bla ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… 
……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… '

The following command (using u2026 and u1f383) causes problematic output:

echo 'bla ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… 
……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… ……… 
……… ……… ……… ……… '

I am attaching a PNG file showing the relevant part of the panel.

BTW,

- We may communicate in German.
- I would really appreciate it if the applet would allow its user to configure 
the numbedr
  of characters after which the output is truncated.

Thanks again. Cheers,

Axel


Bug#803384: command-applet: Command Applet cuts off output string in the middle of multibyte characters

2015-10-31 Thread Mike Gabriel

Hi Axel,

On  Do 29 Okt 2015 14:57:23 CET, Axel wrote:


Package: mate-applets
Version: 1.8.1+dfsg1-3
Severity: normal
File: command-applet

Dear Maintainer,

Unfortunately Command Applet lacks configuration settings, e.g.  
whether and where to cut
off the string it is given by the program it calls. If strings are  
cut off, this seems
simply to be done along byte boundaries, causing the panel to  
display an ‘unknown
character’ mark (white question mark on black diamond) and  
/var/log/syslog to show:


org.mate.panel.applet.CommandAppletFactory[28797]:  
(command-applet:28910): Pango-WARNING **: Invalid UTF-8 string  
passed to pango_layout_set_text()




Could you be more descriptive on how to reproduce this issue?

What do you do?

What do you expect to happen?

What does really happen?

Presume that I don't know what the command applet is for and how to use it...

Thanks,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de


pgpNRGIyhLWw4.pgp
Description: Digitale PGP-Signatur


Bug#803384: command-applet: Command Applet cuts off output string in the middle of multibyte characters

2015-10-29 Thread Axel
Package: mate-applets
Version: 1.8.1+dfsg1-3
Severity: normal
File: command-applet

Dear Maintainer,

Unfortunately Command Applet lacks configuration settings, e.g. whether and 
where to cut
off the string it is given by the program it calls. If strings are cut off, 
this seems
simply to be done along byte boundaries, causing the panel to display an 
‘unknown
character’ mark (white question mark on black diamond) and /var/log/syslog to 
show:

org.mate.panel.applet.CommandAppletFactory[28797]: (command-applet:28910): 
Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mate-applets depends on:
ii  gir1.2-mate-panel   1.8.1+dfsg1-3
ii  gsettings-desktop-schemas   3.14.1-1
ii  gstreamer0.10-alsa  0.10.36-2
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu4+b1
ii  gvfs1.22.2-1
ii  libatk1.0-0 2.14.0-1
ii  libc6   2.19-18+deb8u1
ii  libcairo2   1.14.0-2.1
ii  libcpufreq0 008-1
ii  libdbus-1-3 1.8.20-0+deb8u1
ii  libdbus-glib-1-20.102-1
ii  libfontconfig1  2.11.0-6.3
ii  libfreetype62.5.2-3+deb8u1
ii  libgdk-pixbuf2.0-0  2.31.1-2+deb8u3
ii  libglib2.0-02.42.1-1
ii  libgtk2.0-0 2.24.25-3
ii  libgtksourceview2.0-0   2.10.5-2
ii  libgtop2-7  2.28.5-2+b1
ii  libice6 2:1.0.9-1+b1
ii  libmate-desktop-2-171.8.1+dfsg1-3+deb8u1
ii  libmate-panel-applet-4-11.8.1+dfsg1-3
ii  libmateweather1 1.8.0-2
ii  libnotify4  0.7.6-2
ii  libpango-1.0-0  1.36.8-3
ii  libpangocairo-1.0-0 1.36.8-3
ii  libpangoft2-1.0-0   1.36.8-3
ii  libpolkit-gobject-1-0   0.105-8
ii  libsm6  2:1.2.2-1+b1
ii  libstartup-notification00.12-4
ii  libupower-glib3 0.99.1-3.2
ii  libwnck22   2.30.7-2
ii  libx11-62:1.6.2-3
ii  libxml2 2.9.1+dfsg1-5
ii  mate-applets-common 1.8.1+dfsg1-3
ii  mate-icon-theme 1.8.0-1
ii  mate-panel  1.8.1+dfsg1-3
ii  python  2.7.9-1
ii  python-dbus 1.2.0-2+b3
ii  python-gi   3.14.0-1
ii  python-gobject  3.14.0-1
ii  python-gst0.10  0.10.22-3
ii  python-notify   0.1.1-4

Versions of packages mate-applets recommends:
ii  cpufrequtils 008-1
ii  mate-media   1.8.0+dfsg1-3
ii  mate-polkit  1.8.0+dfsg1-4
ii  mate-system-monitor  1.8.0+dfsg1-2

mate-applets suggests no packages.

-- no debconf information