RFR: 8328828: Monkey Tester Application Part 4

Andy Goryachev angorya at openjdk.org
Tue Sep 10 20:28:08 UTC 2024


On Mon, 9 Sep 2024 19:36:29 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Further additions to the MonkeyTester application:
> 
> - tree/table view column property sheets ✔
> - new pages: button, checkbox, hyperlink, menu bar, radio button, toggle button, canvas, split menu button, dnd ✔
> - properties... context menu ✔
> - context menu: table columns, toolbar items ✔
> - control.context menu option
> - property monitor tool ✔
> - accessibility logging ✔
> 
> - editable combobox for double values with pre-set list (e.g. Region: min/max width etc.)
> - Page -> Snapped Split Panes menu option for the control container
> 
> This PR simply syncs up with the dev repository
> https://github.com/andy-goryachev-oracle/MonkeyTest

thank you for the suggestions!  

The workaround for now is to nuke the preferences file (I know, bad), or simply selecting the right choice in the UI.

The issue _could_ be solved by remembering `toString` (or `hash(toString)` value for privacy-conscious implementation) but there is no guarantee that we'll get an Object.toString() value instead (i.e. SomeClass at 1234).  It's even worse when the application is obfuscated - there will be no guarantee that the class names remain the same from build to build.  This is surprisingly complicated issue, I have no solution yet (see https://github.com/andy-goryachev/AppFramework from which I lifted the code with the permission of, erm, author).

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

PR Comment: https://git.openjdk.org/jfx/pull/1560#issuecomment-2341948449


More information about the openjfx-dev mailing list