Bug 500621 - Notification body is presented twice to Orca
Summary: Notification body is presented twice to Orca
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: git-stable-Plasma/6.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2025-02-23 13:49 UTC by Harley Richardson
Modified: 2025-03-01 04:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harley Richardson 2025-02-23 13:49:04 UTC
SUMMARY
When a notification is received from any application, the body of the notification is repeated twice, and the application only once at the end.

STEPS TO REPRODUCE
1. Trigger a notification from any application. Notify send, Discord, KDE applications etc.
2. Orca will repeat the body of the notification twice.
3. Use notify-send without providing a body, for example notify-send test in a terminal. Test will be spoken, but so will a lot of QML code.

OBSERVED RESULT
Notification bodies get presented in the accessibility tree twice.

EXPECTED RESULT
There should only be 1 notification body spoken when a notification is received. If the notification doesn't have a body, there should be no QMl code spoken.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Example of a double presenting notification: Battery Low (20% Remaining) Plug in the power cord.  Plug in the power cord.  from Power Management
Comment 1 cwo 2025-02-23 20:09:49 UTC
Thank you for the bug report!

I noticed this a few weeks ago myself and submitted a fix, but it is still awaiting review. It should resolve both issues, the double readout on regular notifications and the html readout on notifications that contain rich text.

https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5171