zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
18.02k stars 439 forks source link

Duplicate Workspace indicator on tab bar #2805

Open veryloooong opened 3 days ago

veryloooong commented 3 days ago

Captchas

What happened?

Previously on 1.0.1-a.17, the workspace indicator is at the bottom left of the tab bar, and can be left-clicked to select a workspace. image

But when updated to 1.0.1-a.18, there is another workspace indicator at the top, which cannot be left-clicked, only right-clicked. image

I have tried to disable this using config flag zen.workspaces.show-workspace-indicator but it doesn't seem to work when the tab bar is collapsed.

I can remove the bottom indicator with the Firefox customise option, but the top indicator cannot be clicked, which is an annoyance.

Reproducible?

Version

1.0.1-a.18

What platform are you seeing the problem on?

Windows

Relevant log output

No response

dosubot[bot] commented 3 days ago

Hey @veryloooong, I'm here to help you with any bugs or questions you have. I can also assist you in becoming a contributor. Let's tackle this issue together!

I found a similar open issue titled "Workspace Indicator when sidebar is collapsed feels redundant" which might be related to your problem. This issue is still open and has no comments or solutions yet.

To address the problem of the duplicate workspace indicator on the tab bar in version 1.0.1-a.18, you can manually hide the top indicator using a CSS rule. Add the following CSS to your custom stylesheet or userChrome.css file to hide the #zen-current-workspace-indicator:

#zen-current-workspace-indicator {
  display: none !important;
}

This should help in hiding the top workspace indicator regardless of the configuration flag [1].

To continue talking to Dosu, mention @dosu.

jasiralavibiztripz commented 2 days ago

It doesn't align well and takes up realestate. Please add a toggle button somewhere in the settings and make it optional (so we can remove it). Optionally you can make it visible on expanded sidebar and hide in compact mode.