Skip to content

Focused Window widget displays nothing in compact mode when window has no title #2005

@MolotovCherry

Description

@MolotovCherry

Compositor

Niri

Distribution

CachyOS

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

**Versions**
- [ok] DMS CLI: dms v1.4.3
  - /usr/bin/dms
- [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
  - /usr/bin/qs
- [ok] DMS Shell: v1.4.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] niri: 25.11
  - /usr/bin/niri
- [info] Active: niri

**Quickshell Features**
- [info] Polkit: Not available
  - Authentication prompts
- [info] IdleMonitor: Not available
  - Idle detection
- [info] IdleInhibitor: Not available
  - Prevent idle/sleep
- [info] ShortcutInhibitor: Not 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
- [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/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: alacritty
- [ok] Network: NetworkManager
  - NetworkManager present. Using NM API.
- [ok] matugen: Installed
  - Dynamic theming
- [ok] dgop: Installed
  - System monitoring
- [ok] cava: Installed
  - Audio visualizer
- [info] khal: Not installed
  - Calendar events
- [ok] danksearch: Installed
  - File search
- [info] fprintd: Not installed
  - Fingerprint auth

**Config Files**
- [ok] settings.json: Present
  - /home/cherry/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
  - /home/cherry/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
  - /home/cherry/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
  - /home/cherry/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
  - /home/cherry/.cache/DankMaterialShell/dms-colors.json

**Services**
- [ok] dms.service: enabled, active
- [ok] greetd: enabled

**Environment**
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [info] QS_ICON_THEME: Not set

---
**Summary:** 0 error(s), 1 warning(s), 27 ok

Description

For the Focused Window widget:

In full size mode, when window has no window title, only the app name is displayed as it should be.

But when compact mode is switched on, it displays nothing which is visually jarring.

Expected Behavior

Not sure the best intended solution here, but probably hiding it completely would work I guess.

Or maybe display the app name in only this specific circumstance? (But I'm not sure about this solution since it breaks expectation- we are only displaying titles, and now displaying app name as an exception, which is kinda strange)

Steps to Reproduce

1, add focused window widget
2, set to compact mode
3, focus on app which has no title (I used Signal as an example)

Error Messages/Logs

No response

Screenshots/Recordings

Full size mode and no window title, looks fine
Image

Compact mode and no window title, it's just empty
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions