AvengeMedia / AvengeMedia/DankMaterialShell

Widgets can be clicked through overlay when spawned from bar

Open
#1,321 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

### Compositor

- [x] Niri
- [ ] Hyprland
- [ ] MangoWC (dwl)
- [ ] Sway

### Distribution

- [ ] Arch Linux
- [ ] CachyOS
- [x] Fedora
- [ ] NixOS
- [ ] Debian
- [ ] Ubuntu
- [ ] Gentoo
- [ ] OpenSUSE
- [ ] Other (specify below)

### If Other, please specify

_No response_

### dms version

1.0.3

### Description

When clicking menu bar widgets that open overlays, such as power menu, the widget that caused the overlay to spawn is still re-clickable through the overlay until you move the mouse

### Expected Behavior

Widgets are not clickable through overlays

### Steps to Reproduce & Installation Method

1. add power menu widget to bar
2. click on power menu widget
3. click on power menu widget again without moving cursor
4. compare to clicking on power menu widget, and then moving cursor, and then clicking

### Error Messages/Logs

_No response_

### Screenshots/Recordings

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the power-menu overlay behavior on Niri with Fedora using dms 1.0.3, following the listed steps and comparing clicks with and without moving the cursor. Trace the bar widget and overlay interaction handling, then verify that the widget cannot be clicked through the overlay without moving the pointer.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.