[Bug] Position->Basis on inserted embedded views resets

Using Perspective, when you drag in a view from the Project Browser into a flex container, the Position.Basis value resets to either auto or 320px, regardless of the original container’s size.

This should probably (In my requirements) be set to keep the existing settings from the original view, I use a lot of self made resources that get dragged into containers to speed up building projects, and every time I have to work out and reset manually the basis value.

Ignition 8.1.20

I assume you mean you'd rather the default be:

grow: 0
shrink: 0
basis: <default height or width of view>

?

I don't think this is a bug, more a feature request to change existing behaviour

1 Like

That’s the basics of the issue, bug in as much as it seemingly randomly chooses this basis to be auto or 320px, so its not predictable. At least, I haven’t worked out why it selects one or the other.

I’d second that - it does seem a bit random what you get and it’s always been a bit annoying having to change it every time. I can’t remember if it still happens, but when you copy/pasted components from one flex to another, it also used to reset the position property values which was frustrating.

In a similar vein, I’d really also like to see a “revert to master” for embedded views, especially for them embedded inside of coord containers, that works in both fixed and percent modes

2 Likes

There is definitely some behaviour around this where copy pasting items in a coordinate container when in percent mode resets the position to an offscreen value and resets the size to something tiny.

I'd bet this is when you've copied something from a fixed mode coord container into a percent mode container. What should happen is that it should calculate what percent size and coords it should be based on the size of the coord container, and use that so it remains the same size as you copied

1 Like

Did I just post a separate bug into an existing bug thread... Yes, I believe this is what might be happening.