jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
695 stars 88 forks source link

Text "null" [Feature] #827

Closed Ezrabox closed 1 year ago

Ezrabox commented 1 year ago

I have differents text sections for feeback but when it's empty it is writen "null", should it be possible to have nothing ?

jean-emmanuel commented 1 year ago

That's already how it works, sending and empty string or a message with no value makes the widget empty.

Ezrabox commented 1 year ago

For me on mac os 13.2.1 it's written "null" when i send an empty string

jean-emmanuel commented 1 year ago

Can you enable the server's debug option and check what's received by o-s-c ?

Ezrabox commented 1 year ago

Voici ce qui est reçu : (DEBUG, OSC) In: { address: '/presets/currentPresetDescription', args: '' } From: 127.0.0.1:65319 Voici ce qui est affiché :

Capture d’écran 2023-05-28 à 07 55 11
jean-emmanuel commented 1 year ago

Peux-tu copier le widget dans une nouvelle session et l'envoyer ici stp ?

Ezrabox commented 1 year ago

J'ai peut être identifié quelque chose, il semblerait que ça affiche "null" lorsque quelque chose à déjà été affiché dans le widget depuis l'ouverture de la session test text null.json.zip

jean-emmanuel commented 1 year ago

Ok c'est avec le widget "textarea" et non "text", ça semble être un bug en effet, je corrigerai ça bientôt.

Ezrabox commented 1 year ago

Merci !

jean-emmanuel commented 1 year ago

C'est corrigé dans la version 1.25.1

Ezrabox commented 1 year ago

Super! Merci!

Le lun. 5 juin 2023 à 17:52, jean-emmanuel @.***> a écrit :

Closed #827 https://github.com/jean-emmanuel/open-stage-control/issues/827 as completed.

— Reply to this email directly, view it on GitHub https://github.com/jean-emmanuel/open-stage-control/issues/827#event-9435435862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH7ZHIC5S23NMWKOSASTVBDXJX6DTANCNFSM6AAAAAAYN7AKEI . You are receiving this because you authored the thread.Message ID: @.*** com>

--