DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Modal windows do not have keyboard focus

Open bokicoder opened this issue 1 year ago • 8 comments

Compositor

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

Description

Multiple modal windows fail to receive keyboard input. The most severe issue I've found is with the clipboard, and notifications also have some problems. There might be more windows affected.

Related https://github.com/AvengeMedia/DankMaterialShell/issues/375

bokicoder avatar Oct 10 '25 17:10 bokicoder

Focusing can be achieved by clicking various buttons on the window, but it works sometimes and not others

bokicoder avatar Oct 10 '25 17:10 bokicoder

I think taken care of 01a42ff33008507eabb6a04537a2ce21f51b3b59

bbedward avatar Oct 10 '25 17:10 bbedward

There is an issue with the notification window; it doesn't have keyboard focus the first time it's opened, but closing and reopening it resolves the problem

bokicoder avatar Oct 10 '25 18:10 bokicoder

The clipboard is working perfectly fine

bokicoder avatar Oct 10 '25 18:10 bokicoder

Additionally: The notification window refers to the window displayed by the dms ipc call notifications toggle command

bokicoder avatar Oct 10 '25 18:10 bokicoder

Think - this is fixed 080b7a28b125c04ef32811a50188e8ed926642d1

bbedward avatar Oct 10 '25 19:10 bbedward

Okay, I've found another issue with the clipboard. After I click the clear icon in the upper-right corner of the clipboard window and then confirm in the confirmation dialog, the clipboard window loses keyboard focus again.

bokicoder avatar Oct 11 '25 06:10 bokicoder

Okay, I've found another issue with the clipboard. After I click the clear icon in the upper-right corner of the clipboard window and then confirm in the confirmation dialog, the clipboard window loses keyboard focus again.

@bbedward Would you mind fixing this?

bokicoder avatar Oct 11 '25 17:10 bokicoder