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

FormLayout target feedback is always in the top-left corner

オープン
#1,632 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

The issue is in FormHeaderLayoutEditPolicy.java lines 133-142, where feedback location is hardcoded. Look at AbstractDimensionSelectionEditPolicy.java lines 72-78 for the Swing Mig- and FormLayout approach. The fix involves calculating the feedback figure position relative to the cursor location (x+10, y+10) depending on which ruler is moved. Test by running the SWT FormLayout in 'classic' mode and moving layout lines to see if feedback follows.

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

説明

good first issue
Image

The feedback is hard-coded to be in the top-left corner of the viewer, which makes it hard to follow. When the viewer is scrolled, it's also not visible at all...

https://github.com/eclipse-windowbuilder/windowbuilder/blob/52f91b610499e2182fe5ad09908a6e0efe33dd39/org.eclipse.wb.swt/src/org/eclipse/wb/internal/swt/gef/policy/layout/form/FormHeaderLayoutEditPolicy.java#L133-L142

We should use a similar approach as used in e.g the Swing Mig- and FormLayout, where the location of the figure is at (10, y + 10) or (x + 10, 10), where (x, y) is the cursor location and depending on whether the horizontal or vertical ruler is moved. In short: The figure should be at the line we're currently moving.

https://github.com/eclipse-windowbuilder/windowbuilder/blob/52f91b610499e2182fe5ad09908a6e0efe33dd39/org.eclipse.wb.swing/src/org/eclipse/wb/internal/swing/gef/policy/layout/header/selection/AbstractDimensionSelectionEditPolicy.java#L72-L78

Hint: This selection policy is only used when using the "classic" FormLayout mode.

主要言語
Java
スター
97
フォーク
34
平均マージ
23時間 46分
マージ済み PR(30日)
51

環境構築

はじめの一歩

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

eclipse-windowbuilder/windowbuilder のほかの issue

eclipse-windowbuilder/windowbuilder の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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