Events do not always stay with widget/screen object when copying to another screen.

Frankc shared this problem 3 months ago
In Progress

The events do not bind reliably to screen objects/widgets. On simple screens with one or two screen objects I can copy an object to a new screen and retain the events most of the time. On screens with many objects I cannot copy objects to other screens most of the time.

I have tried it with Masters and it still does not work, which makes no sense.

It also has trouble most of the time if copying from a web screen to a mobile screen which also makes no sense.

I have been developing code for decades. I would think screens and widget objects are all classes and organized as widgets owning properties, including events via pointers or some nomenclature of your dev language.

This is seriously broken and makes the tool useless as a time saver since I have to re-create the events for each object.

Comments (9)

photo
1

Thanks for reporting this to us - we'd like to help get it resolved. So far we've been unable to reproduce the issues you've described. Would you be able to attach a .vp file or a screen recording that shows the problem? Just a note that if you want to attach a .vp, you'll need to compress it to .zip/.rar to attach it here.

photo
1

Unfortunately the other problem I am having which y'all are working on is that I am unable to save prototypes. The prototype in question is a shared prototype. I tried to save the proto so I could send it to you but it will not save. Maybe you can retrieve it from my account. The name is dsndyweb_5b.

photo
1

OK, so I got my other user (she runs Win10) to save it and it worked. Now the interesting part I compressed it as you directed and it started to attach it but then is disappears. Apparently it does not like being fooled.

BTW I am on a Macbook Pro running Catalina 10.15.5

photo
1

The file may be too large attach here. You could try uploading the file to a file sharing service like Dropbox and paste the link to it here.

photo
1

File link removed.

photo
1

Thanks for attaching that. We'll check this out and get back to you. I'll remove the file from here since we've been able to download it.

photo
1

Are the events not being copied the On Mouse Over events from the Desktop screen? If so, this is intentional, because you can't mouse over on a phone or a tablet.

photo
1

no, the event we are using is to hide. It copies sometimes but not others. It also seems to copy from web screen to web screen more reliably than from web screen to mobile (iphone) screen which makes no sense since a class should not know about its container.

photo
1

We see two events on some images on the Desktop screen - On Mouse Over + Hide and On Click + Hide. On the Phone screen, we only see On Tap + Hide events, which makes sense, since you can't mouse over on a mobile screen, and so that event would not copy over. Is it the On Click + Hide events that aren't copying over?

photo