[PD] list item picker widget

Roman Haefeli reduzent at gmail.com
Fri Feb 12 10:54:41 CET 2021

On Fri, 2021-02-12 at 09:44 +0100, João Pais wrote:
> > > you mean something like [jmmmp/jp.menu]?
> > Exactly. Thanks for the pointer. That's definitely what I was
> > looking
> > for. Picking something can be done really quick, which is nice. One
> > small caveat: I personally find it confusing, when the drop-down
> > covers
> > the selected item. I'd place the drop-down below the selected item,
> > so
> > that selected item is always shown. Maybe it's just a matter of
> > taste?
> you mean to show the dropdown under the selected item, probably 
> repeating it? Is there a "common" software where I could see the
> behaviour?

Is there a common software  where I don't see that behaviour? 

I don't think it is such a big deal that we need to find the "truth"
here, but I thought listing selectable items _below_ the selected item
is much more common. Cannot prove that, though. 

> > I was going to open an issue about not using any [declare]s, but I
> > couldn't find a public repo for jmmmp. Is there one?
> I don't think so, there is so few feedback that I assumed basically I
> do 
> these only for me.

How can you know if people cannot post issues?

>  I can try to make one.

You don't have to, just because of me. Since jmmmp is available through
Deken, people might want to report issues. Ask yourself if you want
that or not. I think whatever you decide is fine.

> Which declare issue? I imagine I only used other jmmmp objects, but
> I 
> thought that they would all open automatically. 

No, they don't. Also, the README mentions that other libraries are
involved. However, the objects in the jmmmp library do not declare what
they actually use.

For [jp.menu] to load properly, I had to [declare -path ggee -path
list-abs]. I think that could be done within [jp.menu] itself.

> The most complex 
> abstractions use the simpler ones such as [f+], so it would be
> better 
> not to split the objects (or to be careful with them).

I hear you. I didn't just copy something from jmmmp expecting it work
out of its context. However, it is my understanding that a library
should declare its own dependencies and not expect a user of this
library to do it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210212/d5b24558/attachment-0001.sig>

More information about the Pd-list mailing list