Move Window to Left/Right Side of Screen doesn't work on MacOS
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
People
(Reporter: grm.ales, Unassigned)
References
Details
Attachments
(1 file)
39.20 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
Steps to reproduce:
Used keyboard shortcut on MacOS that work with virtually any other application to try and move the Firefox window to left or right side of screen.
Actual results:
Nothing
Expected results:
Window should have moved to the left/right side of screen.
It works if the option is clicked with a mouse after hovering on the button.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Are these custom shortcuts that you set up in system settings, or are these default shortcuts for you? I ran a quick check with macOS 12.0 Beta and these shortcuts aren't there by default.
Updated•3 years ago
|
(In reply to Stephen A Pohl [:spohl] from comment #2)
Are these custom shortcuts that you set up in system settings, or are these default shortcuts for you? I ran a quick check with macOS 12.0 Beta and these shortcuts aren't there by default.
The shortcuts are custom. But the commands are default, I've just tacked the shortcuts to them in System Settings. And I didn't encounter another application that would have this issue (yet).
Comment 4•3 years ago
|
||
Thanks. I believe this is due to one of two possibilities:
- We don't expect the window control buttons to have shortcuts. Therefore, we never offer the shortcuts to the window controls to handle.
- The shortcuts may be otherwise assigned (i.e. built-in shortcuts). This is less likely, but would be an instance of bug 1333781.
Option 1 seems more likely, seems nothing appears to happen when I actually use the shortcuts.
Is this something that is likely to get resolved?
Comment 6•3 years ago
|
||
(In reply to grm.ales from comment #5)
Is this something that is likely to get resolved?
I may have a patch for this, but I can't seem to find a way to add these shortcuts in system settings to test. Could you please walk me through the steps that you've taken to create these shortcuts?
Comment 7•3 years ago
|
||
Oh, the menu string has changed between macOS versions. I'm able to set these shortcuts now.
Sure, it's pretty straightforward. Just in case.
- Apple
- System Preferences
- Keyboard
- Shortcuts
- App shortcuts
- Add a new shortcut using +
- For "Menu Title" write the command literally such as "Move Window to Right Side of Screen" and for "Keyboard Shortcut" simply choose what you want the shortcut to be
That's it.
Comment 9•3 years ago
|
||
A fix for this wasn't quite as easy as I'd hoped, but I'll keep looking at it.
Updated•3 years ago
|
Reporter | ||
Comment 10•3 years ago
|
||
Do you need more input about this?
Comment 11•3 years ago
|
||
(In reply to grm.ales from comment #10)
Do you need more input about this?
Not at this time, thank you. I had a separate conversation with :mstange about this, but we weren't able to find a quick solution to the issue. Unfortunately, this means that we won't have an immediate fix until someone can look into this in more detail.
Comment 13•3 years ago
|
||
I accidentally submitted more details in duplicate (I missed this report in my search), so I figured I should add my input here.
The MacOS keyboard shortcuts simply trigger existing Menu Items, but Firefox does not include "Move Window to Left Side of Screen" (and Right) in the Window drop down menu like many other applications. The function does work correctly if you mouse over the green dot and click. I don't know what is involved with adding the Menu Item, but hoping it's an easy fix since the functionality is already there. This is really a MacOS bug, since it really should have a shortcut to trigger this function at the OS level. But adding that Window menu item seems to be the best practice for compatibility.
Comment 15•2 years ago
|
||
This will be addressed as part of bug 1642138.
Description
•