Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sleeping Tabs host exclusion does not appear to work #1561

Open
9 tasks done
jonnypickel opened this issue Jan 2, 2025 · 2 comments
Open
9 tasks done

[Bug]: Sleeping Tabs host exclusion does not appear to work #1561

jonnypickel opened this issue Jan 2, 2025 · 2 comments
Labels
bug Something isn't working P5 Developers do not respond, only patches are welcome unconfirmed Developer has not yet confirmed.

Comments

@jonnypickel
Copy link

jonnypickel commented Jan 2, 2025

Pre-Submission Checklist

  • I have checked the existing/closed issues to ensure this issue has not already been reported.
  • I am using the latest supported version of the browser.
  • I have tried disabling all browser extensions/add-ons to rule out interference from these.
  • I have tried clearing the browser cache and cookies.
  • I have checked with a new profile and the issue still occurs.
  • I have provided detailed step-by-step instructions on how to reproduce the issue.
  • I have included relevant screenshots or console outputs.
  • I have checked that this problem is not occurring in the latest version of Firefox ESR.
  • This issue is specific to this browser and does not occur in other browsers.

Bug Summary

I have "Enable Sleeping Tabs" marked as active in about:preferences, and would like to set certain domains as excluded, namely Proton Mail and Proton Drive tabs. In the "Sleeping Tabs Settings" modal which allows the user to configure the inactive time before sleep is triggered as well as "Exclude hosts", there is no guidance as to how to format each host string. After attempting every possible combination I can think of (including the use of wildcards) tabs that contain Proton Mail and Proton Drive pages still sleep after my set time of 30 minutes.

Reproduction Steps

  1. On about:preferences, check the "Enable Sleeping Tabs" option under General>>Tabs.
  2. Click the "Settings..." button next to the "Enable Sleeping Tabs" option.
  3. In the modal, observe that there is no guidance regarding host string format. Enter something in the Exclude hosts text box, and click OK.
  4. Load at least one tab corresponding to the host string entered in the settings modal, and then allow that tab to become inactive. Observe that it will sleep despite the host being excluded.

Expected Behavior

I expect that I should be able to single out both specific pages (https://www.google.com) or entire domains/subdomains (https://*.google.com/*) so that when a tab matching one of those host strings exceeds the "Tabs will sleep after being inactive for (minutes)" setting it does not sleep.

Actual Behavior

The "Exclude hosts" box appears to do nothing, no matter what is entered into it.

Screenshots

Hard to get screenshots of a tab going to sleep when it shouldn't.

Browser Version

11.21.0 (64-bit)

Operating System

Windows 10

Additional Context

No response

@jonnypickel jonnypickel added the bug Something isn't working label Jan 2, 2025
@github-actions github-actions bot added P5 Developers do not respond, only patches are welcome unconfirmed Developer has not yet confirmed. labels Jan 2, 2025
@breadbeforerice
Copy link

For example, in this case, removing the slash will exclude it.
https://www.google.com/

https://www.google.com

@jonnypickel
Copy link
Author

jonnypickel commented Jan 4, 2025

Testing this now. Do wildcards work at all?

Edit: Set my inactivity time to 1 minute and put the following in the hosts textbox:

https://drive.proton.me
https://docs.proton.me

...and pages with URLs that start with those two domains still went to sleep after one minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P5 Developers do not respond, only patches are welcome unconfirmed Developer has not yet confirmed.
Projects
None yet
Development

No branches or pull requests

2 participants