Truncation tooltip fires on the row-actions cell: hovering a menu item shows "Preview Edit Delete" as a native title

已关闭 适合新手
#8,432 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #8509 来自 @delchev —— 已合并

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript
领域
frontend

调研方向

提示框逻辑位于 application-core/shell/js/app.js 的第 414-426 行附近,在第 454 行附近作为表格的 mouseover 绑定。请先阅读 event.target.closest('td, th') 如何选中单元格,以及 isCut() 如何测量它,因为行操作 <td> 中展开的 <ul x-h-menu> 会导致测量值偏大。完成的标准是:悬停在行操作菜单项上时不再设置 title,对于 [data-row-actions] 单元格以及 [role=menu] 内的目标提前返回,同时普通的被截断单元格仍然显示提示框。

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

描述

Reported (reviewer, row 14.2)

Hovering an option of a list row's action menu (Preview / Edit / Delete) for a moment shows a second, smaller "menu" with the same options. Looks unfinished.

Verified (origin/master 80018cafa9)

It is the native title tooltip of the truncation helper (#7512): application-core/shell/js/app.js:414-426, bound as a table mouseover (:454). event.target.closest('td, th') resolves to the row-actions cell, because the floating <ul x-h-menu> lives inside that <td>; isCut() measures the whole cell including the open menu, finds it cut, and sets title = textContent = "Preview Edit Delete".

Decided (owner, 2026-11-03)

tooltip() returns early for [data-row-actions] cells and for targets inside [role=menu] (or measure only the cell's own text).

Source: external accounting review (BG), round 3 (2026-11-03), Reviewer-Discussions/REVIEW_ACCOUNTING_COMMENTS_2026-11-03.md

主要语言
Java
星标
278
派生
97
平均合并
12 小时 43 分钟
30 天内合并 PR
296

环境准备

从这里开始

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

eclipse-dirigible/dirigible 的其他 Issue

查看 eclipse-dirigible/dirigible 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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