Bug 459598

Summary: clicking with the mouse in an unfocused window shouldn't trigger an action aka open a file/folder
Product: [Applications] dolphin Reporter: Jim Jones <rauchwolke>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 22.08.1   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jim Jones 2022-09-24 11:57:18 UTC
SUMMARY
***
clicking with the mouse in an unfocused window shouldn't trigger an action aka open a file/folder

STEPS TO REPRODUCE
1. open 2 dolphin instances A + B
2. give focus to dolphin instance A
3. click on a file/folder in instance B
4. file/folder gets opened

OBSERVED RESULT
the file/folder gets opened in the previously unfocused window

EXPECTED RESULT
the window without focus gets selection, at best the file/folder gets selected (if there is one below the mouse pointer)

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.8
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Kernel Version: 5.19.11 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION