panel "drag option" on 8.6.1

schlam's icon

Hello.

I do not menage to make panel dragging the current patcher.

I remember in past Max versions, that panel has been a bit fixed,

but at the end there was still a bug : the panel in drag mode didn't work with Touchscreens...

I saw that on 8.6.1 the "touchscreen" bug of 8.6 was fixed, so I hoped that maybe this fix has fixed too the touchscreen bug about Panel.

For now, I even don"t manage to check the drag Panel option, it's greyed. :/

Do i missed something ?

thank you !

11OLSEN's icon

Attr is only allowed in subpatchers not in the main p of a device.

schlam's icon

Hello 11OLSEN

I am back with your wonderful 11newview.

Maybe you have a new beta ? =)

And yes, in a M4L context, you are right. Panel can only have the drag mode enabled in a sub patcher...

...but not in a bpatcher.

So if I need a draggable floating window, I can only use a subpatcher.

So, one of the great features of 11newview is the ability to do not have to copy twice a big patcher when you need a device "dockable" and "floatable".

If you need a device that is dockable, floatable, and draggable, does 11newview has a trick for that ?

thank you again !

Julien

11OLSEN's icon

Sure, you did not respond anymore the last time. The question is do you manage to have any Max object respond to touch-drag so we can use it to redirect that input to window movement.

Did you test a jsui ?

jsui_drag_window.js
js


schlam's icon

Yes. Sorry to didn"t reply anymore last time

la vie..tout ça tout ça..=)

I was far from Max...

I don"t now if it's just since 8.6.1 and the multitouch fix, but now a panel with dragmode works good with multitouch. It's a great news for me.

But the drag attribute, as you mentioned, is not possible in the main patch of a m4L device. and that makes sens. It's only possible in another patcher.

The problem is that it's not possible in bpatcher. And since, thank to 11newview, you can now float a bpatcher, it's frustrating.

I do not know JS at all.

I just tried to copy your code in a jsui object, but nothing happens...

thanks again

11OLSEN's icon

I just looked at the last device we exchanged and we've already been at this point. I'm gonna send you a mail with a test device. Generally, can you touch-drag the default dial when you create a jsui object?

schlam's icon

Yes, maybe since 8.6.1, no problem to touch drag with touchscreen.