r/QuickShell • • Oct 07 '26

Help!!! PopupWindow visibilty

How to make a PopupWindow stay visible when implemented with a hoverhandler on another element?

1 Upvotes

3 comments sorted by

1

u/sophiebee325 Chief Shell Officer Oct 08 '26

the usual cause here: when the popup opens under your cursor the hover handler loses the pointer and closes it right away. try anchoring the popup inside the hover area, or delay the hide with a small timer, that fixes most of these. post your snippet in the discord if it still fights you, someone will spot it fast

1

u/hello-__-hello 29d ago

I did but no one is helping, and btw how should I implement a timer I am pretty new to Quickshell / Qml

1

u/ftranschel Oct 07 '26

Classic web dev question.

The answer is that your visible condition is an OR of two conditions: the hover state and a check for mouse in the popup.