DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

[BUG] Log Text/Graphic overlay on start

Open kevb1973 opened this issue 1 year ago • 4 comments

Description

On start, I'm getting what looks like startup log but in the form of a notification. Unlike regular notifications, it's in the top/center of the screen overlaying the clock. It's partially transparent, so it's a bit difficult to read. It disappears after a few seconds.

Error Messages/Logs

  ~ ❯ qs -v -c ~/Code/DankMaterialShell
  INFO: Launching config: "/home/kev/Code/DankMaterialShell/shell.qml"
  INFO: Shell ID: "bc54efaf7c4fc8dfd35d7de920694559" Path ID "bc54efaf7c4fc8dfd35d7de920694559"
  INFO quickshell.crashhandler: Crash handler initialized.
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/jh4en6j1t/log.qslog"
  INFO quickshell.logging: Saving detailed logs to "/run/user/1000/quickshell/by-id/jh4en6j1t/log.log"
  INFO quickshell.ipc: Started IPC server on path "/run/user/1000/quickshell/by-id/jh4en6j1t/ipc.sock"
  INFO quickshell.tooling: Acquired tooling support lock
  INFO quickshell.tooling: Not enabling QML tooling support, qmlls.ini is missing at path "/home/kev/Code/DankMaterialShell/.qmlls.ini"
  INFO quickshell.service.pipewire.loop: Creating pipewire event loop.
  INFO quickshell.service.pipewire.loop: Connecting to pipewire server.
  INFO quickshell.service.pipewire.loop: Linking pipewire event loop.
  WARN: $HYPRLAND_INSTANCE_SIGNATURE is unset. Cannot connect to hyprland.
  INFO quickshell.service.notifications: Starting notification server
  INFO quickshell.service.notifications: Registered notification server with dbus.
  INFO: Configuration Loaded
  INFO quickshell.desktopentry: Multiple desktop entries have the same lowercased id "waypaper". This can cause ambiguity when byId requests are not made with the correct case already.
 DEBUG qml: Fetching weather from: wttr.in/43.8975558%2C-78.8635324?format=j1
  WARN quickshell.dbus.properties: Error updating properties of org.mpris.MediaPlayer2.playerctld/org/mpris/MediaPlayer2/org.mpris.MediaPlayer2 via GetAll
  WARN quickshell.dbus.properties: QDBusError("com.github.altdesktop.playerctld.NoActivePlayer", "No player is being controlled by playerctld")
  WARN quickshell.dbus.properties: Error updating properties of org.mpris.MediaPlayer2.playerctld/org/mpris/MediaPlayer2/org.mpris.MediaPlayer2.Player via GetAll
  WARN quickshell.dbus.properties: QDBusError("com.github.altdesktop.playerctld.NoActivePlayer", "No player is being controlled by playerctld")
 DEBUG qml: SessionService: Elogind detection exited with code 1
 DEBUG qml: BrightnessService: ddcutil detected
 DEBUG qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.3042.sock
 DEBUG qml: Detected distribution: NixOS 25.11 (Xantusia)
 DEBUG qml: Adding ref for module: cpu count: 1
 DEBUG qml: Adding ref for module: memory count: 1
 DEBUG qml: Adding ref for module: network count: 1
 DEBUG qml: Found session path: /org/freedesktop/login1/session/_37
  INFO quickshell.service.pipewire.defaults: Default configured sink name changed to "alsa_output.pci-0000_2f_00.4.analog-stereo"
  INFO quickshell.service.pipewire.defaults: Default configured sink changed to PwNode(0x7f30a3544ca0, id=54/bound)
  INFO quickshell.service.pipewire.defaults: Default sink name changed to "alsa_output.pci-0000_2f_00.4.analog-stereo"
  INFO quickshell.service.pipewire.defaults: Default sink changed to PwNode(0x7f30a3544ca0, id=54/bound)
  INFO quickshell.service.pipewire.defaults: Default source name changed to "alsa_output.pci-0000_2f_00.4.analog-stereo"
  INFO quickshell.service.pipewire.defaults: Default source changed to PwNode(0x7f30a3544ca0, id=54/bound)
  INFO quickshell.service.pipewire.registry: Initial state sync complete.
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544e60, id=31/bound)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544bc0, id=32/bound)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544d80, id=48/bound)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544ca0, id=54/bound)
  INFO quickshell.service.pipewire.node: Got updated channels of PwNode(0x7f30a3544ca0, id=54/bound) - QList(qs::service::pipewire::PwAudioChannel::FrontLeft, qs::service::pipewire::PwAudioChannel::FrontRight)
  INFO quickshell.service.pipewire.node: Got updated volumes of PwNode(0x7f30a3544ca0, id=54/bound) - QList(0.490005, 0.490005)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544a00, id=55/bound)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544920, id=51/bound)
  INFO quickshell.service.pipewire.node: Got updated channels of PwNode(0x7f30a3544840, id=41/bound) - QList(qs::service::pipewire::PwAudioChannel::FrontLeft, qs::service::pipewire::PwAudioChannel::FrontRight)
  INFO quickshell.service.pipewire.node: Got updated volumes of PwNode(0x7f30a3544840, id=41/bound) - QList(1, 1)
  INFO quickshell.service.pipewire.node: Completed initial sync for PwNode(0x7f30a3544840, id=41/bound)
 DEBUG qml: BrightnessService: No DDC displays found
 DEBUG qml: Weather updated: Lake Titicaca 21°C

Screenshots/Recordings

Image

kevb1973 avatar Aug 25 '25 04:08 kevb1973

It's a toast error, but I'm not sure why yours is illegible. Or erronously showing without text. On startup its either niri config failed to load or matugen error. But nothing in the logs really indicates anything

bbedward avatar Aug 25 '25 04:08 bbedward

I went back in git to see where the error started happening. If I go back to 1d68caec the error doesn't occur.

This commit seems to be causing the issue:

commit d3427c7b19313bfb04d1dc7f9fdc8a810a4cbbed (HEAD)                                  
Merge: 9862636 1d68cae                                                                  
Author: bbedward <[email protected]>                                                   
Date:   Sun Aug 24 12:06:25 2025 -0400                                                  
                                                                                        
    Merge branch 'master' of github.com:bbedward/DankMaterialShell                      
                                                                                        
 Common/SettingsData.qml          |  19 ++-                                             
 Modals/SettingsModal.qml         |  19 ++-                                             
 Modules/Settings/DisplaysTab.qml | 349 ++++++++++++++++++++++++++++++++++++++++++++++++
 Modules/WallpaperBackground.qml  |   2 +-                                              
 Services/NetworkService.qml      |   2 +-                                              
 shell.qml                        |  17 +--                                             
 6 files changed, 394 insertions(+), 14 deletions(-)                                    

kevb1973 avatar Aug 25 '25 04:08 kevb1973

I'm not sure how to reproduce it tbh, the toast style is bad though that's for sure. It looks like something is triggering an error toast with no content.

bbedward avatar Aug 25 '25 14:08 bbedward

I just pulled the latest changes and the issue seems to be resolved with this commit. 👍

commit 4a0825e27f148c309b13414cc5a6a02a80a0d33e                                         
Author: bbedward <[email protected]>                                                   
Date:   Mon Aug 25 10:19:00 2025 -0400                                                  
                                                                                        
    fix toast style                                                                     
---                                                                                     
 Modules/Toast.qml | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 57 insertions(+), 9 deletions(-)                                       

I'll go ahead and close this issue.

kevb1973 avatar Aug 25 '25 15:08 kevb1973