Bug 424139 - HTML in KDE Panel
Summary: HTML in KDE Panel
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Notifications (show other bugs)
Version: kf5
Platform: openSUSE Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-12 23:18 UTC by dmitriy
Modified: 2024-03-23 22:27 UTC (History)
3 users (show)

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


Attachments
Raw HTML in KDE Panel (21.81 KB, image/png)
2020-07-12 23:18 UTC, dmitriy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmitriy 2020-07-12 23:18:23 UTC
Created attachment 130074 [details]
Raw HTML in KDE Panel

Raw HTML in KDE Panel

Operating System: openSUSE Tumbleweed 20200625
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Kernel Version: 5.7.2-1-default
OS Type: 64-bit

Amarok:
https://user-images.githubusercontent.com/919099/85970376-83a4dd00-b9f4-11ea-9de5-f7efd9223702.png

The same think in qBittorrent

https://user-images.githubusercontent.com/919099/85970431-ae8f3100-b9f4-11ea-9d25-bc2c2be2b3b2.png

Commit with a bug:
https://invent.kde.org/frameworks/plasma-framework/-/commit/c46a0dbf00d9f30155e233daca1a6e8ac314db9c
Comment 1 Nate Graham 2020-07-13 19:23:19 UTC
Arguably that commit was correct and these apps should never have been using raw HTML in the first place.
Comment 2 JanKusanagi 2020-07-27 17:05:30 UTC
(In reply to Nate Graham from comment #1)
> Arguably that commit was correct and these apps should never have been using
> raw HTML in the first place.

Arguably that has been supported for 70 versions of KDE Frameworks, and removed without any warning or care.
Comment 3 dmitriy 2020-07-28 10:04:24 UTC
Here is a specification which allowing using the HTML:
https://specifications.freedesktop.org/notification-spec/latest/ar01s04.html
Comment 4 Christoph Feck 2020-07-28 11:12:29 UTC
Does the screenshot show a notification or a status notifier tooltip?
Comment 5 dmitriy 2020-07-28 11:34:15 UTC
(In reply to Christoph Feck from comment #4)
> Does the screenshot show a notification or a status notifier tooltip?

It's when you hold the mouse pointer on the icon. Is it a status notifier tooltip?
Comment 6 Christoph Feck 2020-07-28 12:19:00 UTC
If it shows on hover, it is a tooltip. The documentation referenced in comment 3 is about notifications.

According to bug 422616, HTML is allowed in tooltip text, but not in its title.
Comment 7 Tuomas Nurmi 2024-03-23 22:27:04 UTC
This was fixed since for Amarok with https://invent.kde.org/multimedia/amarok/-/merge_requests/17 (works in 2.9.71)