Bug 421093 - Right clicking on notification body moves to bottom right
Summary: Right clicking on notification body moves to bottom right
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 00:14 UTC by Unknown
Modified: 2020-05-07 15:06 UTC (History)
2 users (show)

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


Attachments
Demonstration of the bug. (280.44 KB, video/mp4)
2020-05-06 00:14 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2020-05-06 00:14:50 UTC
Created attachment 128188 [details]
Demonstration of the bug.

SUMMARY
Right-clicking in the notification body causes it to stop avoiding other windows and revert back to the bottom right corner.

STEPS TO REPRODUCE
1. Open the notifications popup (easiest if you pin it)
2. `notify-send "Title" "Body"`
3. Right-click on the notification body

OBSERVED RESULT
Notification drops to the bottom right corner.

EXPECTED RESULT
The notification stays above the popup of the notifications bar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2020-05-06 08:07:58 UTC
The notification popup dodges whatever other Plasma dialog has focus. When you now right-click the notification, it becomes focus, and no longer tries to evade the popup behind it.
Comment 2 Unknown 2020-05-06 08:15:25 UTC
That makes sense, but it only happens with a right click, not a left click. Shouldn't left click exhibit the same behaviour?
Or a right click on the title bar?

(And I actually would prefer if the focus doesn't change - it is extremely jarring to me when elements move whilst I'm looking at them)
Comment 3 Kai Uwe Broulik 2020-05-06 08:32:58 UTC
No. A notification popup itself doesn't take focus (unless there's a quick reply text field), but the menu will.