eonpatapon / gnome-shell-extension-caffeine

Disable screensaver and auto suspend
GNU General Public License v2.0
559 stars 107 forks source link

Caffeine losing state after few minutes #60

Open Vinibo opened 8 years ago

Vinibo commented 8 years ago

I've updated the extension through Gnome Extensions (https://extensions.gnome.org/extension/517/caffeine/) and since the last update, Ceffeine is resetting its state after few minutes, even if the computer is under use.

The result is that even if I click on the extension to keep my screen on, after 5 minutes the screen is shutdowned.

I've observed this behavior on two different machines, a laptop and a desktop. Both are running the latest stable Gnome version (3.18.2) on Archlinux.

Vinibo commented 8 years ago

Okay I did test it and it took 30 minutes to be resetted. All the time I was doing something with the computer.

Vinibo commented 8 years ago

There is no errors reported in Looking Glass.

eljenso commented 8 years ago

I'm not able to reproduce your error, running Fedora 23 with Gnome 3.18.4.

Currently, caffeine does not store the state anyhow. That means, if caffeine is restarted it will be disabled. Maybe something causes caffeine (or even gnome) to restart?

Vinibo commented 8 years ago

Maybe, I can only confirm you that I'm not doing an Alt+F2, r :) Is there anything I can do to give you more information?

eonpatapon commented 8 years ago

Maybe check if gnome-session-manager doesn't restart for some reason.

Also do you have configured some application to activate caffeine automatically ?

Vinibo commented 8 years ago

I don't use apps/scripts to interact with Caffeine but it's not the single extension I use. Here are all the active extensions on my computers : -AlternateTab -BackSlide -Dash to Dock -Launch new instance -Media player indicator -OpenWeather -Place Status Indicator -Removable Drive Menu

Now that I goes through the list, BackSlide is changing my wallpaper every 30 minutes and it was "hacked" to work on Gnome 3.18 (not simply with metadata.json). I will investigate on that.

On the gnome-session-manager lead, is there a log or something where this information could be? I checked dmesg and Xorg logs but nothing really useful showed up.

Vinibo commented 8 years ago

Sorry for the delayed response but as far as I tested, it happens with or without BackSlide activated.

Maybe if I could run an older version, it might help to find the issue.

eljenso commented 8 years ago

To run an older version, you must first uninstall your current installation of the plugin. Then follow the git installation instructions in the readme (here).

After you did this, you run the following command in that folder git reset --hard 801064d

This will reset your local installation to the version from November.

jonafato commented 4 years ago

Has anyone been able to reproduce this?

stuarthayhurst commented 1 year ago

Since nobody has been able to reproduce this in the last ~7 years, this should probably be closed. If anyone can reproduce this on the latest Caffeine version with GNOME 43 / 44, let me know :)