From 078626cdc2aa9fe7d95d671c5ea8d8d2da8d5306 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Sat, 18 Sep 2021 00:43:17 +0100 Subject: [PATCH 02/11] [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 (cherry picked from commit 89edf22e80026377f5a1e22a52efedf00e7f3674) --- 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: -- 2.33.0