Issue Details (XML | Word | Printable)

Key: FEST-118
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alex Ruiz
Reporter: Alex Ruiz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FEST

'enterText' not behaving correctly in vnc4server

Created: 29/Apr/09 08:57 AM   Updated: 19/May/09 01:51 AM   Resolved: 19/May/09 01:51 AM
Return to search
Component/s: Swing
Affects Version/s: FEST-Swing 1.1
Fix Version/s: FEST-Swing 1.2a2

Time Tracking:
Not Specified

File Attachments: 1. Java Source File NSMApis.java (0.8 kB)
2. Java Source File SimpleTest1.java (2 kB)
3. Java Source File Test1.java (3 kB)


Testcase included: yes


 Description  « Hide

From Olivier:

FEST behave differently between Windows and vnc4server using fixture textBox enterText.
On Windows it replace the whole text with the new one, on vnc4server, it put the text at the end of the previous one.
I don't know which one is correct.

In my case, the test are OK on Windows, but failing on vnc4server because of that.

Olivier's environment:
java.runtime.version 1.6.0_03-b05
os.arch i386
os.name Linux
os.version 2.6.26-1-amd64
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment



Alex Ruiz made changes - 30/Apr/09 12:21 AM
Field Original Value New Value
Description From Olivier:

FEST behave differently between Windows and vnc4server using fixture textBox enterText.
On Windows it replace the whole text with the new one, on vnc4server, it put the text at the end of the previous one.
I don't know which one is correct.

In my case, the test are OK on Windows, but failing on vnc4server because of that.
From Olivier:

FEST behave differently between Windows and vnc4server using fixture textBox enterText.
On Windows it replace the whole text with the new one, on vnc4server, it put the text at the end of the previous one.
I don't know which one is correct.

In my case, the test are OK on Windows, but failing on vnc4server because of that.

Oliviers environment:
java.runtime.version 1.6.0_03-b05
os.arch i386
os.name Linux
os.version 2.6.26-1-amd64
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
Alex Ruiz made changes - 30/Apr/09 12:22 AM
Description From Olivier:

FEST behave differently between Windows and vnc4server using fixture textBox enterText.
On Windows it replace the whole text with the new one, on vnc4server, it put the text at the end of the previous one.
I don't know which one is correct.

In my case, the test are OK on Windows, but failing on vnc4server because of that.

Oliviers environment:
java.runtime.version 1.6.0_03-b05
os.arch i386
os.name Linux
os.version 2.6.26-1-amd64
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
From Olivier:

FEST behave differently between Windows and vnc4server using fixture textBox enterText.
On Windows it replace the whole text with the new one, on vnc4server, it put the text at the end of the previous one.
I don't know which one is correct.

In my case, the test are OK on Windows, but failing on vnc4server because of that.

Olivier's environment:
java.runtime.version 1.6.0_03-b05
os.arch i386
os.name Linux
os.version 2.6.26-1-amd64
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
Olivier DOREMIEUX added a comment - 02/May/09 02:13 PM

A simple test to reproduce a problem with EnterText in a TextField after a Dialog show up.


Olivier DOREMIEUX made changes - 02/May/09 02:13 PM
Attachment NSMApis.java [ 41751 ]
Attachment Test1.java [ 41750 ]
Attachment SimpleTest1.java [ 41749 ]
Alex Ruiz added a comment - 02/May/09 02:20 PM

Thank you so much Olivier for your help!

-Alex


Alex Ruiz made changes - 02/May/09 02:20 PM
Testcase included yes
Olivier DOREMIEUX added a comment - 06/May/09 11:37 AM

To solve the issue I did change ActivateWindowTask

Changing :
w.toFront();
w.toFront();

To
w.toFront();
w.requestFocus();


Alex Ruiz made changes - 19/May/09 01:51 AM
Remaining Estimate 0 minutes [ 0 ]
Original Estimate 0 minutes [ 0 ]
Alex Ruiz made changes - 19/May/09 01:51 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]