sddm-astronaut-theme icon indicating copy to clipboard operation
sddm-astronaut-theme copied to clipboard

PasswordFocus on specific monitor

Open LeviVanDerMaas opened this issue 3 months ago • 1 comments

Apologies if this is a dumb question or I am missing something, but:

Although setting PasswordFocus to "true" in the config will indeed automatically focus the password field, there currently does not seem to be a way to force this focus onto a specifc monitor. I have very little knowledge on qt or qml, but from what I can see the issue seems to be that in Input.qml the textfield component for the password sets its focus property equal to the value of PasswordFocus. I assume on a multi-monitor setup that would effectively cause multiple qml Textinputs to have focus: true at once, and, from what I can find in the qt documentation, in such a case qt will just decide where the focus goes with no guarantees on where it ends up.

I have already tried various tricks and messing with the monitor config in various ways, but none other than disabling any undesired screen until the focus ends up at the right one have worked.

Is there any way to force focus onto a specific monitor?

LeviVanDerMaas avatar Sep 18 '25 15:09 LeviVanDerMaas

Intriguing, I'll try to take a look

Keyitdev avatar Sep 18 '25 15:09 Keyitdev