desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Tabs Do Not Expand On Hover After Toggling Compact Mode

Open Espasant3 opened this issue 2 years ago • 6 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?

Description:

If you enable compact mode and disable it if you have in the appearance settings selected that tabs expand on hover, when compact mode is disabled, the browser will behave as if it had it set to "do not expand tabs by default".

Steps to reproduce:

  1. Open Zen Browser.

  2. Activate Compact Mode using keyboard shortcut or directly from settings.

  3. Deactivate Compact Mode using keyboard shortcut or directly from settings.

  4. Ensure that in Look and Feel settings, in the "Sidebar and tabs layout" section the option for tabs to expand on hover is selected.

  5. Try to expand a tab on hover and check the settings.

Expected Behavior:

Tabs should expand when the mouse hovers over them even if i have enabled and disabled the compact mode.

Actual Behavior:

After deactivating Compact Mode, the browser behaves as if the "do not expand tabs by default" option is selected, despite the appearance settings being configured to expand tabs on hover.

Alternative solution:

It could be warned that the compact mode changes the usage settings and when it is activated that it automatically switches to the "do not expand tabs by default" behavior. It will also need to be warned in the settings in the "Sidebar and tabs layout" section in the same way that expanding tabs on hover option is reported doesn't work in compact mode.

Reproducible?

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

Version

1.0.1-a.17

What platform are you seeing the problem on?

Windows, Linux

Relevant log output

No response

Espasant3 avatar Nov 02 '24 02:11 Espasant3

Hey @Espasant3! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together.

There is a known issue related to the behavior you're experiencing. The problem arises because the toggleExpand function in the Zen Browser codebase sets the preference zen.view.sidebar-expanded.on-hover to false when the sidebar is expanded, which disables hover detection. This setting is not automatically reverted when Compact Mode is toggled off, leading to the behavior you described [1][2].

Additionally, there is an open issue titled Sidebar Expand Setting Incorrectly Reverts to Default After Disabling Compact Mode that might be related to your problem. This issue is still open and was last updated on October 15, 2024 [3].

You might want to follow that issue for updates or potential fixes.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Nov 02 '24 02:11 dosubot[bot]

@dosu i found this problem too in linux (i forgot at first to put it in the issue so i edited later) which led me to think that it was somehow different, but it is true that the core problem is the same as the issue you just mentioned so it cannot be considered a new issue.

Espasant3 avatar Nov 02 '24 02:11 Espasant3

¡Hola @Espasant3! Parece que estás compartiendo tus pensamientos sobre un problema que encontraste. Sin embargo, mi función principal es ayudarte con bugs, preguntas técnicas y conocimientos de ingeniería. Si crees que debería haber respondido a esto de otra manera, no dudes en contactar al Dosu Team. ¡Estoy aquí para ayudarte con cualquier otra consulta técnica que tengas! 😊

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Nov 02 '24 02:11 dosubot[bot]

Same issue

0xFFord avatar Nov 08 '24 20:11 0xFFord

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

Issue Summary:

  • You reported a bug in the Zen Browser where tabs fail to expand on hover after Compact Mode is turned off.
  • The issue is linked to the toggleExpand function, which incorrectly disables hover detection.
  • You confirmed the issue occurs on Linux and aligns with an existing issue about sidebar settings.
  • Another user, peter34245, also reported experiencing the same issue.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the desktop repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Dec 09 '24 16:12 dosubot[bot]

As for version 1.0.1-a.22, I can confirm that the bug still persists.

Espasant3 avatar Dec 09 '24 17:12 Espasant3