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.


    Segmentation fault using dialogs

    Pythonista
    3
    33
    380
    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.
    • LankyDonkey
      LankyDonkey @bosco last edited by

      @bosco Great thank you - your new dialog sounds great - I will give it a try and let you know how i get on. Thanks!

      1 Reply Last reply Reply Quote 0
      • LankyDonkey
        LankyDonkey @bosco last edited by

        @bosco Wow!!! Just want to give you some early feedback - but so far I absolutely love the new dialog - I am doing all the things that usually crash it and its working brilliant! I will carry on using as normal but I am very optimistic. Thanks Bosco you are a genius.

        bosco 1 Reply Last reply Reply Quote 0
        • bosco
          bosco @LankyDonkey last edited by

          @LankyDonkey I'm glad it's working for you. There is an updated version.

          LankyDonkey 1 Reply Last reply Reply Quote 0
          • LankyDonkey
            LankyDonkey @bosco last edited by LankyDonkey

            @bosco Thank you Bosco - I have the new version - still working great!
            There are just a couple of small things I noticed.

            1. If i default a check value to True eg
              rating_dicts.append(dict(type="check", value = True, title="3"))
              It doesnt show the item with a check against it in the pop up dialog (This just means if I select for example rating =3 then I want to change that later to rating =4 - then I cant 'switch off' the previous rating = 3 and then select rating = 4. I can work around it by clearing all filters and creating a new one.

            2. In the Genre dialog that I use - if i scroll down to say New Genre which is a text field when i click on it the dialog scrolls to the top and then the keyboard obscures the field so I cant see what I am typing

            Thanks again

            bosco 1 Reply Last reply Reply Quote 0
            • bosco
              bosco @LankyDonkey last edited by

              @LankyDonkey Issue #1 is fixed in the latest update.

              I thought I had the built in form dialog fixed with one line of code c.cells = None, but scrolling down to 'New Genre' it still crashes.

              I'll look at issue #2 in my version.

              bosco 1 Reply Last reply Reply Quote 0
              • bosco
                bosco @bosco last edited by

                @bosco issue #2 is fixed.

                LankyDonkey 1 Reply Last reply Reply Quote 0
                • LankyDonkey
                  LankyDonkey @bosco last edited by

                  @bosco Brilliant! I can confirm both issues are fixed. You are a star

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

                    Just wanted to say we're encountering issues with the built-in dialogs module here too.

                    My iPad is still on ipadOS 15, but one of my co-developers is using ipadOS 16 and he sees freezes followed by segmentation faults when the UI tries to show a dialog box using that module.

                    This is during testing of the "big move" of our codebase from pythonista3.3 to pythonista3.4 and python2 to python3, so we thought at first it was something we were doing, but based on this thread, I think it may definitely be a bug in the dialogs module.

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

                      @omz @LankyDonkey @shinyformica
                      I have created a new issue here: Pythonista-Issues #707.

                      LankyDonkey 1 Reply Last reply Reply Quote 0
                      • LankyDonkey
                        LankyDonkey @bosco last edited by

                        @bosco Thank you. Have used my new dialog lots and still hasn't crashed!

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