Cannot delete bar when 2 bars exist and one is an island
A pull request for this has already been merged.
- #3943 by @hthienloc — merged
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- desktop
Research direction
Start in the bar settings UI and trace the condition that controls whether the delete button is shown when one bar is an island and there are two bars. Reproduce by setting one bar to island mode and adding a second bar; done when the delete button remains available for the second bar regardless of bar mode.
Written by the indexing model from the issue text.
Description
Compositor
Hyprland
Distribution
Arch Linux
If Other, please specify
No response
Select your Installation Method
Source
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 v2.0.0-45-g6f36e49c6
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.2 (revision 2b4501a282689792b62e94f3fb30d8f512324fe6, distributed by AUR (package: quickshell-git))
- /usr/bin/qs
- [ok] DMS Shell: v2.0.0
- /run/user/1000/dms-shell/768e2545fc5476c5
Installation
- [ok] DMS Configuration: Found
- /run/user/1000/dms-shell/768e2545fc5476c5
- [ok] shell.qml: Present
- /run/user/1000/dms-shell/768e2545fc5476c5/shell.qml
- [info] Install Type: Unknown
- /run/user/1000/dms-shell/768e2545fc5476c5
Compositor
- [ok] Hyprland: 0.56.2
- /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, Aqueous)
- [ok] BackgroundBlur: Available
- Background blur API support in Quickshell
Optional Features
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [ok] cups-pk-helper: Available
- Printer management
- [ok] I2C/DDC: 1 monitor(s) detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (4 formats)
- Formats: WebP, TIFF, GIF, 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/danicatgames/.config/dms/settings.json
- [ok] clsettings.json: Present
- /home/danicatgames/.config/dms/clsettings.json
- [ok] plugin_settings.json: Present
- /home/danicatgames/.config/dms/plugin_settings.json
- [ok] session.json: Present
- /home/danicatgames/.local/state/dms/session.json
- [ok] dms-colors.json: Present
- /home/danicatgames/.cache/dms/dms-colors.json
Services
- [ok] dms.service: enabled, active
- [ok] greetd: enabled
- [ok] xdg-desktop-portal: Settings portal reachable
Environment
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [ok] qt6ct plugin (Qt6): Installed
- /usr/lib/qt6/plugins/platformthemes/libqt6ct.so
- [info] QT_QPA_PLATFORMTHEME_QT6: qt6ct
- [info] QS_ICON_THEME: Not set
- [info] XDG_MENU_PREFIX: Not set
Fonts
- [ok] Normal Font: Noto Sans
- Available via fontconfig
- [ok] Monospace Font: JetBrainsMono NF
- Available via fontconfig
- [ok] Display Font: Noto Sans
- Available via fontconfig
Summary: 0 error(s), 0 warning(s), 42 ok
Description
When 2 bars exist, and one of them is an island, there is no delete button to delete one of the bars. The delete button reappears when more than 2 non-island bars exist, or when the non-island bar is toggled to another bar type (frame/island) the delete button also appears and stays even when toggling back to the standard mode.
Expected Behavior
The delete button should always appear regardless of what mode the bars are using.
Steps to Reproduce
Have only one bar set to island mode, then add a second bar. Observe the delete button for the second bar disappearing/reappearing depending on the amount of bars and bar settings.
Error Messages/Logs
No response
Screenshots/Recordings
https://github.com/user-attachments/assets/9f8743f1-c3f8-431e-8182-f8e4ceb3c1ef
- Dominant language
- QML
- Stars
- 8.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AvengeMedia/DankMaterialShell
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AvengeMedia/DankMaterialShell#3946 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AvengeMedia/DankMaterialShell#3940 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AvengeMedia/DankMaterialShell#3931 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvengeMedia/DankMaterialShell#3918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
AvengeMedia/DankMaterialShell#3915 ·
All issues in AvengeMedia/DankMaterialShell
Similar issues
-
bug from-studio
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
esengine/DeepSeek-Reasonix#14608 ·
Maintainers usually reply within 1 day
-
自定义颜色添加为常用颜色Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mg-chao/snow-apps#2227 · 2 comments ·
Maintainers usually reply within 1 day
-
kind:bug status:triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
[Bug]: IME confirmation Enter can submit the SSH port-forward dialogPossibly taken @seijikohara claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
enhancement ui
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
userFRM/egui-charts#1012 ·
Maintainers usually reply within 1 day