AvengeMedia / AvengeMedia/DankMaterialShell
Window open removes other open window in current workspace
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Hyprland
### Distribution
Arch Linux
### If Other, please specify
_No response_
### Select your Installation Method
DankInstaller
### 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.5.3
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.2.1 (revision 6a244c3c560b45f3b860ed6c0fc54d0291ab6f57, distributed by AUR (package: quickshell-git))
- /usr/bin/qs
- [ok] DMS Shell: v1.5.3
- /usr/share/quickshell/dms
**Installation**
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms
**Compositor**
- [ok] Hyprland: 0.56.1
- /usr/bin/hyprland
- [ok] niri: 26.04
- /usr/bin/niri
- [info] Active: Hyprland
- [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
- [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 (5 formats)
- Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [warn] kimageformats: Not installed
- AVIF, HEIF, JXL support
- [ok] Terminal: ghostty, kitty, 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
- [ok] danksearch: Installed
- File search
- [ok] dankcalendar: Installed
- Calendar app
- [info] fprintd: Not installed
- Fingerprint auth
**Config Files**
- [ok] settings.json: Present
- /home/scarcekoi/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/scarcekoi/.config/DankMaterialShell/clsettings.json
- [info] plugin_settings.json: Not yet created
- /home/scarcekoi/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/scarcekoi/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/scarcekoi/.cache/DankMaterialShell/dms-colors.json
**Services**
- [ok] dms.service: enabled, active
- [info] greetd: disabled
**Environment**
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [info] QS_ICON_THEME: Not set
- [info] XDG_MENU_PREFIX: arch-
**Fonts**
- [warn] Normal Font: 'Inter Variable' not found
- Font is not registered. Try running 'fc-cache -fv' or install the font.
- [ok] Monospace Font: Fira Code
- Available
---
**Summary:** 0 error(s), 4 warning(s), 33 ok
### Description
Just updated DMS and had it replace hyprland config. It has a bug where if I open more than 1 window in a workspace, it closes the previous open one. If I remove `require("dms.binds")` or comment it out, the bug goes away.
### Expected Behavior
The new window to open and for the first one to stay open.
### Steps to Reproduce
1. Open a window.
2. Open another window.
3. The first window is closed and replaced with the second.
### Error Messages/Logs
_No response_
### Screenshots/Recordings
https://github.com/user-attachments/assets/553cb5ab-477e-48df-b3ac-6fb22d851074
Contributor guide
Research direction
Inspect the dms.binds entry point and the Hyprland configuration generated by DMS, since the report says removing require("dms.binds") avoids the issue. Reproduce by opening two windows in one workspace with the generated configuration, then verify that both remain open while the bindings are loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100