Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: Default new tab of a workspace does not open in the selected container #1190

Closed Zeit08 closed 1 month ago

Zeit08 commented 1 month ago

Pre-Submission Checklist

Bug Summary

Workspace1 has the setting to open all websites in Container1. Same for Workspace2 has the setting to open all websites in Container2, etc.

This works when I go to the Workspace and click "new tab". I see the correct color of the Container.

However when I close all the tabs in a workspace and visit it again (switch between workspaces). I am welcomed with a opened new tab. The bug is that this automatically opened new tab is not opened inside the container specified in settings. It is opened with no container.

Also another bug is that when all the tabs in a workspace are closed, Floorp automatically shows me the tabs of the above workspace, but the icon on top left still shows the previous workspace.

Reproduction Steps

  1. create 2-3 workspaces
  2. assign different containers to each workspace
  3. use the sidebar to manage workspaces
  4. try to close all tabs in a workspace
  5. go to another workspace
  6. go back to the previous workspace where you closed all tabs
  7. you see a new tab which is opened automatically with no container

Expected Behavior

automatic new tab in a workspace should open with the container setting I made.

Actual Behavior

I explained above.

Screenshots

no visual

Browser Version

11.13.3 (64-bit)

Operating System

Fedora 40

Additional Context

No response

surapunoyousei commented 1 month ago

https://docs.floorp.app/en/others/issue-checklist/

surapunoyousei commented 1 month ago

This issue is difficult to fix due to current implementation method. After switch workspaces or change tab, we cannot get data immediately.

My apologize.