Skip to content

else/initmess weirdness #633

Closed
Closed

Description

@porres

The click function to [initmess] is not working, I wonder if other objects from ELSE with this functionality also don't work...

but weirdly enough, the list message is not reaching the list table for some crazy reason, see help file of display.

Screen Shot 2023-03-03 at 14 07 30

display didn't seem to be working on the help file of multi.vsl, but it looks fine here for some other crazy reason

Activity

  1. timothyschoen commented on Mar 4, 2023

    @timothyschoen
    Collaborator

    I searched for gensym("click"), and found the following:

    ELSE: lb, click, colors, initmess, lb, loadbanger, midi, openfile, rec
    cyclone: capture, loadmess, coll, prob, seq, table

    I've made sure the "click" message works on any object that appears as a text object. [else/click] also works now, but it needed a small change in ELSE:

    Instead of doing canvas_vis((t_glist*)z, 1) in click_click, we need:

            t_atom arg;
            SETFLOAT(&arg, 1);
            pd_typedmess(z, gensym("vis"), 1, &arg);
    

    This makes sure that plugdata can intercept the vis message.

    This will also work in pd-vanilla, so I suggest we change this in ELSE.

  2. porres commented on Mar 4, 2023

    @porres
    CollaboratorAuthor

    This will also work in pd-vanilla, so I suggest we change this in ELSE.

    send me the PR? :)

  3. timothyschoen commented on Mar 4, 2023

    @timothyschoen
    Collaborator

    This will also work in pd-vanilla, so I suggest we change this in ELSE.

    send me the PR? :)

    Done!

  4. porres commented on Mar 5, 2023

    @porres
    CollaboratorAuthor

    I've made sure the "click" message works on any object that appears as a text object.

    I can confirm with the current nightly build that else/click works and so does [imitmess], but I tried clicling in [sfont~] and [loadbanger] and it didn't work, so I'd ask you to check if all are really working

  5. porres commented on Mar 5, 2023

    @porres
    CollaboratorAuthor

    gonna mention this in the actual issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions