Ademking / BetterViewer

a replacement for the image viewing mode built into Firefox and Chrome-based web browsers.
MIT License
247 stars 19 forks source link

Ctrl+Q in Firefox conflicts #46

Closed elig0n closed 1 year ago

elig0n commented 1 year ago

Hitting Ctrl+Q shows the Firefox quit confirmation dialog instead of doing "Flip vertical".

Metacor commented 1 year ago

I don't think this can be fixed, because Firefox's quit seems to ignore "preventDefault()", similar to pressing Alt + F4. (Linux seems to be the only OS affected by this, since Windows/Mac both use "Shift + Ctrl(Cmd) + Q" instead of "Ctrl + Q")

Whenever Adem releases v1.0.6, you will be able to use Custom Hotkeys (#41) to change "Flip Vertical" to another key.

If you don't want to wait for that, and you don't typically use Ctrl+Q, then you can disable it in Firefox's "about:config" page, by setting the option "browser.quitShortcut.disabled" to true.