On Wed, 7 Feb 2024 21:41:10 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Requesting content layout when font changes.
>> 
>> This change makes the visual impact of 
>> [JDK-8314683](https://bugs.openjdk.org/browse/JDK-8314683) more visible, so 
>> perhaps both bugs should be fixed at the same time.
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   whitespace

The flickering looks to be gone now but I see another issue. When the font size 
is changed from larger value like 144 to a smaller value like 10, the position 
of text in the TextArea shifts.
<img width="1624" alt="Screenshot 2024-02-08 at 3 35 50 PM" 
src="https://github.com/openjdk/jfx/assets/26969459/c54a912f-535b-4745-af35-ba0825043f6e";>
When monkey tester window loses focus, it goes back to the original position.

Steps to reproduce the issue:
1. Open the MonkeyTester with TextArea having larger font size like 144. (If 
smaller font size is present, change the font size without clicking on the text)
2. Click on the text to get caret.
3. Change font size to 10.
4. Click on the text to get caret again, the text shifts.

Not sure if this is related to the other issues you have mentioned in this PR 
before.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1217#issuecomment-1933759782

Reply via email to