IDE Bug?

Ive noticed that when i add a button to a container control then try to add code to its action event, there are no events in the ‘add event’ list
i have to save the project for them to appear.

this is in 2015.r4 on OSX

It has been going on for quite a while. It manifests for much more than simply buttons, but indeed, saving is the solution.

Huh. I’ve not seen this particular phenomena. I’d record a video of it happening and submit it to Feedback. It most likely won’t get fixed if it’s not in Feedback.

I have seen this more than once. it has been around a while.

it doesn’t seem to happen every time though.
i will try and track it down.

Might be related to <https://xojo.com/issue/26713>.

It is marked as Fixed & Verified. It used to happen quite often some time ago, always randomly with no chance to reproduce. I haven’t seen it for quite a long time now, at least not in Desktop projects.

[quote=242188:@Grzegorz Pawlik]Might be related to <https://xojo.com/issue/26713>.

It is marked as Fixed & Verified. It used to happen quite often some time ago, always randomly with no chance to reproduce. I haven’t seen it for quite a long time now, at least not in Desktop projects.[/quote]

It looks very much like the issue is still here. I encounter it on Mac very regularly. Not systematically, but often.

I see this type of issue constantly. I change something in the navigator and it will not register in other tabs until I close them and re-open them. Sometimes saving works and sometimes I have to save and re-open the project. Changing Inspector behaviors on classes is one area it is common as is adding event definitions. I seem to be mostly working on OS X lately so I’m not sure about Windows or Linux.

Inspector behavior is another issue. When you change inspector behavior on the class, it does not update the instance that is already on a window or webpage. I don’t think that is really a bug.

Once the instance has been created on the window, the IDE has no idea what the super is doing.

[quote=242333:@Michel Bujardet]Inspector behavior is another issue. When you change inspector behavior on the class, it does not update the instance that is already on a window or webpage. I don’t think that is really a bug.

Once the instance has been created on the window, the IDE has no idea what the super is doing.[/quote]
Good point - I know I’ve read Norman pointing that out several times. Brute force will eventually stimulate my memory cells.

For event definitions, though, I have a solution.

Let us say you are working on a CustomBevelButton and add the event definition toto.

Select the instance, and in the inspector, make its super BevelButton. Validate with Return. Then come back to Super and make it CustomBevelButton again.

Now you can add the toto event.

I’ve seen this a lot recently when I’ve been doing my iOS project. I’ll add a subclass (httpsocket), drop on the View, when I then look for Add Action , grayed out. I usually restart the IDE, will try the save method

I see that a lot, and save does solve the issue. What is strange is that it looks very much like <https://xojo.com/issue/26713> that is supposed to be fixed.