DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Keyboard focus mode causes special workspaces to pop up when closing modals

Open mvpmp-git opened this issue 2 months ago • 2 comments

Description

Special workspaces are incorrectly popping up when closing DankModal or DankDashPopout (e.g., when closing the wallpaper selector). This appears to be caused by using WlrKeyboardFocus.Exclusive instead of WlrKeyboardFocus.OnDemand.

Affected Components

  1. DankDashPopout.qml (line 21)

    • File: Modules/DankDash/DankDashPopout.qml
    • Current: keyboardFocusMode: WlrKeyboardFocus.Exclusive
    • Should be: keyboardFocusMode: WlrKeyboardFocus.OnDemand
  2. DankModal.qml (line 91)

    • File: Modals/Common/DankModal.qml
    • Current: WlrKeyboardFocus.Exclusive
    • Should be: WlrKeyboardFocus.OnDemand

Steps to Reproduce

  1. Open DankDash wallpaper selector or any modal
  2. Close the modal/selector
  3. Observe special workspaces unexpectedly popping up

Proposed Fix

Change the keyboard focus mode from `Exclusive` to `OnDemand` in both files. This prevents the focus behavior from triggering special workspace visibility when the modal/popout closes.

Workaround

Temporary patches are available that apply this fix to the installed files, though they will be overwritten on update.

mvpmp-git avatar Nov 15 '25 21:11 mvpmp-git

I have work to address this in the wip/bar-mask branch. Needs more testing and some bug fixes before another release

bbedward avatar Nov 15 '25 23:11 bbedward

try this b5379a95fabbabd2950617af6b134c9f9c22234d

bbedward avatar Nov 16 '25 18:11 bbedward