Skip to content

Stringing mouse action together results in action/context not working #778

Description

@DmitriK

I noticed that as of dunst v1.5.0, my middle mouse click context menu stopped working. Specifically, pressing the middle mouse button on a notification results in the notification closing with nothing happening. Keyboard shortcuts for the context menu still work though. Actually got around to debugging it today, and was able to determine the multiple command setting of mouse_middle_click = do_action, close_current in the configuration causes the issue. If I remove the close_current, the context menu shows up just fine.

To test I've been using this command I that I saw when looking at other issues:
dunstify --action="replyAction,reply" --action="closeAction,close" "Message received"

I ran dunst with dunst -print -verbosity debug to see if there is any information there. I do see a small difference in the log depending on the configuration, though I'm not sure if it would be much help. I've stripped out the Screen change and ignored XEvents, as well as the common set of events:

mouse_middle_click = do_action, close_current:

DEBUG: XEvent: processing 'Expose'
DEBUG: XEvent: processing 'ButtonRelease'
DEBUG: RUN
DEBUG: RUN

mouse_middle_click = do_action:

DEBUG: XEvent: processing 'Expose'
DEBUG: XEvent: processing 'ButtonRelease'
DEBUG: RUN
DEBUG: XEvent: processing 'CreateNotify'
DEBUG: RUN
DEBUG: RUN

Installation info

  • Version: 1.5.0 (2020-07-23)
  • Install type: package
  • Distro and version: Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions