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

KDE Workaround to focus issues #2026

Open
gfgit opened this issue Feb 17, 2024 · 2 comments
Open

KDE Workaround to focus issues #2026

gfgit opened this issue Feb 17, 2024 · 2 comments

Comments

@gfgit
Copy link
Member

gfgit commented Feb 17, 2024

In #1975 we hit QTBUG-52021

This is because panel window does not accept focus (See panel/lxqtpanel.cpp#L152)

This line was added inside commit 63accd3

Current situation:

@tsujan
Copy link
Member

tsujan commented Feb 17, 2024

Is this our issue? If yes, please describe it. If no, https://github.com/lxqt/lxqt/discussions is the best place for it.

EDIT:
Thanks for adding an explanation to your report!

@stefonarch
Copy link
Member

stefonarch commented Feb 18, 2024

If I get things right also on wayland a panel should not have focus while atm lxqt-panel takes focus if clicked somewhere, menu or not, while waybar, yatbfw or sfwbar do not, so this commit doesn't ever work on wayland, x11 only. But they have no menu to write or search in.

On wayland with layershell-qt this is can be achieved using

    /**
     * This enum type is used to specify how the layer surface handles keyboard focus.
     */
    enum KeyboardInteractivity {
        KeyboardInteractivityNone = 0,
        KeyboardInteractivityExclusive = 1,
        KeyboardInteractivityOnDemand = 2,
    };

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