Summary: | notification does not allow copying via shortcut | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | johnathan <testing1237a-c> |
Component: | Notifications | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bergentroll, bugseforuns, david.cortes.rivera, nate, plasma-bugs, sephiroth_pk, vikts |
Priority: | NOR | Keywords: | usability |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=441095 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/60ff1e04e40765f5c28b5f6ab0c953840549ffa1 | Version Fixed In: | 5.23 |
Sentry Crash Report: |
Description
johnathan
2019-06-10 04:44:41 UTC
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? |