add --restore-recently-closed-window command line switch
Categories
(Firefox :: Session Restore, enhancement)
Tracking
()
People
(Reporter: hello, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:150.0) Gecko/20100101 Firefox/150.0
Steps to reproduce:
Add a command line switch that exposes "Restore Recently Closed Window" to enable single shortcut restoration of a closed window.
Using a custom shortcuts on Niri I can open Firefox (Mod+B) and close it (Mod+Q).
If I accidentally press Mod+Q or CTRL+Q instead of CTRL+T, I close the whole window instead of just a single tab. To restore the Window, I need to
- open a new Window (Mod+B)
- then restore the window (CTRL+SHIFT+T) as new window and
- then close the first window.
Using a command line parameter I could assign for e.g. Mod+Shift+B to restore the last closed Window. If Firefox is not running this could also default to restoring the last session (see also: https://bugzilla.mozilla.org/show_bug.cgi?id=1283426)
Exposing this already existing features on the command line should be fairly straight forward. I'd be happy to work on a PR if this is a feature you deem desirable too.
Comment 1•2 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•