DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

DMS in-built screenshot tool can be launched multiple times

Open Everything2067 opened this issue 3 months ago • 0 comments

Compositor

Niri

Distribution

Arch Linux

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: Arch Linux
    • ID: arch, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.6.0
    • /usr/bin/dms
  • [ok] Quickshell: Quickshell 0.3.1 (revision , distributed by Arch Linux)
    • /usr/bin/qs
  • [ok] DMS Shell: v1.6.0
    • /run/user/1000/danklinux-shell/9d4a9fd2ce270115

Installation

  • [ok] DMS Configuration: Found
    • /run/user/1000/danklinux-shell/9d4a9fd2ce270115
  • [ok] shell.qml: Present
    • /run/user/1000/danklinux-shell/9d4a9fd2ce270115/shell.qml
  • [info] Install Type: Unknown
    • /run/user/1000/danklinux-shell/9d4a9fd2ce270115

Compositor

  • [ok] Hyprland: 0.56.2
    • /usr/bin/hyprland
  • [ok] niri: 26.04
    • /usr/bin/niri
  • [ok] labwc: 0.20.2
    • /usr/bin/labwc
  • [info] Active: niri
  • [ok] Background Blur: Supported
    • Compositor supports ext-background-effect-v1

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)
  • [ok] BackgroundBlur: Available
    • Background blur API support in Quickshell

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [warn] power-profiles-daemon: Not available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [ok] cups-pk-helper: Available
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (5 formats)
    • Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib/qt/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [ok] kimageformats: Installed (4 formats)
    • Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [ok] Terminal: kitty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] cava: Installed
    • Audio visualizer
  • [info] khal: Not installed
    • Calendar events
  • [ok] danksearch: Installed
    • File search
  • [ok] dankcalendar: Installed
    • Calendar app
  • [info] fprintd: Not installed
    • Fingerprint auth
  • [ok] adw-gtk3: Installed
    • GTK3 dynamic theming (system copy, applied on next theme apply)

Config Files

  • [ok] settings.json: Present
    • /home/anand/.config/DankMaterialShell/settings.json
  • [ok] clsettings.json: Present
    • /home/anand/.config/DankMaterialShell/clsettings.json
  • [ok] plugin_settings.json: Present
    • /home/anand/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/anand/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/anand/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [ok] greetd: enabled

Environment

  • [info] QT_QPA_PLATFORMTHEME: Not set
  • [info] QT_QPA_PLATFORMTHEME_QT6: Not set
  • [info] QS_ICON_THEME: Not set
  • [info] XDG_MENU_PREFIX: Not set

Fonts

  • [ok] Normal Font: Rubik
    • Available via fontconfig
  • [ok] Monospace Font: FiraCode Nerd Font
    • /run/user/1000/danklinux-shell/9d4a9fd2ce270115/DankCommon/assets/fonts/nerd-fonts/FiraCodeNerdFont-Regular.ttf

Summary: 0 error(s), 1 warning(s), 38 ok

Description

The built-in screenshot tool (NOT of the compositor) can be launched multiple times, while it should launch only once. This happens by either running dms screenshot multiple times, or if a keybind is set, holding down the keybind (repeat = on).

I've attached a video, showing both methods.

Expected Behavior

No response

Steps to Reproduce

There are two methods I know:

  1. Either run dms screenshot & sleep 1; dms screenshot
  2. Set a keybind to DMS action (Screenshot: Region) with repeat on. Now hold that keybind.

Error Messages/Logs

No response

Screenshots/Recordings

https://github.com/user-attachments/assets/8dd0e5dc-b53b-4579-8712-9b5c016a4f5a

Everything2067 avatar Sep 04 '26 13:09 Everything2067