@vlaaad When using reveal as part of a split view (on osx) a new top-level tab is generated when mount-renderer is called on a {:fx/type :stage} root. This does not happen when reveal is not started as one side of a split view, it opens a new window instead. Is it possible to get the same result (opening a new top-level tab) when not in split view mode ? Here a snippet of the code used to popup the new stage.
(defn root [{:keys [fx/context]}]
{:fx/type :stage
:showing true
:title "Utils"
:scene {…}})
(def renderer
(fx/create-renderer
:middleware (comp
fx/wrap-context-desc
(fx/wrap-map-desc (fn [_]
{:fx/type root})))
:opts {:fx.opt/map-event-handler (-> event-handler
(fx/wrap-co-effects
{:fx/context (fx/make-deref-co-effect *state)})
(fx/wrap-effects
{:context (fx/make-reset-effect *state)}))
:fx.opt/type->lifecycle #(or (fx/keyword->lifecycle %)
(fx/fn->lifecycle-with-context %))}))
(fx/mount-renderer *state renderer)
Hi! I don't have access to mac now, so currently I'm unable to help, sorry