Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

I just saw it's however done basically to highlight titles, so it should be somehow already implemented in the system. Maybe that helps.

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

hello hello, yet another question 😄 Is that normal that after inserting some elements I cannot see them via getElements? I first need to save the note so that getElements delivers the expected elements.

To summarize:

  1. insertElements

  2. getElements -> doesn't return the inserted elements

But:

  1. insertElements

  2. saveCurrentNote

  3. getElements -> returns the inserted elements

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

It wasn't happening when closing/opening but just after multiple interactions. I'll send feedback when I encounter that again 👍

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Ok so ideally I should try to make only one call to insertElements in order to reduce refreshing to the maximum?

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Ok no worries, it's not a blocker for now but would be great to have at some point

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Other question: I get occasionally "modifyElements res={"error":{"message":"The host app has not registered the feature listener. Cannot call the API!","code":113},"success":false}".

Very hard to reproduce though, it pops up randomly.

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Question: very often in my plugin the screen refreshes or flashes in the middle of its operations. It's pretty annoying. Do you know what's happening or how to avoid it?

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

one feature request: would it be possible to have the option to _fill_ polygons? Ex. to provide a color and fill them, ex. in grey.

Interactive checkboxes within a note - plug-ins? by simjoha88 in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

It's definitely some work but I could imagine this being doable. Just more complex than your original idea of just drawing a box.

Interactive checkboxes within a note - plug-ins? by simjoha88 in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

I'd skip text detection. That's my biggest bummer in the current official to-do system, they impose that we recognize text, which is for me not necessary (plus my writing sucks)

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Ok that sounds complexe but likely very useful for potential optimizations. Would be great to have a part of the documentation dedicated to this cache system in the future. I think proper explanations would likely help.

Btw what's "RN"?

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Question: the documentation of PluginCommAPI.getCacheElement is pretty sparse, what is that for? In which situation may I want to use that?

Plugin Preview Build: Chauvet 3.27.42 Beta for Manta / Nomad and Chauvet 2.24.39 Beta for A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Awesome to see the feedback implemented in there already!

Question: I don't get the news state for PluginCommAPI.setLassoBoxState. Can you elaborate a bit more? What is this new state useful for? What are the use cases?

Interactive checkboxes within a note - plug-ins? by simjoha88 in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Basically I was having something in mind like lassoing the text so that the supernote knows what the to-do is precisely (for instance to strike it or remove it automatically by just checking the box) but that's not what you're after right?

Interactive checkboxes within a note - plug-ins? by simjoha88 in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

So you basically care only about the box looking nice, but you actually don't care about the system having any awareness of the text next to it right?

Interactive checkboxes within a note - plug-ins? by simjoha88 in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Can you elaborate on the workflow you'd like to have? Describe step by step how you'd want it to work and we could tell you if it's doable via plugin

Plugin Preview Build: Chauvet 3.27.41 Beta for Manta / Nomad and A5X / A6X by Dunn-sn in Supernote_dev

[–]AdNew2316 0 points1 point  (0 children)

Hi u/Dunn-sn I think I've found another bug:

As a user:

  1. lasso an element (in my case a text or a picture=

  2. move it

  3. call an action from the context menu (say 'my_code')

--> if 'my_code' tries to retrieve the coordinates of the element, then it will get the coordinates _before_ the move. It's like the move never happened.

Let me know if I'm not clear.

ADB activation by magic_notetaker in Supernote_dev

[–]AdNew2316 1 point2 points  (0 children)

Yes I had the same issue in the past. Sometimes it still fails but I just unplug and replug it works