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.2k 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.
      • D Offline
        danqo6
        last edited by

        In battery settings in system-settings app after selecting time from 'sleep when idle' app crashes, short log:

        file:///usr/share/ubuntu/settings/system/qml-plugins/battery/SleepValues.qml:59: TypeError: Cannot call method 'indexOf' of undefined
        
        file:///usr/lib/aarch64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/1.3/ItemSelector.qml:257:13: QML ListView: Binding loop detected for property "itemHeight"
        
        dobeyD 1 Reply Last reply Reply Quote 1
        • lduboeufL Offline
          lduboeuf
          last edited by lduboeuf

          @dobey
          BQ 4.5: Got a crash at startup for sfxr: https://paste.ubuntu.com/p/khrnt9xc2R/
          Crash also for Teleport, messaging app
          Blank page for Dekko

          Note that in the drawer, i have only 2 app icon columns (scaling 12 in UTTT) and distorted spash icons on several apps.

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

            On E5HD I got a couple of issues:

            I'm pretty sure this is because I have been testing some PR but nothing was installed when I checked with ubports-qa list

            The following packages will be DOWNGRADED:
              messaging-app
            
            Unpacking libqt5webenginecore5:armhf (5.14.2+dfsg1-2~ubports2) over (5.14.2+dfsg-2ubports0) ...
            dpkg: error processing archive /var/cache/apt/archives/libqt5webenginecore5_5.14.2+dfsg1-2~ubports2_armhf.deb (--unpack):
             cannot copy extracted data for './usr/lib/arm-linux-gnueabihf/libQt5WebEngineCore.so.5.14.2' to '/usr/lib/arm-linux-gnueabihf/libQt5WebEngineCore.so.5.14.2.dpkg-new': failed to write (No space left on device)
            
            Unpacking liboxideqtcore0:armhf (1.19.8-ubports2.2) over (1.19.8-ubports2) ...
            dpkg: error processing archive /var/cache/apt/archives/liboxideqtcore0_1.19.8-ubports2.2_armhf.deb (--unpack):
             cannot copy extracted data for './usr/lib/arm-linux-gnueabihf/libOxideQtCore.so.0' to '/usr/lib/arm-linux-gnueabihf/libOxideQtCore.so.0.dpkg-new': failed to write (No space left on device)
            
            

            Full log (except the download messages):
            https://paste.ubuntu.com/p/NbS3BtFTsv/

            Another planet, another time, another universe!

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

              @danqo6 Thanks. I've pushed the fix for this and the SwitchDelegate issue in qqc2-suru, so those should all be good now after an update.

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

                @CiberSheep Seems there was a change in messaging-app yesterday for OTA-13, which I've pulled in now, so should be included in the update as well.

                Otherwise though, is your rootfs full? Did you already install some other things extra in it perhaps from Ubuntu archive?

                arubislanderA CiberSheepC 2 Replies Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @dobey
                  last edited by

                  Wow, I come back to find everything I intended to report already reported! It isbgreat to see the community come together like this.

                  @dobey said in Testing the upgrade to Qt 5.12:

                  I've pulled in now, so should be included in the update as well.

                  How should one go about acquiring the updated packages? Just repeat the process in the original post?

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

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

                    @lduboeuf said in Testing the upgrade to Qt 5.12:

                    BQ 4.5: Got a crash at startup for sfxr: https://paste.ubuntu.com/p/khrnt9xc2R/

                    The app crashed? Or the shell? Sfxr seems to work mostly fine on my Nexus 4, though I have noticed a couple issues with the app itself (and I think unrelated to Qt 5.12).

                    Crash also for Teleport, messaging app

                    Again, are the apps crashing, or the shell?

                    Note that in the drawer, i have only 2 app icon columns (scaling 12 in UTTT) and distorted spash icons on several apps.

                    Yeah, there seems to be something up with the app drawer column math it seems. Not sure what though, since I'm pretty sure it is untouched.

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

                      @arubislander said in Testing the upgrade to Qt 5.12:

                      How should one go about acquiring the updated packages? Just repeat the process in the original post?

                      Mostly. Just do sudo ubports-qa update instead I think (or just sudo apt-get update && sudo apt-get upgrade after doing the mount commands).

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

                        @dobey said in Testing the upgrade to Qt 5.12:

                        The app crashed? Or the shell? Sfxr seems to work mostly fine on my Nexus 4, though I have noticed a couple issues with the app itself (and I think unrelated to Qt 5.12).

                        Yes the app crashed. What do you mean by shell, Lomiri crash and reboot ?

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

                          @lduboeuf Yes.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            danqo6
                            last edited by

                            @dobey I made fix for missing images in checkindicator and spinbox, look https://github.com/ubports/qqc2-suru-style/pull/48/files

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

                              @dobey said in Testing the upgrade to Qt 5.12:

                              Otherwise though, is your rootfs full? Did you already install some other things extra in it perhaps from Ubuntu archive?

                              I'll install a fresh image and try again to be sure

                              Another planet, another time, another universe!

                              1 Reply Last reply Reply Quote 0
                              • lduboeufL Offline
                                lduboeuf
                                last edited by

                                @dobey

                                So, sfxr, messaging-app, teleports still crashes on BQ4.5, drawer icon number columns are fine now. Splash screen icon is shrinked:

                                screenshot20200902_085234160.png

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

                                  I tried this on my Nexus 5. Here are my observations (some might have been reported already). Note that I don't have a sim card inserted so that might also a factor in some of these. Also, I used this as my daily driver before so it has plenty of data and may represent an upgrade from an actual daily driver device.

                                  • Splash image is not displayed correctly
                                  • App drawer only has 2 columns which was 3 before
                                  • Phone app and Fluffy Chat crashed when triggering the bottom edge
                                  • Messaging app opens fine but if you open a thread, the messages are jumbled and not displayed correctly
                                  • Calculator app opens but seems to fail to actually initialize so it's not interactive/working
                                  • Clock and Calendar app opens but crashes after a few seconds (I have google and NC calendars synced)
                                  • Contacts app works fine but dragging the bottom edge only shows the header until the drag is completed.
                                  • Dekko 2 and TELEports are blank. I have accounts configured.
                                  • PDFs are blank in Document viewer except in slideshow mode. Libreoffice files crashes the app.
                                  • Double-tapping in the OSK (cursor mover mode) is quite difficult to trigger.
                                  • It seems that Qt 5.12 is a bit less forgiving in codes like for example with layouts. My app Palitan has many warning logs and also there are some UIs not displayed which probably caused by those errors/warnings.
                                  • I also see Type error errors in JS in some apps. Probably related to the known issues with JavaScript which I believe was already discussed somewhere.
                                  • Honestly, expected a noticeable improvement in the performance but so far it's almost the same and I feel like I actually see more micro stutters but not sure though if I'm observing it right πŸ˜…
                                  dobeyD 3 Replies Last reply Reply Quote 0
                                  • dobeyD Offline
                                    dobey @kugiigi
                                    last edited by

                                    @kugiigi said in Testing the upgrade to Qt 5.12:

                                    Splash image is not displayed correctly

                                    This should also be the case in stable/devel already, given the source, but fix is inbound in the 5.12 branch.

                                    App drawer only has 2 columns which was 3 before

                                    Fix already in.

                                    Contacts app works fine but dragging the bottom edge only shows the header until the drag is completed.

                                    Fixed now.

                                    Double-tapping in the OSK (cursor mover mode) is quite difficult to trigger.

                                    Seems to be mostly fine here on my Nexus 4, but it seems to get "stuck" after a while, and I don't see anything in the maliit-server log.

                                    It seems that Qt 5.12 is a bit less forgiving in codes like for example with layouts. My app Palitan has many warning logs and also there are some UIs not displayed which probably caused by those errors/warnings.

                                    Yes, in general it is a bit stricter. You'll need to fix your app. πŸ™‚

                                    I also see Type error errors in JS in some apps. Probably related to the known issues with JavaScript which I believe was already discussed somewhere.

                                    There seems to be a few things that can cause this, but those apps will need to be fixed individually.

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

                                      @lduboeuf said in Testing the upgrade to Qt 5.12:

                                      So, sfxr, messaging-app, teleports still crashes on BQ4.5,

                                      Can you get stack traces? I don't have an e4.5 and they are starting fine here on my nexus 4.

                                      Thanks.

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

                                        @dobey said in Testing the upgrade to Qt 5.12:

                                        @kugiigi said in Testing the upgrade to Qt 5.12:

                                        Splash image is not displayed correctly

                                        This should also be the case in stable/devel already, given the source, but fix is inbound in the 5.12 branch.

                                        He might refer to
                                        dev vs

                                        7329dea3-6277-4c14-8b81-882b6672ce12-imatge.png

                                        Qt5.12
                                        09801500-2b7e-4ca4-890d-4e02ee781a9d-imatge.png

                                        Another planet, another time, another universe!

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

                                          @CiberSheep said in Testing the upgrade to Qt 5.12:

                                          He might refer to

                                          Yes. I meant, I don't understand why this doesn't happen in dev, because the Splash.qml was specifying the source size as the same dimensions of the screen. But as I also said, it's fixed now on 5.12 branch too (well building currently).

                                          CiberSheepC K 2 Replies Last reply Reply Quote 0
                                          • CiberSheepC Offline
                                            CiberSheep @dobey
                                            last edited by

                                            @dobey I see.
                                            Also to note, if no splash screen is used, the app icon is shown correctly

                                            Another planet, another time, another universe!

                                            1 Reply Last reply Reply Quote 0
                                            • K Offline
                                              kugiigi @dobey
                                              last edited by

                                              @dobey Let us know when we can do an update and retest stuffs πŸ™‚

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