Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to support touchscreen? #370

Open
lVentus opened this issue Jun 16, 2024 · 5 comments
Open

Possibility to support touchscreen? #370

lVentus opened this issue Jun 16, 2024 · 5 comments

Comments

@lVentus
Copy link

lVentus commented Jun 16, 2024

Because now we can't wake onScreenKeyboard, when using hyprlock without keyboard, we can't unlock it. Any possibility to use OSK in hyprlock, or provide a 9 dots method like in phone, which allow us to draw some lines as password to login?

@vaxerski
Copy link
Member

9 dots method would work without any work from the hl side. Technically, no protocol as of right now allows for an OSK over a lockscreen, unless the lockscreen itself provides an osk.

@lVentus
Copy link
Author

lVentus commented Jun 19, 2024

9 dots method would work without any work from the hl side. Technically, no protocol as of right now allows for an OSK over a lockscreen, unless the lockscreen itself provides an osk.

Sorry, I didn't understand. How can I implement a 9 dots? as widgets?

@vaxerski
Copy link
Member

I meant without any code needing to change in hyprland. You'd still need to write the code in hyprlock for the 9 dots.

@yadobler
Copy link

yadobler commented Jun 24, 2024

I noticed this from the wayland protocol website for ext_session_lock_v1

The only surfaces that should be rendered while the session is locked are the lock surfaces created through this interface and optionally, at the compositor's discretion, special privileged surfaces such as input methods or portions of desktop shell UIs.

Also from here, looks like layer-shell surfaces can be drawn above the lockscreen surface.

I do know that my current setup involves hyprland starting with exec-once = hyprlock. I also have a script that hyprctl plugins load the hyprbar library, which results in a "plugin loaded successfully!" popup on the top right. This script also exec-onces, so what happens is the popup is drawn above the hyprlock surface, with the full animation (my current hyprlock surface is a solid black screen, that's another issue). Would something like squeakboard be able to draw itself on top? Not sure how surfaces work in ext_session_lock but just wanted to bounce some thoughts?

Sounds like something that must be configured via hyprland instead,right? Since it is dependent on the privilege granted by the wayland compositor (ie hyprland)

@vaxerski
Copy link
Member

hyprland doesn't allow anything to render over the lock. That's our current "compositor policy"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants