Skip to content

Notifications: Make PlasmoidHeading transparent for input

It's a QQC2 ToolBar which is a QQC2 Control which by default accepts mouse events. This breaks the default action handler in the notification popup, neither showing the correct (pointing hand) cursor, nor reacting to clicks. Only the notification body would.


@mart @niccolove and thanks @vkrause for the Q_GADGET tricks

  • Pointing hand cursor is properly shown for actionable notification popups
  • Can click the header area again
  • Close / configure button inside the header still behave as they should

Cannot use plasmoid.nativeInterface here, so I did a tiny singleton instead.

Edited by Kai Uwe Broulik

Merge request reports