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

Requests access to kde wallet to update status bar, in the mean time hanging the IDE #175

Open
Moire9 opened this issue May 17, 2021 · 7 comments
Assignees

Comments

@Moire9
Copy link

Moire9 commented May 17, 2021

Occasionally, when switching away from the IDE window, wakatime will "Update the status bar" (whatever that means), which causes KDE to open a window asking for the password to the wallet. This is annoying, however even worse, the IDE is completely frozen while the window is open.

@alanhamlett
Copy link
Member

alanhamlett commented May 18, 2021

Maybe we can detect when running in KDE and disable the status bar icon. For now, does it stop when you uncheck Show WakaTime in status bar in the Tools -> WakaTime Settings menu?

@Moire9
Copy link
Author

Moire9 commented May 18, 2021

I believe doing that stops the issue.

@Moire9
Copy link
Author

Moire9 commented May 18, 2021

No, it does not stop it.

@alanhamlett
Copy link
Member

Does it say Update the status bar or Updating wakatime status bar?

@Moire9
Copy link
Author

Moire9 commented May 18, 2021

I am almost certain it is the second, however I will try to remember to check next I see it.

@alanhamlett
Copy link
Member

The way we "disable" the WakaTime status bar icon is having getTodayText return empty string:

public String getSelectedValue() { return WakaTime.getTodayText(); }

Instead, we can try returning false for one or both of these methods which might prevent the prompt:


public boolean isAvailable(@NotNull Project project) { return true; }

I think the reason we didn't already do that was when testing, the icon couldn't be enabled once isAvailable or canBeEnabledOn started returning false. I'll double check and make sure.

@Moire9
Copy link
Author

Moire9 commented May 18, 2021

I don't know this is of use to you, but after having disabled the discussed configuration option, it no longer shows anything near the bottom when it hangs.

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