Open gfgit opened 4 months ago
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!
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,
};
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 63accd3d14eec81e85005264dd1eeaa96c85c257
Current situation: