Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't launch settings dialog when initially used. #18

Open
sunweaver opened this issue Jan 26, 2021 · 2 comments
Open

Don't launch settings dialog when initially used. #18

sunweaver opened this issue Jan 26, 2021 · 2 comments

Comments

@sunweaver
Copy link
Member

When installing ayatana-webmail as part of a desktop environment, we want it to be auto-started.

But we (as distro maintainers) maybe don't want the settings dialog to pop up after every login as long as ayatana-webmail doesn't have any configured IMAP profiles.

We need a way to disable the settings dialog for unconfigured ayatana-webmail instances / profiles.

@tari01
Copy link
Member

tari01 commented Jan 26, 2021

The problem with this is that ayatana-webmail does not nave a launcher. Non-technical/novice users will hardly know how to start it. If we push a dialog into people's faces on each login, they will most likely get it over with and move on. Not subtle, but a good reminder (Robert thinks).

@tari01
Copy link
Member

tari01 commented Jan 26, 2021

Update: Now I remember two more reasons I made the settings dialog so persistent:

Launcher

In case you already have this one, invoking any of these options will crash an unconfigured ayatana-webmail over DBus, and you won't even know about it.

Because everything happens over DBus, the application can only go into its main loop after the settings have been read. I cannot pause it and wait for the settings command to be invoked over the bus, because we are not on the bust yet. The dialog that you see after login is invoked directly from the application class, not via the bus, and if therefore 100% bulletproof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants