On Tue, 28 Jul 2026 03:06:29 GMT, Jyothilekshmi <[email protected]> wrote:

>> Please review this change that updates test instructions and adjusts the 
>> ProblemList entry.
>> 
>> **Summary:**
>> JDK-8001150: Fixed instruction ambiguity and added clearer test instructions.
>> 
>>   Tested Platform:
>>   Linux
>> 
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Jyothilekshmi has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Updating the ProblemList entry

test/jdk/java/awt/xembed/server/TestXEmbedServerJava.java line 46:

> 44:         System.setProperty("sun.awt.xembedserver", "true");
> 45: 
> 46:         String instruction =

<img width="1038" height="436" alt="image" 
src="https://github.com/user-attachments/assets/c04566f1-95b9-4bff-89e6-fc3f89ef99bc";
 />
Исправленный вариант:

This does not look user-friendly.

The instruction window is obscured by the test window. In addition, the 
instructions are not fully visible because the window is too small, so the user 
has to manually adjust the window position and size for every test run.

BTW, this may be a good candidate for using `PassFailJFrame`.

test/jdk/java/awt/xembed/server/TestXEmbedServerJava.java line 50:

> 48:             "You may start XEmbed client by pressing 'Add client' 
> button.\n" +
> 49:             "Check that focus transfer with mouse works, that focus 
> traversal with Tab/Shift-Tab works.\n" +
> 50:             "Check that XEmbed server client's growing and shrinking.\n" +

It's probably worth clarifying that "growing and shrinking" should occur when 
the "Increase/Decrease size" buttons are pressed.  At first, I tried resizing 
the window manually.

test/jdk/java/awt/xembed/server/TestXEmbedServerJava.java line 53:

> 51:             "Check the keyboard input works in both text fields.\n" +
> 52:             "  - Input some sample text into the server text field.\n" +
> 53:             "  - Drag the text in the server text field and drop it to 
> the left or right of the existing text within the same text field.\n" +

This doesn't work well for me.

<img width="241" height="39" alt="Image" 
src="https://github.com/user-attachments/assets/baa85e74-91e1-41b9-a1a0-82280bc20108";
 />

When I drag and drop text, several characters are selected. When this happens, 
I expect only the selected text to be pasted, but instead the entire text is 
pasted, and on the wrong side (in the screenshot, I dragged the text to the 
left, but it was pasted to the right).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31546#discussion_r3668028543
PR Review Comment: https://git.openjdk.org/jdk/pull/31546#discussion_r3667939111
PR Review Comment: https://git.openjdk.org/jdk/pull/31546#discussion_r3667978001

Reply via email to