The main Options dialog window has buttons with OK on the left instead of on the right on Linux
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
打开 Options Dialog and SPI package 中的 OptionsDisplayerImpl.java,检查第 175 行附近的按钮顺序逻辑。将其与 NbPresenter.java 第 647 行附近对 useMacButtonOrder 的处理进行比较,然后在 Linux 上从 Tools 菜单重现 Options 对话框。完成标准是 OK 按钮与其他 NetBeans 对话框一致地显示在右侧。
由索引模型根据 Issue 内容生成。
描述
Apache NetBeans version
Apache NetBeans 28
What happened
Problem:
On Linux, unlike other Netbeans dialog boxes where the OK button is on the right, the main Options dialog window has buttons with OK on the left.
I am refering to Netbeans 26 but maybe in following version as well.
The fix has to do with this:
Package: "Options Dialog and SPI"
File: OptionsDisplayerImpl.java
Line: 175
Line says: boolean isMac = Utilities.isMac();
It should say: boolean useMacButtonOrder = shouldUseMacButtonOrder();
In other netbeans dialog boxes, it is correct:
Like in NbPresenter.java:
./core.windows/src/org/netbeans/core/windows/services/NbPresenter.java:647:
final boolean useMacButtonOrder = shouldUseMacButtonOrder();
Many thanks.
Language / Project Type / NetBeans Component
No response
How to reproduce
Open the Options window from the Tools menu.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Linux
JDK
openjdk version "17.0.16" 2025-07-15
Apache NetBeans packaging
Apache NetBeans platform
Anything else
No response
Are you willing to submit a pull request?
No
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 939
- 平均合并
- 4 天 21 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/netbeans 的其他 Issue
-
Contribution welcome kind:feature Platform
难度 2/5 1-3 小时 新手友好度 72/100
apache/netbeans#9614 · 2 条评论 ·
维护者通常 1 天内回复
-
kind:bug LSP needs:triage
难度 2/5 1-3 小时 新手友好度 78/100
apache/netbeans#9548 · 1 条评论 ·
维护者通常 1 天内回复
-
Editor Java kind:feature needs:triage
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
kind:bug needs:triage
难度 1/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Java kind:bug needs:triage pending-response
难度 4/5 3-5 天 新手友好度 22/100
apache/netbeans#9685 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
[Bug] AI unread message badge counts a batch of new bubbles as one message可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
apache/rocketmq-dashboard#5784 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
PCL-Community/PCL-CE#3658 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Team/Identity Server Core Type/Improvement U2
难度 2/5 1-3 小时 新手友好度 62/100
wso2/product-is#28553 ·
维护者通常 1 天内回复
-
frontend
难度 1/5 1 小时以内 新手友好度 72/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#116 ·
维护者通常 2 天内回复