Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

[Feature request]: Command line option to create a new profile #4673

Closed
anthonybilinski opened this issue Sep 21, 2017 · 3 comments
Closed
Labels
M-ui Affected Module: User Interface proposal

Comments

@anthonybilinski
Copy link
Member

With an instance of qTox running, it's not possible to open a new profile. You can open an existing profile with "qtox -p ", but if doesn't exist, it errors and exits. Running with just "qtox" activates the existing open window.

It seems like the only existing way to create a new profile while logged in is to log out (to get to the login screen), create the profile, then log back in, which is obviously inconvenient.

I think adding a command line option "qtox -l" ('l' for "login") that opens the login window regardless of running instances, and maybe also making "qtox -p " open the login screen instead of exiting, since then the user gets a dropdown of available profiles, in case they misspelled the profile they wanted.

I don't think actually creating the profile from command line is useful, since then there would be plaintext passwords in history, we'd lose the nice password strength meter etc.

anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 21, 2017
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 21, 2017
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 21, 2017
@sudden6 sudden6 added M-ui Affected Module: User Interface proposal labels Sep 21, 2017
@sudden6
Copy link
Member

sudden6 commented Sep 21, 2017

IMO a that would be a great idea, also it wouldn't break any backwards compatibility, which makes it even greater ;)

To be honest I don't even like the default behavior of opening the running instance and would like to see the login screen in that case.

@anthonybilinski
Copy link
Member Author

Yeah I agree personally, but like I brought up in #3483 (comment), some people have the use pattern of closing to tray, then opening from start/search/side-bar and expecting that to re-open the running instance. I can't think of a way to make it work naturally for both use cases :(

@anthonybilinski
Copy link
Member Author

anthonybilinski commented Sep 22, 2017

It might make sense to link "default open behaviour" to the "exit to system tray" setting. If exit to tray is selected, try to activate the running instance and force the user to "qtox -l" to open login directly, and if exit to tray is not selected (default) it opens login directly on new open, since users would likely just un-minimize their running instance from sidebar/bottom bar/alt-tab if that's what they wanted.

anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 26, 2017
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M-ui Affected Module: User Interface proposal
Projects
None yet
Development

No branches or pull requests

2 participants