Codium-ai / codiumai-jetbrains-release

56 stars 7 forks source link

Jcef absence message is shown even when chat is presenting #220

Closed shivaminfyom closed 2 months ago

shivaminfyom commented 2 months ago

Screenshot 2024-04-17 093233

This JCEF message appears whenever I restart my PC and open Android Studio. However, if I close Android Studio and reopen it, the message is gone. This only happens in version 0.7.31.

ArtsiomCh commented 2 months ago

Thanks for reporting! We'll investigate

ArtsiomCh commented 2 months ago

Hard to reproduce, seems like some kind of race condition on IDE startup... potential fix will be released in 0.7.33

allComputableThings commented 2 months ago

I see this in the latest PyCharm. Restarting PyCharm does not resolve it. (even after following the fix instructions).

image

allComputableThings commented 2 months ago

Worse, after installing codium and applying the suggested fixed input area no longer hold the cursor focus.

ArtsiomCh commented 2 months ago

@stuz5000 don't apply fixes if you can see chat. Those fixes only for the case when chat is not seen (due to absent/broken jcef support) If chat presented then just ignore message. Using bundled java runtime is recommended by jetbrains.

allComputableThings commented 2 months ago

Is there a way to hide the message? Also login doesnt persist between restarts.

On Fri, Apr 19, 2024 at 12:50 AM Artsiom Chapialiou < @.***> wrote:

@stuz5000 https://github.com/stuz5000 don't apply fixes if you can see chat. Those fixes only for the case when chat is not seen (due to absent/broken jcef support) If chat presented then just ignore message. Using bundled java runtime is recommended by jetbrains.

— Reply to this email directly, view it on GitHub https://github.com/Codium-ai/codiumai-jetbrains-release/issues/220#issuecomment-2065997580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJLAI66HO3K77CSTDNADY6DEDBAVCNFSM6AAAAABGKQLLWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVHE4TONJYGA . You are receiving this because you were mentioned.Message ID: @.***>

ArtsiomCh commented 2 months ago

We'll implement the fix to hide message if chat is actually shown in next 0.7.33 version

Login not persist - is another issue. It's related to the IDE access to OS secure storage. If for any reason it's broken than you'll be asked to re-login after each IDE restart. To avoid that - find why IDE is not able to access OS secure storage (usually IDE will show you message about that with the reason, check Notifications toolwindow please)

allComputableThings commented 2 months ago

find why IDE is not able to access OS secure storage

Probably because PyCharm is installed via snap? (I'm using Ubuntu) However, that doesn't prevent access to the user's home directory where all my project data lives and the login info could also be stored. Because the IDE can access and save to my home directory, this seems like a plugin problem.

ArtsiomCh commented 2 months ago

OS secure storage is not related to user's home dir. Please check for any error messages in Notifications. Also check if any exception is observed (right bottom corner, blinking red dot) "Login credentials not saved" could only be related to IDE failed to get access to OS secure storage.

allComputableThings commented 2 months ago

Moved the login issue to: https://github.com/Codium-ai/codiumai-jetbrains-release/issues/222

ArtsiomCh commented 2 months ago

Fix for JCEF absence message sometimes wrongly shown when chat presented is released at 0.7.33 PS will continue investigating credential storage issue in #222