Filter Dialogs Close/Apply when losing focus

Linux, EndeavourOS, i3wm
Using AppImage 5.2.2

When using any dialog under Filter, if I click off the dialog / move my mouse off of it (my wm will focus on what my mouse hovers), the filter dialog acts as if I hit the Apply button, and closes.

I don’t know if this is an issue on Linux or i3. I can’t reproduce on Windows.

To reproduce:

  • Make a new document
  • Open Filter > Adjust > HSV Adjustment (could be anything under filter)
  • Click on the canvas / move mouse on the canvas
  • Filter dialog should close as if you hit the apply button

Hello @minno and welcome back :slight_smile:

If I try that with the 5.2.2 appimage on Linux Mint with the MATE desktop, the Filter window looses focus if I click on the canvas but stays in place and is not applied·
Also, there is no painting on the canvas.
The only way I can get it to be applied and close is to click on another layer in the Layers docker.

It may be i3 that is causing what you see.

In a virtual machine I’ve been able to reproduce using I3, dwm, Plasma 6 and MATE.

When you open a filter window and try painting on the canvas it doesn’t close for you?

Here is the output of uname -a for my VM: Linux archvm 6.8.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 x86_64 GNU/Linux. It is also running EndeavourOS. I doubt the distro being different would cause such an issue though.

It stays open but unfocused according the the appearance of its title bar.
If I try to paint on the canvas then nothing happens and I can go back to the filter window and adjust sliders that have effect.
I can also do Window → New Window, create a new document in the new window and paint on its canvas, then go back to the original main window and make further adjustments in the filter window before pressing OK in it.

Interesting, you think I should open a bug report? I was hoping someone here could reproduce. I did a quick search for an existing one before posting here, but didn’t see anything.

Any clicking off the filter window into Krita causes it to apply automatically for me. If I open another window and then a filter window, clicking in the other Krita also applies the filter, but clicking onto other applications does not.

Maybe it’s my computer/installation that’s unusual?

For a bug report, an important question would be, “does this cause a problem?”

For you, the problem is that you can’t use zoom and pan to adjust the view of the canvas to let you get a better idea of optimal filter adjustment.
There may be other problems that I haven’t though of.

You can make a bug report but if nobody can reproduce it then nothing will happen.
I suggest that you do and post a link to the report in a reply here.

I have same occasionally, but it can’t be reproduced now. :dizzy_face: (Windows10)

1 Like

While making a bug report I found this old report that says it was fixed: 352747 – While in working in filter dialog ( namely blur, gaussian etc) clicking outside the dialog applies the filter and closes the dialog box..

I don’t know how I missed this when searching initially. Should I open another report or can I reopen this one? I’m not exactly familiar with using the KDE Bug Tracker.

Only a developer should reopen a bug report so please don’t do that.

The problem you have is slightly different. That bug report is about clicking outside the filter dialogue.
Your problem is moving outside of the filter dialogue without even clicking.

You can make a new bug report, give a link to that previous bug report and also a link to this topic.
Emphasise the difference from the previous bug report.

Moving outside the filter dialog is only a problem because it is the same as clicking based on my I3 settings. If I disable the setting for focus to follow mouse, I have to click for the problem to occur.

Make a new bug report and leave it up to the developers to decide how to deal with it.

1 Like

Here is my report: 487202 – Filter Dialog Closes / Applies When Losing Focus

Thanks for the help

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.