Windows Terminal appears behind DOpus window when launched from context menu

NVIDIA_Share_JMCjYvtNrA

Problem occurs only with DOpus' context menu, Explorer's works fine.
Win11 Pro 22H2 22621.1702, DOpus 12.31 stable, Windows Terminal 1.17.11461 stable.

This is an official context menu entry, from "Lister Context Menu" source.

Also, despite a text input cursor blinking inside terminal window, all the input still goes to DOpus, performing a search, until I manually click on terminal.
NVIDIA_Share_rLk05AHR6o

These seem like bugs in Terminal (or Windows), especially if it indicates it has focus when it doesn’t.

I've found a workaround by using custom command like that:
image
It seems to work perfectly and opens above DOpus.

Regarding your version - yes, it seems this is related to WinTerminal itself: Window has no focus when Launch Mode is set to Default · Issue #15479 · microsoft/terminal · GitHub
It's just that I've only found it non-working with DOpus.

May be a coincidence, but it now works fine on DOpus13.0.35b with default context menu entry.

Not anything we changed. The bug was in Terminal and I guess has been fixed in Terminal (or Windows).