Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Cannot drag tabs into the bookmarks sidebar or the bookmark manager window

未关闭
#286 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
领域
desktop, frontend

调研方向

Start by reproducing tab dragging into the bookmarks sidebar in compact mode, from both sidebar positions, and into the bookmark manager opened with Ctrl+Shift+O. Compare the behavior with Firefox and trace the tab-tiling, sidebar visibility, and window-switching entry points. Done means all three suggested workflows work without hiding or pushing away the drop target.

由索引模型根据 Issue 内容生成。

描述

Bookmarking tabs, especially multiple tabs at once, is not a great experience on Zen at the moment ; not as good as on Firefox at least.

In Firefox, I am very fond of and used to using the bookmark sidebar to manage my bookmarks. My bookmark management routine often involves dragging multiple tabs over to the bookmark sidebar to save them in an already existing folder. It is a very intuitive workflow, and is in my opinion superior to using the "Bookmark Tabs..." button in the context menu, since you cannot put the selected tabs in a pre-existing folder this way, only in a new folder created specifically for those tabs.

Sadly, both Zen's tab tiling feature and the Zen sidebar interfere with this functionality. When the Zen sidebar is in compact mode, and the bookmark sidebar is deployed on the left of the browser, I cannot drag tabs into it because the Zen sidebar is rendered over it as long as the tabs are being dragged, making the bookmarks sidebar inaccessible.

On the other hand, when the browser sidebar is deployed on the right, trying to drag tabs into it from the Zen sidebar triggers the tab tiling feature. When moving the cursor holding the tabs above the bookmark sidebar to drop them in, the sidebar is pushed out of the way as the tab tiling features clears the right side of the screen, believing that the user wishes to tile the tabs there. Therefore, either way, it is impossible to drag tabs from the Zen sidebar into the bookmarks sidebar.

It is also not possible to drag tabs into the bookmark manager window (the one invoked with Ctrl+Shift+O by default). When the bookmarks manager is open, grabbing tabs from the sidebar will pull the main browser window to the foreground, hiding the bookmarks manager window underneath. Trying to bring the browser manager back to the foreground by alt-tabbing has no effect. In fact, alt-tabbing when dragging any element of the UI (tabs, links from a web page, links from the bookmarks sidebar, etc.) has no effect.

This is not only very inconvenient, it is also a regression compared to Firefox, where both dragging tabs into the bookmarks sidebar and into the bookmark manager window are possible. (In Firefox, the bookmark manager also falls to the background upon grabbing tabs from the tab bar, but it can be brought back up by alt-tabbing.)

To remedy this, I suggest that :

  1. When in compact mode, the tab bar shouldn't be pinned open like it currently is, but instead fold back when the cursor pulls away, as usual.
  2. The tab tiling algorithm should only affect the region of the browser window actually occupied by the contents of tabs. That way, when dragging tabs over the bookmarks sidebar (which is outside of the aforementioned region since it does not render the contents of tabs), the tiling algorithm will not push it away by trying to divide the screen.
  3. When dragging elements of the UI (like tabs or links), the user should be able to switch windows.
主要语言
MDX
星标
202
派生
114
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

zen-browser/docs 的其他 Issue

查看 zen-browser/docs 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。