~scoopta/wofi#198: 
Improvement: Close wofi on → Click outside wofi

It would be nice to have an option to tell Wofi to close when the user clicks outside Wofi.

We could call it '--modal=y/n'.

Status
REPORTED
Submitter
~zeioth
Assigned to
No-one
Submitted
2 years ago
Updated
2 months ago
Labels
No labels applied.

~scoopta 2 years ago

This is an interesting idea but I'm not sure there's a way to implement it in practice? Once the mouse leaves wofi I don't believe there's any way to determine what it's doing.

~zeioth 2 years ago*

Would it be feasible to close wofi when the form loses focus?

~scoopta 1 year, 10 months ago

I don't believe layer surfaces have a concept of focus to begin with? I'll do some investigating(3 months later) and see if I can find a way to implement this. Please don't expect it to come in a timely fashion. I get bursts of motivation but then they disappear, as the main repo says, this project is basically in maintenance mode.

~andrew15_5 2 months ago

I'm also interested in on focus lost feature. CopyQ and MEGAsync does work like that, so I expect wofi also should be able to do this. Though whether MEGAsync runs in XWayland mode or not is another question.

~scoopta 2 months ago

having wofi close on focus loss(at least in normal window mode) isn't that difficult, detecting clicks outside of wofi doesn't appear possible as far as I can tell

Register here or Log in to comment, or comment via email.