SUMMARY select any text in the notification panel. pressing "ctrl-c" shortcut should copy the selected text but it is not. it currently requires right clicking the text and selecting the "copy" button only. STEPS TO REPRODUCE 1. select any text in the notification panel and press copy shortcut on keyboard 2. 3. OBSERVED RESULT ctrl-c does not copy the selected text EXPECTED RESULT ctrl-c should copy the selected text as the notification window is "on top" already when open so there is no way ctrl-c could select anything else from the screen SOFTWARE/OS VERSIONS KDE Plasma: KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION
I think this is because the notification intentionally never gains focus, and the keyboard shortcut only applies to the currently-focused window.
Correct, they don't accept focus, so it can't be done. It should probably at least support the selection clipboard for middle click paste.
Is there any way to hack this in without explicitly giving the notification focus?
the start menu search bar is able to accept the copy shortcut....
> Is there any way to hack this in without explicitly giving the notification focus? I don't think so. > the start menu search bar is able to accept the copy shortcut.... The start menu accepts focus.
Is there a reason why a notification pop-up can't temporarily accept focus when text is selected? Pretty much the only reason for a user to do this would be for the purpose of copy-pasting it somewhere, so it's highly unlikely they they would expect keyboard shortcuts to affect the open app during this brief process of copying text in a notification.
Another inconvenience is that double and triple mouse clicks do not work also.
Double and triple click works from 5.22 on, if the notification is non-interactive
I am on 5.80, 2-,3-clicks takes effect neither on pop-ups, nor on history of notifications.
*** Bug 435622 has been marked as a duplicate of this bug. ***
Will be fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1006!
Git commit 60ff1e04e40765f5c28b5f6ab0c953840549ffa1 by David Redondo. Committed on 16/08/2021 at 14:30. Pushed by davidre into branch 'master'. Let the notification take focus when interacted with On wayland we need focus to copy to the clipboard. As we don't want the notification to take focus indiscriminately, it listens to mouse events of its children and only accepts focus if it sees a button press. When the cursor leaves the popup again, everything is reset. Related: bug 434675 M +12 -2 applets/notifications/package/contents/ui/NotificationPopup.qml https://invent.kde.org/plasma/plasma-workspace/commit/60ff1e04e40765f5c28b5f6ab0c953840549ffa1
This still does not work if you try copying from a full-size applet on a panel. Should I open another bug for it or reopen this one, since it seems to be the same issue but applet vs. pop-up?