Poorly formatted container selection menu when left clicking New Tab button
Preliminary Checks
- [x] I have read and understood the important section above.
- [x] I have searched existing issues and avoided creating duplicates.
- [x] I am not filing an enhancement request.
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
- [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.
What happened?
When left clicking the New Tab button in the sidebar, with privacy.userContext.newTabContainerOnLeftClick.enabled set to 'true', the container selection menu has the following problems:
- The text of each menu item cannot be clicked, and hovering over the text causes the menu item to become deselected;
- Any spaces between words in a menu item are converted into a newline:
The issue doesn't happen when the New Tab button is right clicked:
The issue also doesn't happen ~in compact mode~ when the sidebar is collapsed; left clicking the New Tab button ~in compact mode~ when the sidebar is collapsed opens the same menu as right clicking does.
Expected behavior
Each menu item should be selectable when the text is hovered and clicked, and the text should be shown on a single line unless it's impossible to fit it all in without wrapping to a new line
Actual behavior
Menu items can't be selected by clicking on the text, and the text wraps to a newline whenever there's a space even if there is plenty of room to display the entire text on one line
Steps to reproduce
- Create a container which has a space in its name, e.g. "Testing testing"
- Tick the privacy.userContext.newTabContainerOnLeftClick.enabled setting in Preferences.
- ~Make sure you're not in compact mode.~ Make sure the sidebar isn't collapsed.
- Left click the New Tab button in the sidebar.
Screenshots and videos
No response
Version
1.12.10b
What platform are you seeing the problem on?
Linux (Tarball)
What component is this issue related to?
Tabs
Relevant log output if applicable
I can also reproduce this issue on Windows and on version 1.12.9b. The issue does not occur on version 1.12.8b.
Can also reproduce using a long press/click (without the extra pref you set). Thanks for reporting.
For me it does happen in compact mode (the auto hiding one), but doesn't in the collapsed layout (where tab are only icons).
My bad, I was under the impression that "compact mode" was the collapsed sidebar layout.
I'm sure this is a terrible hack, but as a workaround I've created a userChrome.css containing this:
menupopup.new-tab-popup menuitem {
display: -webkit-box;
}
and that resolves the issue for me.
Hi, @nataliepineapple. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.
Issue Summary
- Formatting issue with the container selection menu in version 1.12.9b.
- Menu items become unclickable, and spaces convert to newlines.
- Issue does not occur in version 1.12.8b or with the collapsed sidebar layout.
- Propheticus confirmed the issue and noted it also happens in compact mode.
- You provided a userChrome.css workaround, which Propheticus confirmed as effective.
Next Steps
- Is this issue still relevant to the latest version of the desktop repository? If so, please comment to keep the discussion open.
- If no further activity occurs, this issue will be automatically closed in 7 days.
Thank you for your understanding and contribution!
This issue is still present in the latest version of Zen and unresolved.
tl;dr : long-click on the + New Tab results in a poorly formatted container selection, especially in collapsed layout:
retested and reproducible in 1.15t / 20250820110632