timche / gmail-desktop

:postbox: Nifty Gmail desktop app for macOS, Linux & Windows
MIT License
845 stars 90 forks source link

When switching to a delegated accounts, further opens of the application load that account by default #133

Closed cipriancraciun closed 3 years ago

cipriancraciun commented 5 years ago

Steps to Reproduce:

  1. open the GMail application, and use an account that has access to delegated GMail accounts; (this is similar to login-in into multiple accounts, but as opposed to that feature, it doesn't imply an actual login, but will provide only access to GMail for that account;)
  2. open the GMail application, and from the account selector, select an delegated account;
  3. close the main GMail window (which has the "default" account);
  4. close the "delegated" GMail window;
  5. from the tray click the GMail application icon;
  6. the UI starts, but loads the delegated account by default, instead of the "default" GMail account that was used initially when starting the application;

Initially I thought that the application "remembers" the last GMail URL, or keeps the window hidden. However no matter in what order I close the windows (delegated one, then default; or default then delegated), it always opens the delegated account.

timche commented 3 years ago

Will be obsolete with #25