Open Moire9 opened 3 years ago
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?
I believe doing that stops the issue.
No, it does not stop it.
Does it say Update the status bar
or Updating wakatime status bar
?
I am almost certain it is the second, however I will try to remember to check next I see it.
The way we "disable" the WakaTime status bar icon is having getTodayText
return empty string:
https://github.com/wakatime/jetbrains-wakatime/blob/1fbc1b8fa4b2b509b308c659a743f726c2a83ab0/src/com/wakatime/intellij/plugin/CustomStatusBar.java#L103
Instead, we can try returning false
for one or both of these methods which might prevent the prompt:
https://github.com/wakatime/jetbrains-wakatime/blob/1fbc1b8fa4b2b509b308c659a743f726c2a83ab0/src/com/wakatime/intellij/plugin/CustomStatusBar.java#L55
https://github.com/wakatime/jetbrains-wakatime/blob/1fbc1b8fa4b2b509b308c659a743f726c2a83ab0/src/com/wakatime/intellij/plugin/CustomStatusBar.java#L42
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.
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.
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.