DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Can't dismiss widgets / modals / popups

Open JonathanReeve opened this issue 7 months ago • 3 comments

Compositor

Hyprland

Distribution

NixOS

If Other, please specify

No response

Select your Installation Method

Distro Packaging

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: NixOS 26.05 (Yarara)
    • Supported for runtime (install via NixOS module or Flake)
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms 1.5-beta+date=2026-04-07_32c063a
    • /nix/store/p8d6qx43hib4fxlif8clf61gn1dv3bin-dms-shell-1.5-beta+date=2026-04-07_32c063a/bin/.dms-wrapped
  • [ok] Quickshell: quickshell 0.2.1, revision 41828c4180fb921df7992a5405f5ff05d2ac2fff, distributed by: Official-Nix-Flake
    • /etc/profiles/per-user/jon/bin/qs
  • [ok] DMS Shell: 1.5-beta+date=2026-04-07_32c063a
    • /nix/store/p8d6qx43hib4fxlif8clf61gn1dv3bin-dms-shell-1.5-beta+date=2026-04-07_32c063a/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /nix/store/p8d6qx43hib4fxlif8clf61gn1dv3bin-dms-shell-1.5-beta+date=2026-04-07_32c063a/share/quickshell/dms
  • [ok] shell.qml: Present
    • /nix/store/p8d6qx43hib4fxlif8clf61gn1dv3bin-dms-shell-1.5-beta+date=2026-04-07_32c063a/share/quickshell/dms/shell.qml
  • [info] Install Type: Nix store
    • /nix/store/p8d6qx43hib4fxlif8clf61gn1dv3bin-dms-shell-1.5-beta+date=2026-04-07_32c063a/share/quickshell/dms

Compositor

  • [ok] Hyprland: 0.54.3
    • /etc/profiles/per-user/jon/bin/hyprland
  • [ok] Sway: 1.11
    • /etc/profiles/per-user/jon/bin/sway
  • [info] Active: Hyprland

Quickshell Features

  • [ok] Polkit: Available
    • Authentication prompts
  • [ok] IdleMonitor: Available
    • Idle detection
  • [ok] IdleInhibitor: Available
    • Prevent idle/sleep
  • [ok] ShortcutInhibitor: Available
    • Allow shortcut management (niri)

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [ok] power-profiles-daemon: Available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [warn] cups-pk-helper: Not available (install cups-pk-helper)
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (4 formats)
    • Formats: WebP, TIFF, JP2, ICNS (/nix/store/92l5lp25rq5xdpjplqjygsdi043dlzmh-qtimageformats-6.10.1/lib/qt-6/plugins/imageformats)
  • [ok] kimageformats: Installed (4 formats)
    • Formats: AVIF, HEIF, JXL, EXR (/nix/store/aa5g3f0vqgdlk4fy21aia3if74672aw9-kimageformats-6.23.0/lib/qt-6/plugins/imageformats)
  • [ok] Terminal: alacritty, foot
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [ok] khal: Installed
    • Calendar events
  • [info] danksearch: Not installed
    • File search
  • [info] fprintd: Not installed
    • Fingerprint auth

Config Files

  • [warn] settings.json: Present (read-only)
    • /home/jon/.config/DankMaterialShell/settings.json
  • [info] clsettings.json: Not yet created
    • /home/jon/.config/DankMaterialShell/clsettings.json
  • [warn] plugin_settings.json: Present (read-only)
    • /home/jon/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/jon/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/jon/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [info] greetd: Not installed
    • Optional greeter service

Environment

  • [info] QT_QPA_PLATFORMTHEME: adwaita
  • [info] QS_ICON_THEME: Not set

Summary: 0 error(s), 3 warning(s), 28 ok

Description

In DankBar, when I open a modal (or widget, or popup, not exactly sure about the nomenclature) like the weather one, or the clipboard one, or the one with the wifi / bluetooth settings, I can't dismiss it in the usual ways. I expect that clicking to open the menu will also click to dismiss the menu (i.e., for the default behavior to be toggle, rather than just open), but it just opens with no way to close it. If I click outside the modal, like on the desktop or in another application, it also does not dismiss the modal, as I expect it to.

I don't really have any configuration apart from what's in the default nixos / home-manager module.

Expected Behavior

(1) Clicking to open a widget modal menu should toggle, rather than just open, that menu (2) Clicking anywhere outside the widget's modal menu should close the menu

Steps to Reproduce

  1. Install DMS using the home-manager module
  2. Click any widget in DankBar
  3. Click the widget again
  4. Notice that there's no way to dismiss the widget's modal menu. It stays open no matter what
  5. Try clicking outside the modal menu
  6. Notice that the menu still hasn't closed

Error Messages/Logs

No response

Screenshots/Recordings

No response

JonathanReeve avatar Apr 10 '26 18:04 JonathanReeve

This seems to have been mitigated somewhat, however undesirable behaviours still persists.

  1. Click to open a DankBar widget
  2. Click away to a a window on an external display connected via HDMI

expected behaviour: DankBar widgets dismiss themselves whenever a user clicks away

actual behaviour: the DankBar widget is not dismissed and in some cases windows (e.g. firefox) will not accept input until the DankBar widget is manually dismissed.

rnw avatar Jul 12 '26 01:07 rnw

@JonathanReeve I can't reproduce this in the latest version, can you retest?

@rnw what you are reporting is a different issue: https://github.com/duxlabs-dev/dux-shell/issues/1863

apollo79 avatar Oct 22 '26 10:10 apollo79

Nope, I haven't seen this issue in the latest version. I'll close it.

JonathanReeve avatar Nov 02 '26 01:11 JonathanReeve