this post was submitted on 09 Jul 2023
3 points (100.0% liked)

Firefox

85 readers
5 users here now

The latest news and developments on Firefox and Mozilla, a global non-profit that strives to promote openness, innovation and opportunity on the web.

You can subscribe to this community from any Kbin or Lemmy instance:

Related

Rules

While we are not an official Mozilla community, we have adopted the Mozilla Community Participation Guidelines as far as it can be applied to a bin.

Rules

  1. Always be civil and respectful
    Don't be toxic, hostile, or a troll, especially towards Mozilla employees. This includes gratuitous use of profanity.

  2. Don't be a bigot
    No form of bigotry will be tolerated.

  3. Don't post security compromising suggestions
    If you do, include an obvious and clear warning.

  4. Don't post conspiracy theories
    Especially ones about nefarious intentions or funding. If you're concerned: Ask. Please don’t fuel conspiracy thinking here. Don’t try to spread FUD, especially against reliable privacy-enhancing software. Extraordinary claims require extraordinary evidence. Show credible sources.

  5. Don't accuse others of shilling
    Send honest concerns to the moderators and/or admins, and we will investigate.

  6. Do not remove your help posts after they receive replies
    Half the point of asking questions in a public sub is so that everyone can benefit from the answers—which is impossible if you go deleting everything behind yourself once you've gotten yours.

founded 2 years ago
MODERATORS
 

I've accidentally tapped the F and D keys together when using Alt+D to reach the address bar a few times. There is no matching shortcut or close-window command in the File menu, yet it instantly closes the window. Can someone tell me why?

Edit: Clarified first sentence and added screen shot for the doubters:

top 25 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)

Seems to do Close Window, the same thing as Ctrl+Shift+W or Alt+F4

In fact, if I do Alt+F, I see the command "Close Window Ctrl+Shift+W" where the d character is underlined. If I just Alt and then arrow-click the File menu, I don't see that command at all.

[–] ono 1 points 2 years ago (1 children)

Ah! Yes, it's hidden if I open the menu with the mouse, too.

A menu option that's shown only if the menu is opened in a certain way. How confusing.

[–] [email protected] 1 points 2 years ago

Not sure of your OS but Windows 10 has a global setting to "Underline access keys when available" that I think makes them always visible.

If you need to remove this access key, one option is a startup script. In my example in the following article I refer to them as accelerator keys:

https://www.userchrome.org/what-is-userchrome-js.html

[–] [email protected] 1 points 2 years ago

It does not happen on my side.

[–] [email protected] 1 points 2 years ago (1 children)

weird. same thing happens for me, debian kde

[–] ono 1 points 2 years ago (1 children)

That's what I'm using as well. I wonder if its a quirk in Firefox ESR.

[–] [email protected] 1 points 2 years ago (1 children)

nah, @fox pointed out that we're all being idiots:

you activated a shortcut, notice that the d on close window is underlined in the menu.

[–] ono 1 points 2 years ago* (last edited 2 years ago) (1 children)

Please read my post again. (That was the first thing I checked.)

[–] [email protected] 1 points 2 years ago (1 children)

nah he's right, look
image of the firefox file menu, showing close win~~d~~ow highlighted

the d in window is underlined. if you don't have that, try setting keyboard accelerators visibility to always show (although it shouldn't matter, as ffx is influenced by gtk settings)

[–] ono 1 points 2 years ago* (last edited 2 years ago)

Please stop insisting that I'm wrong. I've added a screen shot so you can see for yourself.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

you activated a shortcut, notice that the d on close window is underlined in the menu.

[–] ono 1 points 2 years ago (1 children)

Notice that I already stated there is so such shortcut in the menu. Thus my surprise.

[–] [email protected] 2 points 2 years ago (1 children)

curious, I just went to screenshot the menu and I noticed the option only appears when you open it with alt+f, but it is there for me.

[–] ono 1 points 2 years ago

Aha! Yes, I'm getting the same behavior here here. The Close Win̲dow option doesn't show up when opening the menu with the mouse or arrow keys, but does show up when opening it with Alt+F. What a strange UI choice.

[–] [email protected] 1 points 2 years ago

OK. It happens here as well.

[–] [email protected] 1 points 2 years ago (2 children)

I'm not willing to try it. Does your OS perhaps contain such a combination?

[–] ono 1 points 2 years ago
[–] [email protected] 0 points 2 years ago (1 children)

It closes whole windows. You can try it safely by opening a second Firefox whole window, open a few tabs on it, and then Alt-F, D and the entire window closes. (Your first Firefox window is unaffected.)

[–] [email protected] 1 points 2 years ago

I'm still getting the hang of this site. I thought I replied to your comment but my reply showed separately. I get the same result as the OP.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

The underlined letters are shortcuts:

New T ab: Alt + F, T
New Container Ta b: Alt + F, B
N ew Window: Alt + F, N
New Private W indow: Alt + F, W
O pen File: Alt + F, O
C lose Tab: Alt + F, C
Close Win d ow: Alt + F, D

BTW, If you want to re-open the window you closed, the shortcut should be Ctrl+Shift+N

[–] ono 2 points 2 years ago* (last edited 2 years ago) (1 children)

I know what menu shortcuts are. As I already said, there is no close-window shortcut in the menu, and no D shortcut, either.

If there is one in your Firefox menu, I guess someone must have removed it from the build in my version but forgotten to remove the corresponding key handling code.

[–] [email protected] 2 points 2 years ago

Oh. strange. When you open the file menu by pressing Alt + F, you get a slightly different set of options than when you open the file menu by pressing Alt and clicking File.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

It seems odd that you would CLICK the menu and then use the keyboard. Firefox has 2 versions, the 'mouse' version is slightly cut down.

Try opening the menu with:

  1. Keyboard (press Alt, then F).

  2. Mouse (you can press Alt, then CLICK the F)

This is something I rarely use keyboard for, TBH. I use mouse gestures.

I close a tab by drawing an 'L' and can re-open a tab by drawing an 'L' in reverse (bottom to top).

A window by doing 'X' and re-opening a window with an 'L' in reverse but coming down again from the vertical.

I must say, I find gestures (i.e. drawing shapes) much easier to remember - I use ten times more gestures than I remember keyboard shortcuts.

Gesture

[–] ono 1 points 2 years ago* (last edited 2 years ago)

It seems odd that you would CLICK the menu and then use the keyboard.

As it turns out, different people have needs different from your own.

And in this case, I stumbled upon the surprising behavior through the keyboard alone, by accident, due to poorly chosen adjacent key commands. I later used the mouse when investigating the menu's contents.

load more comments
view more: next ›