Bug 467649

Summary: Highlighting NeoChat window in taskbar on notification doesn't work
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: Kevin Wolf <kwolf>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: carl, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kevin Wolf 2023-03-21 11:33:36 UTC
SUMMARY
I configured NeoChat's notifications so that a notificaton should be displayed and the window should be highlighted. I do successfully receive the notification popup, but the window is not highlighted.

$ cat ~/.config/neochat.notifyrc 
[Event/invite]
Action=Popup|Taskbar
Execute=
Logfile=
Sound=
TTS=

[Event/message]
Action=Popup|Taskbar
Execute=
Logfile=
Sound=
TTS=

STEPS TO REPRODUCE
1. Configure NeoChat to enable all notifications on mentions
2. In the KDE system settings, change the NeoChat notifications to do both a popup and taskbar highlighting
3. Switch to some other window so that NeoChat isn't active
4. Let someone mention your name in a chat room (or do so with a second account and client)

OBSERVED RESULT
A notification popup shows that I was mentioned, but the taskbar entry is not highlighted.

EXPECTED RESULT
I should receive both the popup and the taskbar highlighting.

SOFTWARE/OS VERSIONS
NeoChat: Built from git
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.1.18-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Comment 1 Tobias Fella 2023-03-21 20:27:51 UTC
Looks like this isn't implemented to work with QML applications, moving to KNotifications...