https://bugs.kde.org/show_bug.cgi?id=528612
Bug ID: 528612
Summary: Global menu and window title applets lose the active
window after a menu action opens a new window (Krita,
Inkscape)
Classification: Plasma
Product: plasmashell
Version First 6.8.1
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Global Menu widget
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: 1.0
DESCRIPTION
If I use any option that opens a new window in the Global menu applet (like
Configure Krita or Start G'MIC-Qt) Krita loses focus and the only way to
restore the focus (and get Global menu options to show up again) is to focus
another window that is not related to Krita and focus Krita afterwards. This
happens in both the Flatpak package (Krita version 5.3.4.1) and in the native
Arch Linux package (Krita version 6.0.4.1). The Window Title Fork applet shows
the same behaviour. This bug never happened to me before Plasma version 6.8.
Other KDE apps that support Global menu are not affected (Dolphin, Konsole,
Kdenlive, KMail, Krusader, KStars, Haruna, Kate), Flatpak Inkscape is however.
STEPS TO REPRODUCE
1. Install either Krita Flatpak, Inkscape Flatpak or Krita pacman package on
any Arch Linux installation that has plasma-meta 6.8-1 package.
2. Install the Global menu widget and add it to any panel.
3. Launch Krita (or Inkscape) and use any option that opens a new child window
in any Global menu dropdown.
Krita example: Settings -> Configure Krita...
Inkscape example: Filters -> Filter Gallery...
OBSERVED RESULT
After using any Global Menu entry that opens a new window (Configure Krita,
Start G'MIC-Qt), Krita is no longer treated as the active window. The Window
Title Fork applet also switches from "Krita" to in my case "Plasma" (which is
my default placeholder text) which suggests plasmashell is now the active
window. The Global Menu applet stops showing Krita's menus. Closing the dialog
does not restore focus to Krita. The only way to recover is to focus an
unrelated window and then focus Krita again. This reproduces on both the
Flatpak (5.3.4.1) and the native package (6.0.4.1), on native Wayland and under
XWayland (with QT_QPA_PLATFORM=xcb envvar). Inkscape 1.4.4 (dcaf3e7d9e,
2026-05-05) which uses GTK3 is also affected by this (also tested with
GDK_BACKEND=x11 which did not resolve this focus behaviour). After closing the
dialog, the window's titlebar shows as focused again, but the Global Menu and
Window Title applets still behave as if no window is active.
EXPECTED RESULT
After the new window opens and is closed, Krita should remain (or become again)
the active window. The Global menu applet should keep showing Krita's menus,
and the Window Title Fork applet should keep showing "Krita", without
alt-tabbing to another window.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.2.11-arch1-1 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Last Plasma version without that bug present: 6.7.x
Dialogs affected are separate top-level windows opened from the menu.
XDG_SESSION_TYPE=wayland. XWayland and native Wayland both suffer from this
bug.
--
You are receiving this mail because:
You are watching all bug changes.