clight-gui
clight-gui copied to clipboard
The gui is all grayed at startup
When opening the gui after a reboot the interface is all grayed out, even though clight and clightd are running. I have to close (full close not just to tray) the program and reopen it again for it to work.
I'm under arch-5.19.1-zen1-1-zen using clight-gui r91.079bd99
if it works when you reopen it it's probably a weird d-bus issue
There a few things you can do to debug but I have been a bit busy:
- busctl monitor when opening clight-gui
- run clight manually before opening clight-gui
Thanks! Well I seem to have some issues with clightd (I have another issue opened there). So I'll try to figure out what's wrong over there first and come back to this issue either to close it or to continue debugging.
Same problem. What is your issue with clightd, can you link it?
Well my issue is because the ALS sensor isn't working. So might not be related https://github.com/FedeDP/Clightd/issues/88.
Thanks. In the meantime of figured that the UI stayed disabled because clight
(not clightd
) was not yet available on my system.
I have the same issue as @guillaumeboehm. When I restart the clightd service and clight-gui the tabs of the gui aren't grayed out anymore.
I can probably debug this later but I've been busy with other things. I have a feeling the culprit is probably here: https://github.com/nullobsi/clight-gui/blob/079bd990b78b200216198d58a4df9a5757606726/src/gui/MainWindow.cpp#L46 My guess is that it launches when clight is not yet running/initalized fully so it disables all the tabs. Perhaps there should be a "startup delay" option? Or I can try to make it wait for clight...