desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Hiding sidebar in compact mode bugs out (doesn't hide)

Open BoscoDomingo opened this issue 2 years ago • 34 comments

Captchas

  • [x] I have read the instructions.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] I am not filing an enhancement request.

What happened?

Seemingly randomly (it has happened at times when drag and dropping a web to my bookmarks toolbar) the sidebar will refuse to hide in Compact mode. Here is a screen recording of it happening:

https://github.com/user-attachments/assets/fe8dad79-2c6a-44e6-bd9f-440697892fc7

As you can see, the sidebar remains visible at all times, although the browser window does get resized correctly

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.19

What platform are you seeing the problem on?

Windows


Update 1 (1.12.10b): Workaround can be found here

Update 2 (1.12.10b): A potential lead into what may be causing it (bookmarking)

Update 3 (1.12.10b): Can be reproduced by dragging multiple tabs

BoscoDomingo avatar Nov 12 '24 09:11 BoscoDomingo

I found related issues that might be helpful:

  • https://github.com/zen-browser/desktop/issues/2826 The suggested solution is to disable the expand-on-hover feature, use the button on the top left or the keyboard shortcut Alt + b to manage the sidebar, and adjust CSS settings in the zen-compact-mode.css file. Ensure JavaScript functions like _disableTabsOnHoverIfConflict and toggleSidebar are correctly managing the sidebar's state.

  • https://github.com/zen-browser/desktop/issues/1971 This issue was closed with the suggestion that the problem appears to be fixed in version a.12.

  • https://github.com/zen-browser/desktop/issues/2015 This issue was reported multiple times and has been fixed for the next release.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Nov 12 '24 09:11 dosubot[bot]

Got this bug out of the box when installing on Windows

Filip3Kx avatar Feb 11 '25 01:02 Filip3Kx

same for me on mac

drorIvry avatar Feb 11 '25 11:02 drorIvry

Same here. Sometimes toggling on and off the compact mode solves it, sometimes not. Quitting it does, but that's not ideal.

ProHaller avatar Feb 19 '25 05:02 ProHaller

Just had this starting to happen to me... Pretty dumb.

zQueal avatar May 24 '25 00:05 zQueal

@dosubot this should be reopened

BoscoDomingo avatar May 30 '25 11:05 BoscoDomingo

@mauro-balades, the issue has been marked as stale and closed, but @BoscoDomingo believes it should be reopened. Could you please take a look and assist with this?

dosubot[bot] avatar May 30 '25 11:05 dosubot[bot]

This bug has slightly evolved. At least right clicking the sidebar re-enables the auto-hiding feature, but the bug itself is still there

BoscoDomingo avatar Jun 02 '25 18:06 BoscoDomingo

I can confirm too, this issue still exist, macOS, Sequoia 15.2

https://github.com/user-attachments/assets/10e5a410-d9e1-4e31-8091-b378f0c4b098

dedenf avatar Jun 03 '25 03:06 dedenf

Same on KDE plasma (arch linux)

https://github.com/user-attachments/assets/6102125d-c3f7-48e3-ab01-c0d7cda12c79

ghost avatar Jun 04 '25 12:06 ghost

Does pressing ctrl+alt+s toggle the situation ?

Tanay-Kar avatar Jun 07 '25 14:06 Tanay-Kar

Does pressing ctrl+alt+s toggle the situation ?

Not for me. I disabled that shortcut and I still get the bug. I can inconsistently reproduce it with bookmarking, I'll update the OP.

The bug usually happens when bookmarking by drag-and-drop instead of clicking the bookmark button, especially if the side-by-side (vertical split) tab animation happens. The final state is usually that both tabs (the bookmarked one and the one that would've been split) are highlighted, and the sidebar remains open until you right click it.

BoscoDomingo avatar Jun 09 '25 09:06 BoscoDomingo

I can consistently reproduce by moving multiple tabs up or down in the sidebar. In fact, when doing that the workaround of right-clicking no longer works, ~and a restart is required~ but you can move another tab by dragging and the sidebar goes back to normal

https://github.com/user-attachments/assets/804f3666-c340-4607-b5d3-b6df77567523

BoscoDomingo avatar Jun 10 '25 15:06 BoscoDomingo

I can consistently reproduce by moving multiple tabs up or down in the sidebar. In fact, when doing that the workaround of right-clicking no longer works, and a restart is required: 20250610_171021_zen_InewN16dQl.mp4

I was also able to reproduce this. 💯

zQueal avatar Jun 10 '25 20:06 zQueal

Hi, @BoscoDomingo. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The sidebar in Compact mode does not hide as expected during drag-and-drop actions to the bookmarks toolbar.
  • The issue persists across Windows, macOS, and Linux, confirmed by multiple users.
  • Temporary workarounds include toggling the compact mode.
  • You and zQueal identified consistent reproduction by moving multiple tabs in the sidebar.
  • You requested the issue to be reopened for further investigation.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the desktop repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Jul 12 '25 16:07 dosubot[bot]

@dosubot Still happens

BoscoDomingo avatar Jul 14 '25 08:07 BoscoDomingo

Ran into this both on my work Macbook, and my personal NixOS install. Exact same symptoms:

  1. Compact mode stays stuck open randomly, but roughly once a day for me
  2. Shortcut to show/hide has no effect
  3. Per @BoscoDomingo's suggestion, dragging tabs around unsticks the sidebar most of the time, and restarting the app always unsticks it

eldarshamukhamedov avatar Jul 23 '25 23:07 eldarshamukhamedov

after updating to the latest version the sidebar dont hide and no process works

dhrubo55 avatar Jul 30 '25 08:07 dhrubo55

Yeah this is still happening as of today, 2025-08-01

BoscoDomingo avatar Aug 01 '25 09:08 BoscoDomingo

I can also confirm this issue. Restarting fixes it...

nightshifty avatar Aug 12 '25 11:08 nightshifty