[Xojo 2024r4.2] Alles Ist Private

New Project,
Add Controls,

work a little bit,

and at a moment you see something strange on the Navigation pane: “I feel there is a red square around all my controls”

So, I select one and look at the Properties… its scope is set to Private.

So are all other Controls.

Is my MacBook Pro 13" m1 sick or Xojo had a change I do not read about, yet ?

First thing I’d try would be to quit Xojo and open it again. The IDE can go wonky after running for many days (in my experience). Then again I’ve never experienced controls suddenly switching to private.

Yes, I saw that before. I think somewhere is a setting to decide that, but I can’t find it right now.

Do you mean this setting (Show item scope)?

But that setting only determines how private scope is indicated, not whether the scope is private in the first place. I understood that Emile hadn’t actually changed the scope himself.

I changed it only after I’ve seen the behavior.

NB: once I set all existing Controls on the window to Global, all added Controls uses that.

Do you noticed the color: more Light Pink than Red.

Happens to all new Projects since some times (a month, more ?).
Sometimes, I create a simple project only to test a Function / Feature, see if I love the idea.

Indeed the IDE assumes that you want a new item to share the scope setting you’ve used the last time. Which often happens to be true, but at times I’ve added a couple of private methods and finally a constructor – that wouldn’t work of course until I had changed its scope to public.

It surprises me, but Save As (XML in that case), stays as is for the next save(s).
I was used to “Save As…” to a new name (new Ext°, but keeps its default.

Time changing things.