UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    20.04 Focal: uNav freezes with GPS enabled

    Scheduled Pinned Locked Moved App Development
    17 Posts 10 Posters 1.2k Views 3 Watching
    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.
      • costalesC Offline
        costales
        last edited by costales

        Hi everyone!

        I migrated uNav to focal, but after enabling the GPS, if I enter into a QML dialog (Search or Settings) and exit, the UI is frozen. The bug comes from here.

        Any idea please? Thank you in advance!

        PS: How to reproduce:

        1. Open uNav in focal.
        2. Enable the GPS. (If I don't enable the GPS, the UI will not freeze).
        3. Click on Settings icon (top bar).
        4. Click on Back button (top bar).
        5. Bug: UI is frozen.

        The code I think is this one.

        ? saveurlinuxS 2 Replies Last reply Reply Quote 1
        • ? Offline
          A Former User @costales
          last edited by

          @costales
          The same thing happens with me ( Volla X 20.04 RC ).
          Regards

          1 Reply Last reply Reply Quote 0
          • saveurlinuxS Offline
            saveurlinux @costales
            last edited by

            @costales I'm not sure it is relative to Unav, I experiment the same problem with Pure Maps.

            ? CiberSheepC 2 Replies Last reply Reply Quote 1
            • ? Offline
              A Former User @saveurlinux
              last edited by

              @saveurlinux
              I also have the feeling that it is not related to uNav, because almost the same thing happens with Pure Maps.
              If I don't specify the location at the beginning and simply enter a destination and then specify the location, it works and I can start the navigation.
              Unfortunately, the navigation suddenly freezes after a certain time.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zubozrout
                last edited by

                Happens to Morph as well: https://gitlab.com/ubports/development/core/morph-browser/-/issues/554 ... So this sounds like some system issue then.

                1 Reply Last reply Reply Quote 0
                • CiberSheepC Offline
                  CiberSheep @saveurlinux
                  last edited by

                  @saveurlinux I also think so... I think it is realated to the GPS itself

                  https://github.com/costales/unav/issues/56#issuecomment-1741820194

                  Another planet, another time, another universe!

                  TheBirdT 1 Reply Last reply Reply Quote 1
                  • TheBirdT Offline
                    TheBird @CiberSheep
                    last edited by TheBird

                    Had the same only can it trigger on another way.

                    • enable gps
                    • start Unav
                    • search destination and confirm
                    • then hit the button to begin the route so gps will start searching
                    • cancel by searching new destination and confirm
                    • hit the start button and the freezes

                    Indeed looks likesomethingbwith gps

                    BQ Aquaris E4.5
                    Pixel 3a XL on Focal which realy rocks!

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      hello, is there any news, thank you and greetings

                      1 Reply Last reply Reply Quote -1
                      • K Offline
                        kristatos
                        last edited by kristatos

                        The last days I've used the navigation a lot for a motorcycle tour and it was very annoying when the navigation freezes.
                        I've played around with noble on my spare phone and it seems, that this bug is present there as well 😞
                        So hopefully we'll get this fixed in near future, to have a reliable working navigation again (as we had in 16.04).
                        Is there anything we can provide to the devs @costales @rinigus or help in any other way?

                        BQ Aquaris E4.5 (UT 16.04)
                        Vollaphone (UT 20.04)

                        CiberSheepC 1 Reply Last reply Reply Quote 0
                        • CiberSheepC Offline
                          CiberSheep @kristatos
                          last edited by

                          @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

                          Is there anything we can provide

                          This is a place to start, maybe: https://github.com/costales/unav/issues/56#issuecomment-1741820194

                          Another planet, another time, another universe!

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            kristatos @CiberSheep
                            last edited by

                            @CiberSheep I think that's also the wrong place, because it must be a problem in the location-daemon/gps-daemon.
                            I've tested it again with todays build of noble and it's the same behavior like under focal: unav, puremaps and even morph are freezing once you have searched your position and want to do something with it (e.g. calculate a route from the actual position). Maybe @peat_psuwit does have an idea or can even take a look at it?

                            BQ Aquaris E4.5 (UT 16.04)
                            Vollaphone (UT 20.04)

                            Vlad NirkyV CiberSheepC 2 Replies Last reply Reply Quote 0
                            • Vlad NirkyV Offline
                              Vlad Nirky @kristatos
                              last edited by Vlad Nirky

                              @kristatos

                              I can't run osm scout driver on noble. So are map provided to apps?
                              Via GPS Toolkit, i can see GPS is working well.

                              1 Reply Last reply Reply Quote 0
                              • CiberSheepC Offline
                                CiberSheep @kristatos
                                last edited by

                                @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

                                the wrong place

                                the link to the parent project is at the end of the issue. Sorry about that

                                Another planet, another time, another universe!

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kristatos
                                  last edited by

                                  @CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you? I've opened a bugreport but it seems to work on a Fairphone 4 (qualcom device...).
                                  For me these freezes are happening on Vollaphone and Vollaphone22 running Focal and Noble.

                                  BQ Aquaris E4.5 (UT 16.04)
                                  Vollaphone (UT 20.04)

                                  P CiberSheepC 2 Replies Last reply Reply Quote 0
                                  • W Offline
                                    wally
                                    last edited by

                                    Using Oneplus Nord N10, 20.04 OTA 7:
                                    TL;DR - uNav freezes after location is acquired, Morph freezes upon clicking Allow in Permission Request for location, PureMaps will crash after location acquired the first time, then works well upon re-opening.

                                    -uNav freezes reliably with GPS, seemingly after GPS position is acquired. It will freeze with "Waiting for GPS" still visible, but not immediately, I can still shift from light to dark mode for example, until suddenly I can't click anything in the app.

                                    -Morph freezes reliably after enabling location on navigation websites (tried google maps and waze.) Specifically, I select "Your Location", Morph brings up the UT Permission Request to share location, I click Allow, the website says "Waze/GoogleMaps does not have permission to use your location", I repeat the process, and Morph freezes if I click Allow, with Permission Request still visible.

                                    -in PureMaps' Navigation menu if I use Current Position and wait for the wheel to stop scrolling (position acquired), then click to enter a destination, the app will crash, not freeze. It just closes itself. But then if I re-open the app, I can do the same and it doesn't crash and successfully navigates. I've navigated long distances using PureMaps. I think it may have crashed unexpectedly during navigation once or twice, but generally it works for me. I can't recall it ever freezing.

                                    Not sure why my experience is different, but I've spent some time testing and this all seems to happens consistently for me.

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      PhAndersson @kristatos
                                      last edited by PhAndersson

                                      @kristatos I see this freeze on a Google Pixel 3A as well (UT 20.04 OTA-8 fully up-to-date), at least in uNav -- I haven't tried the other apps yet.

                                      Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
                                      Daily driver: Google Pixel 3a (20.04 OTA-8/stable) [was: Nokia N900 (Maemo) from 2009].

                                      1 Reply Last reply Reply Quote 0
                                      • CiberSheepC Offline
                                        CiberSheep @kristatos
                                        last edited by

                                        @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

                                        @CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you?

                                        Currently I'm on a POCO (but I experienced freezes since Focal.

                                        On uNav

                                        • With gps, wifi, mobile network all on
                                        • Tap on the map
                                        • Start navigation
                                        • Cancel navigation

                                        Now UI is freezed

                                        • Switch off GPS
                                        • Switch on GPS
                                          GPS icon doesn't appear on the indicators bar

                                        If you open again uNav and tap on a location and try to navigate, UI will freeze until GPS fails to turn on and switches off.
                                        With this I mean, if you turn on GPS from the indicator, still doesn't appear on indicators bar but GPS switch is on. GPS fails. GPS switch turns off. uNav UI unfreezes.

                                        Another planet, another time, another universe!

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post