Bug 497065

Summary: Dolphin Stealing Focus Upon Error Message
Product: [Applications] dolphin Reporter: Myc <mycclark>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel
Priority: NOR    
Version: 24.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Myc 2024-12-05 01:53:37 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Dolphin is stealing focus when it encounters an error during a file transaction.

STEPS TO REPRODUCE
1. Set focus to where mouse is.  Set focus steal prevention to any setting, I use high to maximum.
2. Copy some files from one location to another.  Use enough that it will take a minute or so.  Be sure you will run into a duplicate file error.  Focus on another application and start typing.
3. Dolphin encounters a duplicate file error and pops the dialog stealing focus.  Text being typed is on the dolphin dialog and not on the text window you were typing on.

OBSERVED RESULT
Dolphin steals the current focus regardless of system focus settings.  Depending on what keys were being pressed when the error popped, I accidentally rename, or cancel the file transfer.
Other applications do not exhibit this behavior from what I've observed.


EXPECTED RESULT
Dolphin pops the error message but does not steal focus.  

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION