https://bugs.kde.org/show_bug.cgi?id=515793
Bug ID: 515793
Summary: When an ANR occurs, if the title of the ANR'd window
contains characters that are not Latin letters or
basic punctuation, the consequent notification
nonsensically encodes them
Classification: I don't know
Product: kde
Version First unspecified
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 189418
--> https://bugs.kde.org/attachment.cgi?id=189418&action=edit
A Screenshot Of The Affected Window
# SUMMARY
When an ANR occurs, if the title of the ANR'd window contains characters that
are not Latin letters or basic punctuation, the notification, that Plasma Shell
produces, nonsensically encodes them.
# STEPS TO REPRODUCE
~~~
#!/usr/bin/env sh
printf '%s\n' '<p>Her seat jolted.' > file.html && \
code file.html && \
kill -STOP $(ps -eo pid,sid,comm | awk '$3=="code" && $1==$2{print $1}') && \
kdotool windowclose $(getactivewindow)
~~~
# OBSERVED RESULT
“"● <p>Her seat jolted. Jane mused how the s • Untitled-2" of Visual
Studio Code is not responding. Do you want to terminate this application?
Terminating this application will close all of its windows. Any unsaved data
will be lost.”
Although I doubt that this matters, I have removed an appended space, because
the “Notification” plasmoid (and PlasmaShell) add that.
# EXPECTED RESULT
Instead of HTML-encoding the text (“"● <p>Her seat jolted.”), render the
actual text, as is stored at
view-source:https://download.archiveofourown.org/downloads/77619726/Forever_Corpses.html?updated_at=1768319134#line69:~:text=%3Cp%3EHer%20seat%20jolted%2E:
“<p>Her seat jolted.”
# SOFTWARE/OS VERSIONS
> ~~~
> Operating System: Fedora Linux 43
> KDE Plasma Version: 6.5.5
> KDE Frameworks Version: 6.22.0
> Qt Version: 6.10.1
> Kernel Version: 6.18.8-200.fc43.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~
# ADDITIONAL INFORMATION
- I noticed this whilst diagnosing
https://bugs.kde.org/show_bug.cgi?id=515646#c5, which causes
`code-1.109.0-1770171922.el8` to ANR upon invocation (because it ANRs when it
accesses the wallet, like Konqi does).
- Due to the unexpected placement of
https://invent.kde.org/plasma/kwin/-/merge_requests/7528, I am uncertain which
component to report this to.
--
You are receiving this mail because:
You are watching all bug changes.