FreeTubeApp / FreeTubeApp/FreeTube

[Feature Request]: do not inhibit screensaver when freetube is minimized

Open
#8,220 0 comments 1 reaction 0 assignees View on GitHub
E: improvement existing feature
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 14h
Merged PRs (30d)
62

Description

### Guidelines

- [x] I have [searched the issue tracker for open and closed issues](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+sort%3Arelevance-desc) that are similar to the feature request I want to file, without success.
- [x] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the feature request I want to file, without success.
- [x] This issue contains only one feature request.
- [x] I have read and agree to follow the [rules](https://docs.freetubeapp.io/community/rules/).

### Problem Description

Hello,

(see also: https://github.com/FreeTubeApp/FreeTube/issues/8219 )

steps to reproduce:

1. have an-up-to date manjaro xfce installed
2. issue the command `LANG=C xfce4-screensaver-command -q`
3. verify that the output is:
```
The screensaver is inactive
The screensaver is not inhibited
```
4. start freetube
5. start playing a video that is long enough so that you can do the following comfortably while the video is playing (in my experience 1 minute is enough):
6. wait for video to start to play
7. verify that your video plays fine
8. issue the command `LANG=C xfce4-screensaver-command -q`
9. verify that according to the previous output screensaver is inhibited
10. minimize your freetube window
11. issue the command `LANG=C xfce4-screensaver-command -q`
12. verify that according to the previous output screensaver is STILL inhibited (expected behaviour: it shouldn't)
13. click to "subscriptions" in freetube
14. issue the command `LANG=C xfce4-screensaver-command -q`
15. verify that according to the previous output screensaver is NOT inhibited

### Proposed Solution

screensaver should not be inhibited when freetube window is minimised
screensaver should be inhibited when freetube window is minimised, but the picture-in-picture mode is active
screensaver should not be inhibited when freetube window is minimised, but the picture-in-picture mode is active but the picture-in-picture miniwindow is minimised as well

### Alternatives Considered

can't think of any, sorry

### Issue Labels

improvement to existing feature

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.