keybase / keybase/client

macOS client app looses track of state

Open
#10,517 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

I can end up with a "useless" macOS client application -- it's not logged in, and there's no way to get to the login screen. (Originally [mis posted](https://github.com/keybase/client/issues/10148#issuecomment-363213435) as part of another bug.)

Sometimes, a stack trace is displayed on the app's screen (see below).

STR:
1. log into keybase via the app
2. quit the app
3. go to a terminal and logout from CLI
4. start keybase app _not_ from the toolbar (I used Spotlight)
5. app starts on "logged in" screen, no way to get to login.

Workaround:
- login from CLI, or
- Use the Keybase menu bar item (which knows you're logged out and presents a login button)

![screen shot 2018-02-11 at 16 34 08](https://user-images.githubusercontent.com/132412/36080885-2f47855a-0f4c-11e8-9688-6df19067908f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the listed sequence: log in through the app, quit it, log out from the CLI, then relaunch the macOS app outside the menu bar. Trace how startup determines login state and compare it with the menu bar behavior; done means the app recognizes the logged-out state and provides a login screen without requiring CLI login.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.