quickshell-dots icon indicating copy to clipboard operation
quickshell-dots copied to clipboard

After screensaver the bar is gone

Open bsides opened this issue 5 months ago • 9 comments

Exactly the title and also after sleep/hibernate.

If it helps, qs command is throwing a warning:

` WARN: Quickshell was built against Qt 6.11.0 but the system has updated to Qt 6.11.1 without rebuilding the package. This is likely to cause crashes, so the quickshell package must be rebuilt.

Could not find "default" config directory or shell.qml in any valid config path.`

Maybe that could help the issue?

Let me know if I can help debuf further.

bsides avatar Jun 21 '26 09:06 bsides

Hello mate, yes i already working on a fix for that problem - but it has nothing really to do with the Quickshell re-build - it seems to be a problem for newer nvidia-cards.

Could you please use this shell.qml attachement and replace it - and could you also telling me what graphic-card your system has?

Please reply on this comment while testing the new shell.qml and gpu info - thank you!

shell.zip

HANCORE-linux avatar Jun 21 '26 11:06 HANCORE-linux

Hi @HANCORE-linux,

I solved it rebuilding quickshell-git with yay -S quickshell-git --rebult, do you need me to still run it?

About the gpu, I had some issues with my machine before so I'm using Omarchy with linux-Its now, which solved everything (bug was in Intel i915 thing).

My machine is a Alienware M16 R2, it has nvidia 4070 and intel cpu (so a internal gpu too)

Let me know what I can do, thank you

bsides avatar Jun 21 '26 12:06 bsides

Hello mate,

yes please - try to test sleep/hibernate and let also screensaver appear without my shell.qml fix - if its still happen, than use my fix and try again please - i really appreciate it and sorry for the inconvenience.

HANCORE-linux avatar Jun 21 '26 12:06 HANCORE-linux

Correction: the screensaver works fine, but after the screen going dark (guess it turns off after a while) QS is gone. I'm going to try with your file then, I assume I just throw it at ~/.config/quickshell/ right? I'll come back with the results. If you need any journalctl log lmk as well.

bsides avatar Jun 21 '26 12:06 bsides

shell.zip Yes, you need to replace it in ~/.config/quickshell/bar/ with the new one i gave you.

HANCORE-linux avatar Jun 21 '26 12:06 HANCORE-linux

~~With your file there it simply doesn't show the bar anymore unfortunately - I copied and restarted the system, no bar is shown. Is there any log I can show you to help solve it?~~

~~EDIT: Also I noticed waybar was there for a moment then went away~~ ~~EDIT2: This log may solve some stuff~~

bisso@omarchy ~> qs
  INFO: Launching config: "/home/bisso/.config/quickshell/shell.qml"
  INFO: Shell ID: "a5b69273a3c69f2142e27960b1fd33d4" Path ID "a5b69273a3c69f2142e27960b1fd33d4"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/tifm5gzgt/log.qslog"
  WARN quickshell.qmlscanner: Ignoring unresolvable import "/home/bisso/.config/quickshell/panels" from "/home/bisso/.config/quickshell/shell.qml"
 ERROR: Failed to load configuration
 ERROR:   caused by @shell.qml[123:13]: BarSlot is not a type

EDIT3: My bad, I had a file in ~/.config/quickshell/shell.qml that shouldnt be there. I restarted and it's working back. I'll wait until the sleep again and report back

EDIT4: Ok I'm back with the results, after sleep the bar is gone unfotunately and some logs for you

bisso@omarchy ~/.c/quickshell> qs log
[READER] Could not find "default" config directory or shell.qml in any valid config path.
bisso@omarchy ~/.c/quickshell [255]> qs
Could not find "default" config directory or shell.qml in any valid config path.

EDIT 5: ... and if I logout and log back in it came back to life. LMK how I can help further!

bsides avatar Jun 21 '26 12:06 bsides

Hey mate ,

just to get it right :

  • on if DP-1 disappears - and look in the bar come back to life?
  • if suspend / hibernate the bar still disappears?

Also feel free to reach me on discord

HANCORE-linux avatar Jun 21 '26 15:06 HANCORE-linux

I have Omarchy on the notebook but its display is off (I disabled it in monitors.conf) so I'm only using the display connected to the HDMI, probably only using NVIDIA card then. I don't know if that's the issue though. Is there a way to check what is killing the process? Where on discord may I contact you (what server)?

EDIT: Found your discord link in your github's profile ;)

bsides avatar Jun 21 '26 16:06 bsides

Closed with 6553da8 (released in v2.3.1): V1 bar now binds to the first real Wayland output via Variants, skips nameless/0x0 placeholder screens, and retries remapping on resourcesLost/closed without a full shell reload. Local checks covered S3 suspend/resume, manual lock/display-off, and the natural hypridle screensaver path.

HANCORE-linux avatar Jun 25 '26 11:06 HANCORE-linux