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

    Testing the upgrade to Qt 5.12

    Scheduled Pinned Locked Moved OS
    137 Posts 19 Posters 50.0k Views 8 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.
      • dobeyD Offline
        dobey
        last edited by

        OK. Everything that needed to be rebuilt is finally done, and things should be usable again. Please test!

        There's an e4.5 on its way to me, though not sure how long it will take to arrive. Hopefully I can see what the issues are that @CiberSheep and @lduboeuf were reporting on ther BQs when it gets here.

        lduboeufL 1 Reply Last reply Reply Quote 2
        • IsaacI Offline
          Isaac
          last edited by Isaac

          Nexus 5

          First minutes of test:

          Can't reach web throught wi-fi. In settings app it shows that i'm connected.

          Upd... Wi-fi works, but still can't connect to some known access points. ( random bug )

          Cellular data works.

          Clock & Calendar apps go down when being launched.

          Keep testing.

          dobeyD 1 Reply Last reply Reply Quote 0
          • dobeyD Offline
            dobey @Isaac
            last edited by

            @Isaac said in Testing the upgrade to Qt 5.12:

            Clock & Calendar apps go down when being launched.

            Calendar app is a known issue as it was using some internal API that we needed to remove with Qt 5.12 upgrade. There is a PR waiting to be merged/released which solves the issue.

            For Clock app do you have a log? It is working fine here on my Nexus 4.

            Thanks.

            IsaacI 2 Replies Last reply Reply Quote 0
            • lduboeufL Online
              lduboeuf @dobey
              last edited by

              @dobey fine will give a try tomorrow morning

              1 Reply Last reply Reply Quote 0
              • IsaacI Offline
                Isaac @dobey
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • IsaacI Offline
                  Isaac @dobey
                  last edited by

                  @dobey

                  Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
                  Creating a QMirClientScreen now
                  Could not create AF_NETLINK socket (Permission denied)
                  propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.328\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1724 comm=\"NetworkManager \")"
                  nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.328\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1724 comm=\"NetworkManager \")"
                  "Object path cannot be empty"
                  qml: [LOG]: Clock Page loaded
                  library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
                  [LOG] Loading laps from  "/home/phablet/.config/com.ubuntu.clock/com.ubuntu.clock.conf"
                  qml: [LOG]: Stopwatch Page Loaded
                  [PERFORMANCE]: Last frame took 46 ms to render.
                  
                  (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                  
                  (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                  
                  (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                  qml: [LOG]: Alarm Database loaded
                  qml: [LOG]: Alarm Page loaded
                  error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.Operations\" member=\"list\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                  error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"running\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                  lastError - no arguments?
                  error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"last_error\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                  lastError - no arguments?
                  error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"result\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                  lastError - no arguments?
                  
                  1 Reply Last reply Reply Quote 0
                  • IsaacI Offline
                    Isaac
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • IsaacI Offline
                      Isaac
                      last edited by

                      [2020-10-03:01:40:56.865] qtmir.applications: Application["com.ubuntu.clock_clock"]::setRequestedState(requestedState=suspended)
                      [2020-10-03:01:40:56.865] qtmir.applications: Application["com.ubuntu.clock_clock"]::suspend()
                      [2020-10-03:01:40:56.866] qtmir.applications: Application["com.ubuntu.clock_clock"]::setInternalState(state=SuspendingWaitSession)
                      [2020-10-03:01:40:56.867] toplevelwindowmodel: move after
                      index=0,appId=logviewer.neothethird_logviewer,surface=0x2fa5538,id=3),(index=1,appId=com.ubuntu.clock_clock,surface=0x2927fe8,id=4),(index=2,appId=com.ubuntu.filemanager_filemanager,surface=0x2fa5678,id=2)
                      [2020-10-03:01:40:56.867] toplevelwindowmodel: setFocusedWindow(Window[0x3243370, id=3, MirSurface[0x2fa5538,""]])
                      [2020-10-03:01:40:56.868] qtmir.sessions: TaskController::onSessionStopping - sessionName=ubuntu-clock-app.qml
                      [2020-10-03:01:40:56.868] qtmir.applications: Application["com.ubuntu.clock_clock"]::stop()
                      Application["com.ubuntu.clock_clock"]::stop()
                      [2020-10-03:01:40:56.906] qtmir.applications: Application["com.ubuntu.clock_clock"]::setInternalState(state=Stopped)
                      [2020-10-03:01:40:56.997] toplevelwindowmodel: removeAt after (index=0,appId=logviewer.neothethird_logviewer,surface=0x2fa5538,id=3),(index=1,appId=com.ubuntu.filemanager_filemanager,surface=0x2fa5678,id=2) apps left 2
                      [2020-10-03:01:40:57.000] qtmir.surfaces: MirSurface[0x2927fe8,"com.ubuntu.clock_clock"]::~MirSurface() viewCount=0
                      [2020-10-03:01:40:57.018] qtmir.applications: Application["com.ubuntu.clock_clock"]::~Application()
                      [2020-10-03:01:40:57.548] ApplicationManager::onProcessStopped reports stop of appId= "com.ubuntu.clock_clock" which AppMan is not managing, ignoring the event
                      
                      AppLeeA 1 Reply Last reply Reply Quote 0
                      • lduboeufL Online
                        lduboeuf
                        last edited by lduboeuf

                        @dobey tests on BQ4.5:

                        Openstore, Address-book-app, Morph, Document viewer, Dialer-app, Gallerie, Camera: OK
                        Telegram, Messaging-app, Weather, Calendar, sfxr, t-tris, Stellarium, youtube and facebook webapps: all crash at startup.
                        Content-hub is also not possible from contact-app

                        dobeyD 1 Reply Last reply Reply Quote 0
                        • AppLeeA Offline
                          AppLee @Isaac
                          last edited by

                          @Isaac
                          To share logs, it's best to put the entire log file and share it with https://paste.ubuntu.com/ for example.
                          It's easier to read the thread this way.

                          Thanks

                          IsaacI 1 Reply Last reply Reply Quote 0
                          • IsaacI Offline
                            Isaac @AppLee
                            last edited by Isaac

                            @AppLee Unity .log file fails to load on Pastebin :confused_face:

                            I do everything directly from a phone. As far as i'm new in linux community (i've just started playing with UT Terminal) can you share some hints, like how to upload and share 2 mb. log file, as an example?

                            dobeyD 1 Reply Last reply Reply Quote 0
                            • dobeyD Offline
                              dobey @Isaac
                              last edited by

                              @Isaac If you are using the logviewer app, be sure to set the username to something reasonable, in the settings of the app first.

                              1 Reply Last reply Reply Quote 0
                              • dobeyD Offline
                                dobey @lduboeuf
                                last edited by

                                @lduboeuf Very odd. Hopefully the e4.5 arrives here soon and I can reproduce these issues with it.

                                1 Reply Last reply Reply Quote 0
                                • IsaacI Offline
                                  Isaac
                                  last edited by

                                  Morph goes down when i try to paste text in adressbar.

                                  1 Reply Last reply Reply Quote 0
                                  • IsaacI Offline
                                    Isaac
                                    last edited by Isaac

                                    Same happens when mark page as a bookmark. Restarting the app i see that page bookmarked.

                                    FlaF 1 Reply Last reply Reply Quote 0
                                    • FlaF Offline
                                      Fla @Isaac
                                      last edited by

                                      @Isaac please provide logs of the crash. You can use the logviewer app to do so.

                                      IsaacI 1 Reply Last reply Reply Quote 0
                                      • IsaacI Offline
                                        Isaac @Fla
                                        last edited by Isaac

                                        @Fla unity8.log
                                        Error ocurred uploading to Pastebin (i've changed the name in logviewer settings, still fails)

                                        Now i can past texts in adressbar, but it still shuts down on bookmarking.

                                        1 Reply Last reply Reply Quote 0
                                        • PhoenixLandPiratP Offline
                                          PhoenixLandPirat
                                          last edited by

                                          On the OP3 it looks like most things work fine.

                                          I do have some issues though:

                                          • As others have already stated the calander and clock crash.

                                          • Teleports doesn't show any of my messages

                                          • The messaging app doesn't display the coloured bubbles.

                                          • Lomiri's App drawer looks a bit weird, it usually renders 5 icons that fills the app drawer, now its missing a column, and thus leaves a notable space on the right of lomiri.

                                          • The Gallery app shows images fine, but when I go to try and edit a image to crop, it turns black and doesnt give me the option to crop.

                                          • Dekko just shows up as a white screen also.

                                          I dont know if theres anything else you'd like me to test, try out etc, etc, but thats what I've found so far, a few big issues, but its been pretty stable tbh.

                                          dobeyD 1 Reply Last reply Reply Quote 0
                                          • dobeyD Offline
                                            dobey @PhoenixLandPirat
                                            last edited by

                                            @PhoenixLandPirat said in Testing the upgrade to Qt 5.12:

                                            The Gallery app shows images fine, but when I go to try and edit a image to crop, it turns black and doesnt give me the option to crop.

                                            OK. Trying to figure out what was going on here was weird, but it lead to some issues in ubuntu-ui-extras which I fixed, and then also a change in QFile::copy in newer versions of Qt apparently was resulting in apparmor denials.

                                            After upgrading the packages, and rebuilding the apparmor profiles (this can be done by running sudo aa-clickhook -f), it should be working again (it does here).

                                            PhoenixLandPiratP 1 Reply Last reply Reply Quote 0
                                            • PhoenixLandPiratP Offline
                                              PhoenixLandPirat @dobey
                                              last edited by

                                              @dobey said in Testing the upgrade to Qt 5.12:

                                              After upgrading the packages, and rebuilding the apparmor profiles (this can be done by running sudo aa-clickhook -f), it should be working again (it does here).

                                              I trued updating by updating to the latest ubuntu ota, then repeating the instructions at the top, I rebooted and used sudo aa-clickhook -f and it didn't work, I tried the ubuntu-qa update command and it said everything was up to date, I tried to also use sudo aa-clickhook -f and see if it worked without rebooting, but that didn't work either, so perhaps there's extra problems with the OP3 and apparmor profiles?

                                              I discovered a few other issues, I'm sure that your fix for the editing pictures will probably fix this problem, but I couldn't view a downloaded pdf in the document viewer, firstly it wont open from the browser, but if you save it to the documents folder, than you can open it, but it's just a black page, and you can't view it unless you tap on slideshow view.

                                              Also the camera, if I try to take a photo, I get an error saying "Capture failed, restarting your device might fix the problem." it doesn't fix the problem, but its probably apparmor issues, that might be different on the OP3, than the devices that you're debugging on, or different between arm64 and armph?

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