Bug 381244 - Notifications are not dismissed when clicked on
Summary: Notifications are not dismissed when clicked on
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.10.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-15 19:45 UTC by Nikolaos Kakouros
Modified: 2017-11-01 15:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
kde: VisualDesign+


Attachments
firefox download panel (91.95 KB, image/png)
2017-06-15 19:52 UTC, Nikolaos Kakouros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaos Kakouros 2017-06-15 19:45:17 UTC
Up to some point, notifications would be dismissed when you clicked on them. That was really useful notifications would popup while you were working on sth and often they would get in the way. You just clicked them and you were ready to continue with you work. Now, you have to aim for the small red x icon, which is much slower and more frustrating, especially on laptops without an external mouse.
Comment 1 Kai Uwe Broulik 2017-06-15 19:48:59 UTC
That's intentional. Clicking the notification will now invoke the default action if there is one. Granted, we don't use it that often yet but 3rd party apps happily do so. If there isn't, it will not do anything, to avoid confusion (actioning vs just closing).
Comment 2 Nikolaos Kakouros 2017-06-15 19:52:16 UTC
Created attachment 106117 [details]
firefox download panel
Comment 3 Nikolaos Kakouros 2017-06-15 19:53:58 UTC
Is there a possibility to make the dismiss button much larger for usability reasons? I attached an image showing a redesign of the download panel of firefox. It used to have "action" buttons (eg open folder) similar to the red x button plasma has in the notifications. They changed it to a much larger rectangular area.
Comment 4 Kai Uwe Broulik 2017-06-15 22:18:34 UTC
Interesting idea. I think OS X also places a dedicated full height "Close" button there instead of a tiny X. Visual design group is currently redesigning notification, I'll ask them to improve usability a bit in this area. Thanks.
Comment 5 AndyKluger 2017-06-16 00:02:40 UTC
To mitigate the frustration introduced by this change, is there an existing way to dismiss notifications with the keyboard?
Comment 6 AndyKluger 2017-11-01 15:41:57 UTC
In case anyone ends up here needing a method to close the notification without superfine motor skills, I'm using a custom global shortcut to trigger this script:

#!/bin/sh
x=$(xdotool getmouselocation | cut -f 1 -d ' ' | cut -f 2 -d ':')
y=$(xdotool getmouselocation | cut -f 2 -d ' ' | cut -f 2 -d ':')
xdotool mousemove 1865 110
xdotool click 1
xdotool mousemove $x $y