Problem with centerMouse()

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

User avatar
Rado1
Posts: 770
Joined: Wed May 05, 2010 12:16 pm

Problem with centerMouse()

Postby Rado1 » Mon Jun 10, 2013 9:52 pm

Usage of centerMouse() causes problems with browsing of ZApplication and AppState components in the Project tree. If centerMouse() is used in an ZExpression placed to the OnUpdate section, selecting the containing ZApplication or AppState centers mouse in the preview area and mouse cannot be used by the editor. The only way is to navigate by keyboard. I would expect that previewing components do not execute OnUpdate code.

I hope you can reproduce the problem by opening the attached project - just click the App or AppState1 in the Project tree.
Attachments
test.zgeproj
testing project
(366 Bytes) Downloaded 123 times

User avatar
VilleK
Site Admin
Posts: 1883
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Postby VilleK » Thu Jun 27, 2013 7:58 am

This is now fixed in the latest beta. Please download and try again.

User avatar
Rado1
Posts: 770
Joined: Wed May 05, 2010 12:16 pm

Postby Rado1 » Thu Jun 27, 2013 9:40 am

Great! I tested the fix and it works as expected. Thanks.


Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 1 guest