• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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
16 Posts 10 Posters 1.1k 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.
    • C Offline
      costales
      last edited by costales 29 Apr 2023, 16:53

      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.

      ? S 2 Replies Last reply 6 Nov 2023, 08:36 Reply Quote 1
      • ? Offline
        A Former User @costales
        last edited by 6 Nov 2023, 08:36

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

        1 Reply Last reply Reply Quote 0
        • S Offline
          saveurlinux @costales
          last edited by 8 Nov 2023, 07:02

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

          ? C 2 Replies Last reply 8 Nov 2023, 08:42 Reply Quote 1
          • ? Offline
            A Former User @saveurlinux
            last edited by 8 Nov 2023, 08:42

            @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 8 Nov 2023, 10:02

              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
              • C Offline
                CiberSheep @saveurlinux
                last edited by 8 Nov 2023, 20:42

                @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!

                T 1 Reply Last reply 9 Nov 2023, 19:49 Reply Quote 1
                • T Offline
                  TheBird @CiberSheep
                  last edited by TheBird 11 Sept 2023, 19:49 9 Nov 2023, 19:49

                  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 14 Mar 2024, 08:13

                    hello, is there any news, thank you and greetings

                    1 Reply Last reply Reply Quote -1
                    • K Offline
                      kristatos
                      last edited by kristatos 5 Dec 2025, 09:03 5 days ago

                      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)

                      C 1 Reply Last reply 4 days ago Reply Quote 0
                      • C Offline
                        CiberSheep @kristatos
                        last edited by 4 days ago

                        @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 4 days ago Reply Quote 0
                        • K Offline
                          kristatos @CiberSheep
                          last edited by 4 days ago

                          @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)

                          V C 2 Replies Last reply 3 days ago Reply Quote 0
                          • V Offline
                            Vlad Nirky @kristatos
                            last edited by Vlad Nirky 3 days ago

                            @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
                            • C Offline
                              CiberSheep @kristatos
                              last edited by 3 days ago

                              @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 3 days ago

                                @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 1 Reply Last reply a day ago Reply Quote 0
                                • W Offline
                                  wally
                                  last edited by 2 days ago

                                  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 a day ago

                                    @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
                                    • First post
                                      Last post