Bug 487202

Summary: Filter Dialog Closes / Applies When Losing Focus
Product: [Applications] krita Reporter: minnobrine
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description minnobrine 2024-05-18 20:02:53 UTC
Sent from: https://krita-artists.org/t/filter-dialogs-close-apply-when-losing-focus/91670/11

I was told to make a new report in the above thread, but this is a duplicate of: https://bugs.kde.org/show_bug.cgi?id=352747 

When using a dialog under filter toolbar, if you click off the dialog anywhere onto Krita, the dialog acts like you hit the apply button, and closes.

If you have 2 copies of Krita running, and you click into the second one, the dialog closes, but if you click off of Krita onto another application this does not close the dialog.


STEPS TO REPRODUCE
1. Open a filter dialog, Filter > Adjust > Dodge  (or any other)
2. Click onto the canvas, or anywhere on Krita that is not the dialog
3. The dialog will close as if you hit apply

OBSERVED RESULT
The dialog applies the filter

EXPECTED RESULT
The dialog does nothing

SOFTWARE/OS VERSIONS

Qt Version (compiled): 5.15.7
Qt Version (loaded): 5.15.7
Appimage build: Yes

Linux: EndeavourOS rolling x86_64
Kernel: 6.8.9-arch1-2
WM: i3 (X11)

**I was also able to reproduce in a VM with:**
Linux: EndeavourOS rolling x86_64
Kernel: 6.8.9-arch1-2
DE: KDE Plasma 6.0.4 
WM: KWin (X11)

Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts