Bug 511778

Summary: While opening a .txt file of an application type in Dolphin, remains minimized in Task Manager Kubuntu 25.04 and 25.10
Product: [Plasma] kwin Reporter: silocoder
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:
Attachments: Window Behaviour Focus Stealing Prevention

Description silocoder 2025-11-07 16:02:26 UTC
Created attachment 186589 [details]
Window Behaviour Focus Stealing Prevention

This happened after I upgraded to Kubuntu 25.04 and 25.10 from 24. I am using Wayland.

While using Dolphin, right clicking on a .txt and choosing Kate (Kate must already be open) will load the document but Kate remains minimized in Task Manager. This also happens with other applications. See steps

1. Open Kate and minimize it.
2. Open Dolphin and right click on .txt file
3. Select Kate.
4. Kate remains minimized in Task Manager highlighted.

Try it again on different .txt files. Only happens if I right click and select Kate. Not if I double click.

Same happens with other applications, Not just with Dolphin or Kate.  E.g. happens when opening up Chrome from Godot gaming engine. See video. Any ideas?

https://imgur.com/a/EEQq42F

I did the upgrade and even changed the Focus steal to none as a test and still is the same problem.

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-6-generic (64-bit)
Graphics Platform: Wayland

Also here is a link to forums post where a kde dev says is related to focus stealing.

https://discuss.kde.org/t/opening-a-file-the-application-type-that-open-remains-minimized-in-task-manager-kubuntu-25-04/41287/2?u=silocoder
Comment 1 Zamundaaa 2025-11-08 12:28:42 UTC
This is fixed in Plasma 6.5