RFR: 8299335: Monkey Tester Application [v9]

Karthik P K kpk at openjdk.org
Fri Apr 28 06:37:53 UTC 2023


On Thu, 27 Apr 2023 15:21:24 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Tested the Chart, ChoiceBox, ComboBox, DatePicker, Label, Spinner, Text, TextArea and TextField  controls in Monkey tester. Please find my observations below.
>> 
>> DatePicker:
>> - In date picker, click on the date picker and select a date from the popup. 
>> - Click on the date picker again. It does not respond to the first click always.
>> - This behavior is seen in other simple application as well. Not sure if this is Mac specific issue. Couldn't find a bug mentioning this issue.
>> 
>> Text:
>> - Select Text from the left side pane and select Long Text in the right side pane. 
>> - Increase the font size to 48.
>> - Either one or both the side panes gets hidden.
>> - Left side pane can be brought back by using the splitter.
>> - To reach right side option pane again, the application size needs to be increased till we see the options pane again.
>> - Should we add scroll bar instead of increasing the middle window beyond certain size?
>> 
>> TextArea:
>> 
>> - Select TextArea control from left pane and select Long text from the right pane.
>> - Increase the font size to 48.
>> - The long text is displayed in multiple line even when wrap text is not selected.
>> - Change the size of the text area using the splitter. Scrollbar gets added.
>> - Reduce the font size to 8. Scrollbar is still displayed.
>> - Now change the size of text area again using splitter. Scroll bar gets hidden.
>
> @karthikpandelu thank you for testing!
> 
>> DatePicker:
> 
> this is the issue that affects both DatePicker and ColorPicker, [JDK-8208523](https://bugs.openjdk.org/browse/JDK-8208523) [Mac, Robot] DatePicker calendar popup is not shown on second click using robot
> 
>> Text:
> 
> Good point.  The idea was to check min size within a variable width container (SplitPane) without any other nested containers.  On top of that, there is Page -> Use Preferred Size option in the main menu which removes the SplitPanes altogether for the same purpose, but perhaps we can remove all that.
> 
> edit: reworked TextPage to allow for setting wrappingWidth property.
> 
>> TextArea:
> 
> I think you've encountered
> [JDK-8298494](https://bugs.openjdk.org/browse/JDK-8298494) TextArea: vertical scroll bar not updated when font changes, though it is possible even earlier bug exists in JBS.  Could you please try searching in JBS (search field is in the top right corner of JIRA window)?
> 
> Thanks again!

Thanks for the clarifications @andy-goryachev-oracle 

> edit: reworked TextPage to allow for setting wrappingWidth property.
> 
Looks good now. Thanks.

> > TextArea:
> 
>  though it is possible even earlier bug exists in JBS. 
> 
The scrollbar issue I mentioned is reported in [JDK-8089569](https://bugs.openjdk.org/browse/JDK-8089569)

>The long text is displayed in multiple line even when wrap text is not selected.

The text getting wrapped in TextArea of Monkey Tester without selecting wrap text option initially could be Monkey tester issue?

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

PR Comment: https://git.openjdk.org/jfx/pull/1097#issuecomment-1527058096


More information about the openjfx-dev mailing list