Skip to content

8341281: Root TreeItem with null value breaks TreeTableView #1767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ziad-Mid
Copy link
Contributor

@Ziad-Mid Ziad-Mid commented Apr 10, 2025

When the Root TreeItem is set to null, need to relayout to show the children items


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issue

  • JDK-8341281: Root TreeItem with null value breaks TreeTableView (Bug - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1767/head:pull/1767
$ git checkout pull/1767

Update a local copy of the PR:
$ git checkout pull/1767
$ git pull https://git.openjdk.org/jfx.git pull/1767/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1767

View PR using the GUI difftool:
$ git pr show -t 1767

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1767.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 10, 2025

👋 Welcome back zelmidaoui! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Apr 10, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@andy-goryachev-oracle
Copy link
Contributor

Good job, the fix seems to be working.

You can also try using the monkey tester to test various scenarios, I've updated it to include null values for root in the TreeTableViewPage and TreeViewPage
https://github.com/andy-goryachev-oracle/MonkeyTest

Could you also come up with a unit test(s) for the fix, that will fail in the master branch but pass with the fix, preferably a headless test?

Once you have the test, you can make this PR ready for review (RFR).

@andy-goryachev-oracle
Copy link
Contributor

andy-goryachev-oracle commented Apr 10, 2025

please ignore the failing pre-submit Windows test - we have an ongoing issue with the github actions (GHA), see https://bugs.openjdk.org/browse/JDK-8354337

@Ziad-Mid Ziad-Mid marked this pull request as ready for review April 16, 2025 14:25
@openjdk openjdk bot added the rfr Ready for review label Apr 16, 2025
@mlbridge
Copy link

mlbridge bot commented Apr 16, 2025

Webrevs

@andy-goryachev-oracle
Copy link
Contributor

if you merge the latest master branch it'll get rid of the build error on windows.

@kevinrushforth
Copy link
Member

Reviewers: @andy-goryachev-oracle @arapte

/reviewers 2

@openjdk
Copy link

openjdk bot commented Apr 28, 2025

@kevinrushforth
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfr Ready for review
Development

Successfully merging this pull request may close these issues.

3 participants