Skip to content
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

8347305: RichTextArea Follow-up #1671

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andy-goryachev-oracle
Copy link
Contributor

@andy-goryachev-oracle andy-goryachev-oracle commented Jan 10, 2025

The changes:

  • minor fixes in the behavior document (DELETE_WORD_PREVIOUS)
  • Default width of RTA is less than half the size of TextArea (176 vs 478 on my Windows 11 system). Earlier the height was also too small, but you already fixed that.
  • addWithStyles --> addWithStyleNames

The following is not an issue (works as designed):

  • When running the demos, the current line highlight overlaps and obscures focus outline on right side (verified on Windows and Linux).

Progress

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

Issue

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1671

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 10, 2025

👋 Welcome back angorya! 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 Jan 10, 2025

@andy-goryachev-oracle This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8347305: RichTextArea Follow-up

Reviewed-by: kcr

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 1 new commit pushed to the master branch:

  • 0f6b8c5: 8345188: Support tree-structural pseudo-classes

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@andy-goryachev-oracle andy-goryachev-oracle marked this pull request as ready for review January 10, 2025 15:54
@openjdk openjdk bot added the rfr Ready for review label Jan 10, 2025
@mlbridge
Copy link

mlbridge bot commented Jan 10, 2025

Webrevs

@kevinrushforth
Copy link
Member

The following is not an issue (works as designed):

  • When running the demos, the current line highlight overlaps and obscures focus outline on right side (verified on Windows and Linux).

It might just be an issue with the demo, because I don't see it on a simple test program I wrote. Whether or not it works as designed, it looks ugly (and it's distracting as you navigate down the page with the keyboard). Here is a screen shot.

Screenshot 2025-01-10 080204

Anyway, I don't mind addressing this later, and not part of this PR.

@andy-goryachev-oracle
Copy link
Contributor Author

It might just be an issue with the demo,

I see "use content width" option enabled, this is not the right use case. When the RTA is constrained, the useContentWidth should be off.

@kevinrushforth
Copy link
Member

It looks like you missed capturing the bug for this comment. The second example in the RTA class docs doesn't compile. It needs to be updated to reflect an earlier change in the API:

addWithStyles --> addWithStyleNames

Can you either fix it as part of this PR or file a new bug?

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openjdk openjdk bot added the ready Ready to be integrated label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready to be integrated rfr Ready for review
Development

Successfully merging this pull request may close these issues.

2 participants