Menu dropdowns displaced on Ubuntu 20.04 LTS (X11)

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
desktop

调研方向

使用 issue 中描述的环境,在 X11 下的 Ubuntu 20.04 LTS 上复现菜单行为,然后定位负责主菜单下拉菜单的代码。当下拉菜单出现在正确的垂直位置,并且鼠标交互始终正常工作时,即表示完成。

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

描述

bug JavaFX platform-specific-bug

Describe the bug

When clicking the main menu items, the dropdown menus do not appear in the right locations. They seem to be vertically offset by 25 pixels. This also causes odd mouse interaction behavior with the menus, since clicking on them does not consistently work when offset like this.

To Reproduce

Steps to reproduce the behavior:

  1. Have similar specs:
OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1) - 64-bit Server VM
Linux 5.4.0-47-generic #51-Ubuntu x86_64 GNU/Linux
Ubuntu 20.04 (focal) LTS
  1. Use menu options on applicable X11 system

Screenshots

image

主要语言
Java
星标
7.5k
派生
549
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

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

Col-E/Recaf 的其他 Issue

查看 Col-E/Recaf 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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