Skip to content

PasswordFocus on specific monitor #63

@LeviVanDerMaas

Description

@LeviVanDerMaas

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions