From 89edf22e80026377f5a1e22a52efedf00e7f3674 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Sat, 18 Sep 2021 00:43:17 +0100 Subject: [PATCH] [shell/panel] Fix ability to type in textfield On wayland the setFlags call does nothing, metadata for interaction is set through the ShellSurface, by default this does not have focus for panels. BUG: 442557 --- shell/panelconfigview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/panelconfigview.cpp b/shell/panelconfigview.cpp index e43d31c33..5870cb03c 100644 --- a/shell/panelconfigview.cpp +++ b/shell/panelconfigview.cpp @@ -252,6 +252,7 @@ bool PanelConfigView::event(QEvent *e) break; } m_shellSurface = interface->createSurface(s, this); + m_shellSurface->setPanelTakesFocus(true); } break; case QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed: