Skip to content

Switching to QAP blocked when certain modules are active #22336

Open

Description

@anoderay

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

Since #22286 made switching to QAP is safer in the sense, that no hidden masking controls etc. can be active when switching to the QAP. Fixing various issues I reported in #22169. But the fix also stops one in their tracks requiring to remember what tool/module is open and closing it before switching to the QAP, which feels clumsy.

I usually access the QAP thorugh a keyboard shortcut, so I solved this issue for myself by assigning a lua script to my qap-keyboard-shortcut that defocusses the currently focussed module and then switches to the QAP by triggering:

dt.gui.action("iop/focus", "focus", "toggle", 1.000)
dt.gui.action("lib/modulegroups/quick access panel", "", "on", 1.000)

But I suspect there must be a more elegant way of solving this issue.

I lack the deep understanding of the code to make a suggestion to fix it. But judging from the fix I employed for myself I am wondering whether attaching "defocus focussed module" to the QAP button might be the right thing to do?

Steps to reproduce

Open a module
Enable masking
Place a drawn mask
Try to switch to QAP >> Blocked

or open the crop module so that the crop handles are visible
try to switch to QAP >> Blocked

Expected behavior

Clean up open modules before switchting to QAP by itself

Logfile | Screenshot | Screencast

No response

Commit

#22286

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

Darktable-5.7.0+957

What OS are you using?

Linux

What is the version of your OS?

bazzite

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

irrelevant

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Activity

  1. hats-np commented on Sep 19, 2026

    @hats-np
    Contributor

    I am facing the same issue. I have tuned the QAP to my workflow and heavily rely on it, and this is pretty bothersome as it is. Instead of blocking, why not close automatically any masking, crop, or pickers that are open?

    I don't agree that QAP is a 'beginners tool' like it has been mentioned before. It can be a powerful panel if you tune it to your needs and the modules you use, making editing much faster than otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions