View Listeners broken in 2.9.0
At least two listener options are broken:
Live Object Model -> Application -> “Browser Mode”
Live Object Model -> Application -> “Is View Visible”
Both require the VIEW_NAME passed as the first parameter so never fires.
Code Created:
self.mode1_listener_attach1.add_is_view_visible_listener(self._mode1_self_application_view_add_is_view_visible_listener__Browser__id_22)
Should Be if looking for Browser view:
self.mode1_listener_attach1.add_is_view_visible_listener("Browser",self._mode1_self_application_view_add_is_view_visible_listener__Browser__id_22)
Changing to custom coding doesn’t allow it to be entered either as it entered before the parameter:
self.mode1_listener_attach1.add_is_view_visible_listener("Browser")(self._mode1_self_application_view_add_is_view_visible_listener__Browser__id_22)
Hmm, I don’t think ‘is view visible’ is actually a listener in the Live Object Model so shouldn’t be listed in our Reaction listeners.
Not sure how that’s happened.
Available ‘Application/Application view’ Listeners:
browse_mode
focused_document_view
control_surfaces
https://docs.cycling74.com/apiref/lom/application/
So the following probably shouldn’t be listed in the Reaction Listener menu:
is_view_visible
open_dialog_count
view_focus_changed
Oh really.
That’s very interesting to hear (and a little confusing)
As these listeners don’t exist:
is_view_visible
open_dialog_count
view_focus_changed
They have now been removed from the Reactions Listeners options.
https://remotify.io/css3-changelog/
Sign up
User registration is currently not allowed.
Hi, whilst it does appear to be missed in the documentation it is a listener. I used CSS to use the view change listener and then manually updated the produced Python file to add in the View name.
Works totally fine, apart from any changes i make using CSS i need to reapply the view name. I use it for Arrangement, Clip, Device and browser state to highlight buttons on a midi controller when they are visible and use the buttons to toggle them