Bug 460180

Summary: Wayland activation plumbing not wired up correctly for notifications
Product: [Applications] NeoChat Reporter: Nate Graham <nate>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED WORKSFORME    
Severity: normal CC: carl, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2022-10-09 21:01:49 UTC
Everything KDE from git master on the latest version of Qt 5

STEPS TO REPRODUCE
0. Be using the Wayland session
1. Open NeoChat and make it not be the foreground app
2. Get a notification
3. Click it

OBSERVED RESULT
NeoChat's Task Manager entry turns orange because KWin blocked its activation request because it was invalid.

EXPECTED RESULT
NeoChat's window activates and comes to the front, showing the chat that the message came from.

ADDITIONAL INFORMATION
This is theoretically possible to work because activation support now works from Konsole to Kate, when ctrl+clicking a file path in the terminal window. So whatever works there, needs to be done for NeoChat.
Comment 1 Nicolas Fella 2022-10-09 21:09:09 UTC
This certainly used to work
Comment 2 Nicolas Fella 2022-10-09 21:09:47 UTC
And still does for me
Comment 3 Tobias Fella 2022-10-23 14:08:25 UTC
Works here as well