Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [Critical] Mouse-press and release-acttion are not working in a view
[Critical] Mouse-press and release-acttion are not working in a view [message #1712410] Fri, 23 October 2015 16:46 Go to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello Ulyana,

This problem is related to drag and drop (mouse actions). tests nevers ends until I stop them.

We had this test working perfectly until we had made a change in the UI. Insted of using a component, we started to use a different window. That´s all that we have changed. If I record the test again, it almost record the same with the adding of the "get-view Palette" action.

Test before change:

with [get-editor test1 {
with [get-palette | get-palette-entry "APIkit Console"] {
mouse-move 25 2 button1 -height 23 -width 186
mouse-press 25 2 button1 -height 23 -width 186
mouse-release 25 2 button1 524288 -height 23 -width 186

}
with [get-diagram | get-edit-part
-className MuleConfigurationEditPart] {
mouse-move 648 97 button1 -height 1174 -width 742
mouse-press 648 97 button1 -height 1174 -width 742
mouse-release 648 97 button1 524288 -height 1174 -width 742
}
try -times 3 -delay 1000 -command {
get-window "Select a version..." | get-button "Use newest" | click
} -catch {}
}

Test after change:

with [get-editor test1 {
with [get-view Palette | get-palette | get-palette-entry "APIkit Console"] {
mouse-move 25 2 button1 -height 23 -width 186
mouse-press 25 2 button1 -height 23 -width 186
mouse-release 25 2 button1 524288 -height 23 -width 186

}
with [get-diagram | get-edit-part
-className MuleConfigurationEditPart] {
mouse-move 648 97 button1 -height 1174 -width 742
mouse-press 648 97 button1 -height 1174 -width 742
mouse-release 648 97 button1 524288 -height 1174 -width 742
}
try -times 3 -delay 1000 -command {
get-window "Select a version..." | get-button "Use newest" | click
} -catch {}
}

However, when I try to run the test , it never ends. I have to stop it and a error is thrown. We dont know why it is going on.

I have a link to download the AUT to reproduce the issue. Windows (64 bits) and Mac.

http://mule-studio.s3.amazonaws.com/nightly/AnypointStudio-for-macosx-64bit-5.4.0-201510231204.zip
http://mule-studio.s3.amazonaws.com/nightly/AnypointStudio-for-win-64bit-5.4.0-201510231211.zip

Steps to reproduce:
1) Create a new mule project. (Screenshot 1)
2) Open the mule configuration file from the package explorer. (Screenshot 2)
3) Run the test.

ISSUE: Nothing appears to happen. You have to kill the test.


This bug is critical for us because it leaves more than 100 test unsuable.

If you need more information , feel free to contact me to make a Webex.

Mail: agustin.celentano@mulesoft.com.


Regards,

Agustín Celentano
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1712499 is a reply to message #1712410] Mon, 26 October 2015 06:54 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

I've reproduced the issue and filed a bug here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=480608

I've set 2.0.2 as a Target Milestone so it should be fixed shortly.

Kind regards,
Ulyana.
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1712819 is a reply to message #1712499] Wed, 28 October 2015 13:57 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello Ulyana,

Thanks!. Please, let me know if there are any news.

Regards,

Agustín
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1714201 is a reply to message #1712819] Tue, 10 November 2015 17:20 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hi Ulyana,

I´ve just tested our test in the new RCPTT 2.0.2 but the problem still remains. is there anything special that we have to do?


Regards,

Agustin Celentano
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1714245 is a reply to message #1714201] Wed, 11 November 2015 03:34 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

Please sorry for that, the issue is still not fixed yet. We are working on the issue right now, I'll come back to you shortly.

Kind regards,
Ulyana.
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1714418 is a reply to message #1714245] Thu, 12 November 2015 14:14 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello Ulyana,

Thanks for the update!. Please let me know if there is something that we can do to test the fix as a nightly build or something.

Thanks again!

Agustin Celentano
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1714698 is a reply to message #1714418] Mon, 16 November 2015 06:11 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

I've got a feedback from our dev team:

Quote:
...after I couldn't find anything wrong with our aspects involved in the infinite display event loop I tried disabling sending different combinations of events in RCPTT's event processors: The bug occurs exactly if we send a mouse down event. Then I realised that I could make an otherwise passing test fail by manually clicking on the "APIkit Console" entry before that ...

I think the tool simply discovered a genuine bug in Anypoint Studio that a manual tester would have missed: If you click on "APIkit Console" or any other palette entry, CPU usage goes to 100% because it continuously repaints parts of the UI and never goes idle. I tried that with a clean installation of Anypoint Studio, so it has nothing to do with RCPTT.


So it seems you have a bug in Anypoint Studio.
Anyway, on our side we should change RCPTT logic to have more informative message for such hangs, so in case we detect Display.sleep is not called for a sometime period we need to have a proper entry in out error log. And in case of runner this should be one of points for immediate AUT restart.

Kind regards,
Ulyana.
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1714758 is a reply to message #1714698] Mon, 16 November 2015 12:34 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello Ulyna,

What I don´t understand is why it was working before these changes. We only changed the view of the palette. However, our team will check your observations.

Regards,

Agustín Celentano.


[Updated on: Mon, 16 November 2015 12:40]

Report message to a moderator

Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1715364 is a reply to message #1714758] Mon, 23 November 2015 03:19 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

Any update on this?

Kind regards,
Ulyana.
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1715423 is a reply to message #1715364] Mon, 23 November 2015 13:50 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
I have talked to the guys but we could not reproduce the issue.. 100% cpu never happens. For now, we´ve excluded thoses tests and replace them. Did you profile it? We did it but nothing.

Regards

Agustin
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1715498 is a reply to message #1715423] Tue, 24 November 2015 06:26 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Agustin,

No, we didn't. We just used the downloaded binary without any modifications and watched its CPU usage go to 100% in the Windows System Monitor.

Kind regards,
Ulyana.
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1715624 is a reply to message #1715498] Tue, 24 November 2015 18:09 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello,

There is a spike to 100% CPU each time you drag and drop an item of the palette. However, Studio idles it.

Regards,

Agustin
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1718360 is a reply to message #1715624] Tue, 22 December 2015 21:59 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello Ulyana,

We did some changes in order to fix this problem but it still happens. Would be possible to try again to check this problem? I attached the last AnypointStudio version. Please let me know if you need more information.

http://mule-studio.s3.amazonaws.com/5.4.1-NOV15/AnypointStudio-for-macosx-64bit-5.4.1-201512161232.zip
http://mule-studio.s3.amazonaws.com/5.4.1-NOV15/AnypointStudio-for-win-32bit-5.4.1-201512161232.zip
http://mule-studio.s3.amazonaws.com/5.4.1-NOV15/AnypointStudio-for-win-64bit-5.4.1-201512161232.zip
http://mule-studio.s3.amazonaws.com/5.4.1-NOV15/AnypointStudio-for-linux-64bit-5.4.1-201512161232.tar.gz

Thanks in advance

Agustin
Re: [Critical] Mouse-press and release-acttion are not working in a view [message #1724763 is a reply to message #1718360] Thu, 25 February 2016 19:04 Go to previous message
Matias Pentreath is currently offline Matias PentreathFriend
Messages: 17
Registered: August 2013
Junior Member
Hi Ulyana,

In Studio 5.4.2 we fixed the issue mentioned with the palette and the memory leak.

Here are the links to our latest release
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/AnypointStudio-for-linux-32bit-5.4.2-201602191313.tar.gz
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/AnypointStudio-for-linux-64bit-5.4.2-201602191313.tar.gz
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/AnypointStudio-for-macosx-64bit-5.4.2-201602191313.zip
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/AnypointStudio-for-win-32bit-5.4.2-201602191313.zip
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/AnypointStudio-for-win-64bit-5.4.2-201602191313.zip
https://mule-studio.s3.amazonaws.com/5.4.2-NOV15-U2/studio-update-site-5.4.2.zip


But the issue is that we are still having the same problem with the mouse-press / mouse-release. Will it be possible for you to verify this issue again with this version? Thanks for your help on this matter
Previous Topic:RCPTT workspace full path
Next Topic:Encrypt String
Goto Forum:
  


Current Time: Sat Apr 13 06:54:12 GMT 2024

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

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

Back to the top