Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Mouse moving slow when executing tests with OpenJDK17
Mouse moving slow when executing tests with OpenJDK17 [message #1848570] Wed, 08 December 2021 10:06 Go to next message
Martin J is currently offline Martin JFriend
Messages: 12
Registered: November 2021
Junior Member
Hi,

We have recently switched from Java8 to OpenJDK17. In doing so we initially had some problems starting the AUT. Problems which are resloved see thread: https://www.eclipse.org/forums/index.php/t/1109511/

We have now encountered another problem which is that the mouse moves very slow when executing tests with OpenJDK17. My estimate is that it is moving at one tenth of the speed it used to.

When I switched back to Java 8 and Java 11 the mouse moves as it always have.

No other change except the one described below in the bat-script starting our application:

"C:/dev/tools/jdk/jdk-17/bin/java.exe" %DEFAULT_JVM_OPTS% %JAVA_OPTS%   com.example.ComponentMain name=com.example.release.components.gui 

"C:/dev/tools/jdk/jdk-11.0.2/bin/java.exe" %DEFAULT_JVM_OPTS% %JAVA_OPTS%   com.example.ComponentMain name=com.example.release.components.gui 


Anyone know how to resolve the problem?

Kind regards,
Martin

[Updated on: Fri, 10 December 2021 07:04]

Report message to a moderator

Re: Mouse moving slow when executing tests with OpenJDK17 [message #1848623 is a reply to message #1848570] Fri, 10 December 2021 07:07 Go to previous messageGo to next message
Martin J is currently offline Martin JFriend
Messages: 12
Registered: November 2021
Junior Member
Hi again,

Upon further testing i have found that the mouse is moving slow with both Jubula ITE and Jubula client API.

Kind regards,
Martin
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1848868 is a reply to message #1848623] Tue, 21 December 2021 15:20 Go to previous messageGo to next message
Martin J is currently offline Martin JFriend
Messages: 12
Registered: November 2021
Junior Member
Have been testing some more to see if I can solve this problem.

In the ITE I can set an environment variable to disable mouse movement like this: TEST_DISABLE_MOUSE_MOVEMENT=true

When doing so the mouse doesn't move at all and the tests executes at normal speed.

This serves as a workaround while trying to get the mouse to speed up.

Anybody got a clue why the mouse is moving slow when I change Java-versions?
Could it be a Jubula thing or is Java17 behaving in a different way?

Kind regards,
Martin J
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1849179 is a reply to message #1848868] Thu, 06 January 2022 12:20 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
We had this problem in the past, it is mostly a thing between Java and the OS. I assume that some synchronizing we do ist now slower. But that is not every time reproducable.
If the workaround works, this ist the best way at this moment, because fixing this issue might take time.

best regards
Marvin
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1849568 is a reply to message #1849179] Tue, 25 January 2022 20:56 Go to previous messageGo to next message
Montepaso Jurgis is currently offline Montepaso JurgisFriend
Messages: 4
Registered: January 2022
Junior Member
i have same issue after updating from AdoptOpenJDK-11.0.11+9 to Temurin-11.0.12+7 and up, mousse is very slow.
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1850474 is a reply to message #1849568] Fri, 04 March 2022 09:00 Go to previous messageGo to next message
Sachin Upadhyay is currently offline Sachin UpadhyayFriend
Messages: 8
Registered: January 2022
Junior Member
Hello Team,
I am working on adopting the Jubula for our Product's automation.
I too have concern related this issue.
For my system, when I have jdk-11.0.10, the Tests run smoothly.
However When we change it to jdk-11.0.13, the test run extremely slow.
Switching back to jdk-11.0.10 resolves the issue

Do we have any foresight about this issue ?
This is critical for the adaptability of Jubula in Our Project.
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1854055 is a reply to message #1848570] Fri, 29 July 2022 14:00 Go to previous messageGo to next message
Daniel Mising name is currently offline Daniel Mising nameFriend
Messages: 47
Registered: July 2014
Member
we are currently experiencing this, too

Our story goes as follows:

Current Setup is:
- Jubula 8.7.1 with embedded jre (8.x)
- Eclipse RCP Product with integrated rc.jar running with Java 11

We are coming from Eclipse RCP running in Java 8, performed an update to running it in Java 11. Our Product runs fine in Java 11 now.

We also tested the AUT-Setup with Java 11 ... but we tested with an older version (build 11.0.9+7-LTS)

Now we switched to an updated Java 11 (build 11.0.12+8-LTS-237) and started to experience slow mouse movements.

Yesterday i found this post here (thank you for posting the question and all replies, btw!) and today we performed checks with the mentioned versions of Java 11 and we can confirm the mentioned results:

Mouse movement normal-ish with Java 11 (build 11.0.10+8-LTS-162)
Mouse movement slow with Java 11 (build 11.0.12+8-LTS-237)
Mouse movement slow with Java 11 (build 11.0.15.1+2-LTS-10)

We have not yet tested with Java 17 (but the title of this thread does not instill hope in having a fix with java 17)

- Would updating to Jubula 8.8 help?
- Would setting some Jubula Environment Variables help?

Are you already informed about the described experienced behaviour? How should we proceed?

I do not feel good vibes when having to rely on an outdated older update-version of java 11 which will deviate more and more from our productive java version.

Neither i would want to stay on Java11 u10 for our Product ¯\_(ツ)_/¯

any thoughts/comments/suggestions are welcome! (I will return after having checked how java17 performs ... or how temurin fares. Happiness ensues...

cheers
Daniel
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1854142 is a reply to message #1848570] Wed, 03 August 2022 09:18 Go to previous messageGo to next message
Daniel Mising name is currently offline Daniel Mising nameFriend
Messages: 47
Registered: July 2014
Member
[removed content of 2nd post, as it did not work out as expected]

P.S.: I already posted this message ... but it somehow does not show up when you open the thread ... this is my way of trying to fix that :(

You need to click on the Arrow in the last Column "Last Message" to be able to see my replies ... when you click on the thread, they do not show up :/

[Updated on: Wed, 03 August 2022 09:21]

Report message to a moderator

Re: Mouse moving slow when executing tests with OpenJDK17 [message #1854143 is a reply to message #1850474] Wed, 03 August 2022 09:21 Go to previous messageGo to next message
Daniel Mising name is currently offline Daniel Mising nameFriend
Messages: 47
Registered: July 2014
Member
we are currently experiencing this, too

Our story goes as follows:

Current Setup is:
- Jubula 8.7.1 with embedded jre (8.x)
- Eclipse RCP Product with integrated rc.jar running with Java 11

We are coming from Eclipse RCP running in Java 8, performed an update to running it in Java 11. Our Product runs fine in Java 11 now.

We also tested the AUT-Setup with Java 11 ... but we tested with an older version (build 11.0.9+7-LTS)

Now we switched to an updated Java 11 (build 11.0.12+8-LTS-237) and started to experience slow mouse movements.

Yesterday i found this post here (thank you for posting the question and all replies, btw!) and today we performed checks with the mentioned versions of Java 11 and we can confirm the mentioned results:

Mouse movement normal-ish with Java 11 (build 11.0.10+8-LTS-162)
Mouse movement slow with Java 11 (build 11.0.12+8-LTS-237)
Mouse movement slow with Java 11 (build 11.0.15.1+2-LTS-10)

We have not yet tested with Java 17 (but the title of this thread does not instill hope in having a fix with java 17)

- Would updating to Jubula 8.8 help?
- Would setting some Jubula Environment Variables help?

Are you already informed about the described experienced behaviour? How should we proceed?

I do not feel good vibes when having to rely on an outdated older update-version of java 11 which will deviate more and more from our productive java version.

Neither i would want to stay on Java11 u10 for our Product ¯\_(ツ)_/¯

any thoughts/comments/suggestions are welcome! (I will return after having checked how java17 performs ... or how temurin fares. Happiness ensues...

cheers
Daniel
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1854314 is a reply to message #1848570] Fri, 12 August 2022 17:15 Go to previous messageGo to next message
Daniel Mising name is currently offline Daniel Mising nameFriend
Messages: 47
Registered: July 2014
Member
i just realized that 11.0.16 is the most current java 11.

And there is something for swt in it ( JDK-8274751 ) \o/

https://www.oracle.com/java/technologies/javase/11-0-16-bugfixes.html

... i think we are going to try that out next. who knows, maybe/hopefully this loop was not only impacting drag'n drop

cheers
Daniel
Re: Mouse moving slow when executing tests with OpenJDK17 [message #1856657 is a reply to message #1854314] Wed, 21 December 2022 12:33 Go to previous message
Montepaso Jurgis is currently offline Montepaso JurgisFriend
Messages: 4
Registered: January 2022
Junior Member
I just tried with JVM_VERSION="11.0.17+8" and issue persis :(
Previous Topic:Building Jubula
Next Topic: unable to find table specific method for swing table(graphicscomponents)
Goto Forum:
  


Current Time: Mon Jul 15 03:30:55 GMT 2024

Powered by FUDForum. Page generated in 0.05087 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top