Open Bug 1679173 Opened 2 months ago Updated 1 month ago

"Zoom Out" shortcut erroneously also works with SHIFT+CTRL+"-" (instead of only CTRL+"-")

Categories

(Core :: Panning and Zooming, defect)

Firefox 83
defect

Tracking

()

UNCONFIRMED
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- fix-optional

People

(Reporter: pat, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

Use CTRL+SHIFT+"-" as a shortcut to call an application to fill in forms with Firefox as active window.

Actual results:

It reduces zoom level in Firefox.

Expected results:

Firefox should do nothing, in particular it should NOT reduce zoom level in Firefox, as this is not the specified shortcut for reducing the zoom level (the shortcut for reducing zoom level in Firefox is supposed to be CTRL+"-", but not in combination with SHIFT).

This has happened in previous versions too, appeared sometime this year I think, can't say from which version on. But wasn't the case with earlier versions, say versions from last year... I use the app that requires this shortcut since many years and never had this problem before, so am sure this bug has been introduced at some point in Firefox, just can't say exactly when.

Regressed by: 1652877

(In reply to pat from comment #0)

Steps to reproduce:

Use CTRL+SHIFT+"-" as a shortcut to call an application to fill in forms with Firefox as active window.

Could you provide some more details about this please? What is the application you're referring to? Is the shortcut handled by the browser (in the previous versions when it worked), or the operating system?

Hi. Sure. The application is called Codebook (a password vault). I don't know exactly how this is handled, but here's how it works: A component of the software (Codebook) called "Secret Agent" is running in the background and listening to the keyboard entries. When the shortcut (which has been previously configured in Codebook) is detected (in this case with Firefox as active window, e.g. when a password needs to be introduced on a web site), the "Secret Agent" window pops up and (after entering the master password), allows you to search for the corresponding password. Once the corresponding password (or other entry) has been selected, you hit "enter" and the password is handed over to the software running in the active window (Firefox browser, in this case) and is introduced into the space where the cursor was located when the shortcut was pressed. This has always worked without issues on the Firefox side, but since some time (as mentioned, can't tell exactly from what FF version on), Firefox captures the shortcut and "reacts" by zooming out. Secret Agent still works (the window pops up as expected), but the point is that BOTH software (Secret Agent AND Firefox) are acting on the shortcut, while in my humble opinion FF shouldn't do it (at least not by zooming out), as the shortcut for zooming out in FF is already defined as CTRL+"-". So if it reacts to BOTH, CTRL+"-" AND SHIFT+CTRL+"-", Firefox is using two shortcuts for the same thing, which isn't the idea of shortcuts (at least from my point of view). Of course I can configure something else in Codebook, but as FF didn't show this behaviour before and two shortcuts for the same function are rather unusual (shortcuts are limited and should be used in a unique way by definition), I wanted to make aware of this situation.

Thanks for the details.

Reacting to Shift+Ctrl+"-" by zooming out was an intentional change made in bug 1652877. The rationale given in that bug was to be consistent with other browsers, which I'm taking to mean Chrome and/or Edge.

Would you be able to try either Chrome or Edge, and see if Shift+Ctrl+"-" there similarly causes both zoom-out and Codebook activating?

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

This is likely a "wontfix" unless we discover that other browsers are doing something exceptionally clever like detecting if another application is listening for the shortcut and suppressing the browser behaviour in that case.

You need to log in before you can comment on or make changes to this bug.