omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Crash when quitting presented NavigationView in sidebar or panel

    Pythonista
    2
    2
    1861
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dgelessus
      dgelessus last edited by

      Whenever I present a ui.NavigationView as sidebar or panel and try to quit it using the built-in X, the app crashes. I've tried implementing a custom quit button using View.close(), but that doesn't seem to do anything. View.close() works just fine with other presentation modes like sheet or popover.

      A workaround to this is to create a View, set the NavigationView as its subview and then present the regular View. Although it fixes the crash when quitting, it causes a few layout problems due to the NavigationView not being the presented view.

      @omz, if necessary I can provide crash reports, if that would be any help.

      1 Reply Last reply Reply Quote 0
      • blmacbeth
        blmacbeth last edited by

        This still seems to be a problem.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors