Page MenuHomePhorge

Doing Ctrl+Enter on forms do not cause them to open in a new tab
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Find a form
  2. Do Ctrl+Enter

Expected behavior:
The results are opened in a new tab

Actual behavior:
The results are opened in the same tab

Screen recording:

Miscellaneous information:
This was reproduced on we.phorge.it at 2024-08-13 02:41:34 UTC. I was also able to reproduce this on a test instance running Phorge 58f1c83a5ac5 and Arcanist 84210cedc6ce.

Ctrl-clicking on the button opens the form in a new tab, so submitting forms in a new tab appears to be an intentional feature.

File which appears responsible: https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/js/core/behavior-form.js;58f1c83a5ac56073a1960772c78c99ece72d4729

Event Timeline

Ctrl-clicking on the button opens the form in a new tab

@BlankEclair: Hmm, at least for the magnifier search button in the top bar search field that doesn't seem the case for me (Firefox, Linux). Do I misunderstand?

Edit: Ah, yes, it works with the "Search" button at the bottom of maniphest/query/advanced/, I see.

Ctrl-clicking on the button opens the form in a new tab

@BlankEclair: Hmm, at least for the magnifier search button in the top bar search field that doesn't seem the case for me (Firefox, Linux). Do I misunderstand?

Edit: Ah, yes, it works with the "Search" button at the bottom of maniphest/query/advanced/, I see.

Funny enough, that button also sometimes doesn't work for me on Librewolf under Linux. It only happens intermittently though, so I couldn't be too bothered to chase after it.