Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The main Options dialog window has buttons with OK on the left instead of on the right on Linux

オープン 初心者向け
#9,024 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java
領域
desktop

調査の方向性

Options Dialog and SPI package の OptionsDisplayerImpl.java を開き、175 行目付近のボタン順序のロジックを調べます。NbPresenter.java の 647 行目付近にある useMacButtonOrder の処理と比較し、Linux 上で Tools メニューから Options ダイアログを再現します。完了条件は、他の NetBeans ダイアログと一貫して OK ボタンが右側に表示されることです。

索引モデルが issue の本文から書いたものです。

説明

kind:bug needs:triage os:linux os:macos Platform UI
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日 14時間
マージ済み PR(30日)
26

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/netbeans のほかの issue

apache/netbeans の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。