DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

[BUG] Pressing ESC to exit notification modal stops futher notification popups

Open kevb1973 opened this issue 1 year ago • 2 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] Other (specify)

Description

When using ipc call notification toggle, pressing the ESC key to exit the modal instead of the toggle will result in further notifications going straight to the notification manager without popping up on screen.

Using the toggle call again will fix the issue.

Expected Behavior

Pressing ESC in the modal should exit the same way calling toggle does.

Steps to Reproduce

From terminal:

  1. notify-send 'test' (verify notification shows)
  2. qs -c ~/DankMaterialShell ipc call notifications toggle
  3. Press ESC to exit modal
  4. notify-send 'test' (notification doesn't show on screen, but will be listed in modal)
  5. qs -c ~/DankMaterialShell ipc call notifications toggle 2x (resets to correct state)
  6. notify-send 'test' (verify notification shows again)

Seems like ESC is leaving something in an incorrect state.

kevb1973 avatar Aug 27 '25 02:08 kevb1973

Fixed now

bbedward avatar Aug 27 '25 03:08 bbedward

Confirmed. Thanks!

kevb1973 avatar Aug 27 '25 03:08 kevb1973