owncloud / owncloud/ocis

Possible 5-tab limit within same browser session

Open
#10,658 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
When opening new tabs within a browser session in any browser, there seems to be a 5-tab limit after which new pages will not load and existing pages will not reload. For instance, if I open 6 tabs, the 6th will not load and the first tab, if refreshed, will not reload; after closing the 6th tab, all pages will load again. Even after hitting this limit in one browser session, I can open a new "In Private" window and load additional pages until I hit the 5 page limit on the same machine, or go to another machine and open 5 tabs on that machine. So it seems isolated to the browser session. But within a session, I cannot open anymore than 5. This may not be a bug, but I was unable to find any documentation addressing this behavior. If it isn't a bug and by design, the behavior should ideally be documented somewhere and is this configurable?

## Steps to reproduce
1. Setup OCIS Server using the provided docker compose file:
https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_full/ocis.yml.
2. Login as admin or any user.
3. Open 5 tabs (CTRL click to open text files in a new tab or just duplicate the tab, for instance).
4. The 6th tab should not load and refreshing any of the original tabs will not reload.
5. Closing any tab that brings the count to 5 or less, will cause all other unloaded tabs to load again or become reloadable.

## Expected behavior
I expected to be able to open more than 5 tabs of OCIS web at the same time. If there is a tab limit for a given browser session, the behavior should be clearly documented somewhere. If this is configurable, this should also be documented somewhere. Ideally, unless there is a technical reason this can't be done, I would expect this behavior/limit to be configurable via configuration file or environment variable either to set/remove the limit.

## Actual behavior
I was not able to open more than 5 tabs of OCIS web in a given browser session or reload existing tabs once exceeding this limit. I was able to open additional tabs in a separate "In Private" window or a browser on another machine against the same OCIS instance but I also hit the 5-tab limit in these browser sessions as well. There are no errors displayed in the container log.

## Setup
The server was started via podman with image tagged **owncloud/ocis:7.0.0-rc.2** and using the configuration example here (with the only apparent difference being the URLs): https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_full/ocis.yml.

## Additional context
The server is running in podman with image tagged **owncloud/ocis:7.0.0-rc.2** on a server behind haproxy. Tested in both Chrome and Firefox. Both the server and client host machines are running RHEL 9.4. The rest of the software is working as expected.

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.