Closed Bug 1767825 Opened 3 years ago Closed 3 years ago

-options and -addressbook commandline arguments not working as expected

Categories

(Thunderbird :: General, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rjl, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, regressionwindow-wanted)

-options doesn't seem to work at all. I think it's trying to open preferences.xhtml in a new window as I see a preferences.xhtml show up in devtools' window selection dropdown. It should open a settings tab in an existing window or open a window. "options" should also be renamed to "settings" so it's consistent with the menus

-addressbook opens the old addressbook in a new window. It should open the new addressbook in a tab, or open an existing addressbook tab

Alice, mozregression tool can handle command line arguments, correct?

Flags: needinfo?(alice0775)

Thanks Rob for finding and filing this!

(In reply to Rob Lemley [:rjl] from comment #0)

-options doesn't seem to work at all. I think it's trying to open preferences.xhtml in a new window as I see a preferences.xhtml show up in devtools' window selection dropdown. It should open a settings tab in an existing window or open a window.

Do we always need to show the 3-pane when we go directly for specific spaces from command line?
From past experience, I would expect command line options to open directly and only what is specified in the command line option. I don't care if it's shown as a tab or not (with or without a tab header), but I'd probably prefer the thing to open on its own without the clutter and resource-eating overhead of 3-pane.

"options" should also be renamed to "settings" so it's consistent with the menus

Having -settings switch sounds good. Some minor questions, no strong feelings:

  • Do we want to do this and be different from Firefox (assuming they haven't changed it)?
  • Do we really want to change this age-old switch?
  • Maybe we could just support -settings in addition to -options?

-addressbook opens the old addressbook in a new window. It should open the new addressbook in a tab, or open an existing addressbook tab

Not sure if things started from command line parameter should open existing tabs? Why would you use command line when TB is already open in the first place?

Do we always need to show the 3-pane when we go directly for specific spaces from command line?

Yes we do. This is a limitation of our architecture.
With Geoff we're looking into allowing tabs to be opened as windows, but that will probably happen later in the 114 cycle.

Firefox uses "--preferences" to open either the "Options Page" on Windows or "Preferences Page" on other platforms. They're inconsistent with their own menus as well. It opens a new browser window every time.

This bug isn't necessarily about how these arguments work, it's that they don't work at all currently.

Blocks: tb102found

I'm not sure when this started working, but both -options and -addressbook work as expected on 102.0.3 (win64) and 102.1.0 (linux64).

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.