Bug#906098: kde-telepathy-text-ui: Invisible characters in the chat window: File not found error message (html url encoded) in textbox.
Package: kde-telepathy-text-ui
Version: 17.08.3-2
Severity: important
Dear Maintainer,
* What led up to the situation?
I was trying to chat using the salut protocol (link-local XMPP). Please note that I had a working setup.
* What exactly did you do (or not do) that was effective (or
ineffective)?
>From the applet icon I clicked to get online. I got online and then I selected another user to chat with.
* What was the outcome of this action?
A bit textbox popped up with an error message. File not found: The contents of the file was url encoded. I am pasting it here a bit of it:
File not found: data:text/html;charset=UTF-8,%3C%21DOCTYPE HTML PUBLIC %22-%2F%2FW3C%2F%2FDTD HTML 4.01%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Fstrict.dtd%22%3E%0A%3Chtml%3E%0A%3Chead%3E%0A %3Cmeta http-equiv%3D%22content-type%22 content%3D%22text%2Fhtml%3B charset%3Dutf-8%22 %2F%3E%0A %3Cbase href%3D%22file%3A%2F%2F%2Fusr%2Fshare%2Fktelepathy%2Fstyles%2FSimKete.AdiumMessageStyle%2FContents%2FResources%2F%22%3E%0A %3Cscript type%3D%22text%2Fjavascript%22 defer%3D%22defer%22%3E%0A %2F%2F NOTE%3A%0A %2F%2F Any percent signs in .....
If I url decode it I get:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<base href="file:///usr/share/ktelepathy/styles/SimKete.AdiumMessageStyle/Contents/Resources/">
<script type="text/javascript" defer="defer">
// NOTE:
// Any percent signs in this file must be escaped!
// Use two escape signs (%) to display it, this is passed through a format call!
function appendHTML(html) {
var node = document.getElementById("Chat");
var range = document.createRange();
range.selectNode(node);
var documentFragment = range.createContextualFragment(html);
node.appendChild(documentFragment);
}
// a coalesced HTML object buffers and outputs DOM objects en masse.
// saves A LOT of CSS recalculation time when loading many messages.
// (ex. a long twitter timeline)
function CoalescedHTML() {
var self = this;
this.fragment = document.createDocumentFragment();
................
The chat window with the transcript is empty - not just invisible text because I tried to select and copy paste but this is not possible.
* What outcome did you expect instead?
Well I was expecting the chat window to have the previous conversations and to also show the messages I type and sent.
Note that the application works because I can get messages if I am lucky enough and read them on the notification. I can also send messages. I can see them while typing but not after send.
I tried to change my chat theme in case that was the problem and the window crashed when I clicked on the menu Settings/Configure Chat Application.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages kde-telepathy-text-ui depends on:
ii kde-telepathy-data 17.08.3-1
ii kio 5.47.0-1
ii libc6 2.27-5
ii libgcc1 1:8.2.0-3
ii libjs-jquery 3.2.1-1
ii libkf5archive5 5.47.0-1
ii libkf5configcore5 5.47.0-1
ii libkf5configgui5 5.47.0-1
ii libkf5configwidgets5 5.47.0-1
ii libkf5coreaddons5 5.47.0-1
ii libkf5dbusaddons5 5.47.0-1
ii libkf5emoticons-bin 5.47.0-1
ii libkf5emoticons5 5.47.0-1
ii libkf5i18n5 5.47.0-1
ii libkf5iconthemes5 5.47.0-1
ii libkf5itemviews5 5.47.0-1
ii libkf5kcmutils5 5.47.0-1
ii libkf5kiocore5 5.47.0-1
ii libkf5kiowidgets5 5.47.0-1
ii libkf5notifications5 5.47.0-1
ii libkf5notifyconfig5 5.47.0-1
ii libkf5people5 5.47.0-1
ii libkf5peoplewidgets5 5.47.0-1
ii libkf5service-bin 5.47.0-1
ii libkf5service5 5.47.0-1
ii libkf5sonnetcore5 5.47.0-1
ii libkf5sonnetui5 5.47.0-1
ii libkf5textwidgets5 5.47.0-1
ii libkf5widgetsaddons5 5.47.0-1
ii libkf5windowsystem5 5.47.0-1
ii libkf5xmlgui5 5.47.0-1+b1
ii libktpcommoninternals9 17.08.3-1
ii libktplogger9 17.08.3-1
ii libktpmodels9 17.08.3-1
ii libktpotr9 17.08.3-1
ii libktpwidgets9 17.08.3-1
ii libqt5core5a 5.11.1+dfsg-6
ii libqt5dbus5 5.11.1+dfsg-6
ii libqt5gui5 5.11.1+dfsg-6
ii libqt5texttospeech5 5.11.1-2
ii libqt5webenginewidgets5 5.11.1+dfsg-5
ii libqt5widgets5 5.11.1+dfsg-6
ii libqt5xml5 5.11.1+dfsg-6
ii libstdc++6 8.2.0-3
ii libtelepathy-qt5-0 0.9.7-5
Versions of packages kde-telepathy-text-ui recommends:
pn kde-telepathy <none>
kde-telepathy-text-ui suggests no packages.
-- no debconf information
Reply to: