ChrisCarini / jetbrains-auto-power-saver

A plugin for JetBrains IDEs which automatically enables / disables power save mode based on window focus
https://plugins.jetbrains.com/plugin/11941-automatic-power-saver
Apache License 2.0
19 stars 4 forks source link

No git highlights with the plugin enabled #318

Closed rvoitenko closed 6 months ago

rvoitenko commented 7 months ago

Hello,

I don't know if this 100% related to the plugin, but for the Idea CE 2023.3.3-2023.3.6 I can't see Gutter modified lines highlights with the plugin enabled(Settings->Version Control->Confirmation-> Highlight modifies lines in the editor). I did a lot of experiments while trying to enable/disable different plugins, and in the end, I found that when Power Saver plugin enabled, I have this problem. The behavior is the following:

Previously I solved the problem by downgrading Idea CE to version 2023.3.2. But with versions after 2023.3.2, only disabling Power Saver helps.

ChrisCarini commented 7 months ago

Hi @rvoitenko - first off, thank you for using the plugin, and thank you for opening this issue.

Do you mind trying something out so that we can try to identify if it is in fact this plugin causing the issue or not?

Please try:

  1. uninstalling the plugin from your IDE, and restarting the IDE.
  2. when the IDE is reopened, open a file that is tracked by VCS and has modifications - confirm if the gutter highlights are shown or not. (should be shown)
  3. next, try manually enabling power-save mode (File -> Power Save Mode, or if you have the icon in the bottom bar) - confirm if the gutter highlights are shown or not (should not be shown)
  4. next, try manually disabling power-save mode (same steps as above) - confirm if the gutter highlights are shown or not (should be shown)

Best, Chris

rvoitenko commented 7 months ago

Hi @ChrisCarini,

Thank for tips! You're right, it's not the plugin causing the problem, but Idea power save mode. I got the same issue when enabled it manually. It seems like the issue was already reported here https://youtrack.jetbrains.com/issue/IDEA-331139

lkraav commented 7 months ago

Thanks for the find, I just noticed the same thing recently.

ChrisCarini commented 7 months ago

@rvoitenko - thanks for (double) checking! I'm both glad and sad that it's in IDEA code - glad, because this plugin won't likely need to change anything (less/no work for me); sad because our hands are tied waiting for JetBrains to investigate + fix + release new IDEs w/ respective change(s). :(

Let's try to keep pushing on the ticket you found (https://youtrack.jetbrains.com/issue/IDEA-331139) 🤞

ChrisCarini commented 7 months ago

Looks like ☝️ issue on YouTrack is now marked as "Fixed" - I still see this issue in IJ 2024.1, so I've asked JetBrains what version we should expect to see this bug fixed in. Hopefully very soon 🤞

rvoitenko commented 6 months ago

The issue has been finally solved in 2024.1.1. @ChrisCarini thanks for pushing Jetbrains in the Youtrack :)

ChrisCarini commented 6 months ago

@rvoitenko - nice! Thank you for the heads up and confirmation that the issue is fixed! I just confirmed as well it appears to be fixed! 🎉

@all-contributors please add @rvoitenko for bug, research and userTesting

allcontributors[bot] commented 6 months ago

@ChrisCarini

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

I've put up a pull request to add @rvoitenko! :tada: