Bug 515793 - 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
Summary: When an ANR occurs, if the title of the ANR'd window contains characters that...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-10 00:43 UTC by Roke Julian Lockhart Beedell
Modified: 2026-02-10 10:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A Screenshot Of The Affected Window (29.95 KB, image/png)
2026-02-10 00:43 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2026-02-10 00:43:26 UTC
Created attachment 189418 [details]
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

“"● &lt;p&gt;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 (“"● &lt;p&gt;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.