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

        @dobey I am still getting one missing column in portrait on OnePlus 3T (getting 3, should 4), in landscape it is fixed now.

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

          @lduboeuf I mean, if it's actually crashing, to get a stack trace you need to use gdb. I think you can do clickable debug now to debug remotely.

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

            Updates after retesting:

            • Splash image in core apps look good now but it seems that the dimension logic is still different than the current one. My apps that use SVG splash images looks small like it's almost the same size as the icon (i.e. Palitan, Fluffy Chat). They should be displayed bigger.
            • Contacts bottom edge is working properly now.

            Others not mentioned are still the same

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

              Today I have:

              • installed RC image (from System Settings)
              • removed some old apps
              • installed Dev image
              • Installed the updagrade

              I got this warning before installing it:

              Calculating upgrade... Done
              The following packages were automatically installed and are no longer required:
                libqgsttools-p1 libqt5multimediaquick-p5 qtdeclarative5-accounts-plugin
                qtdeclarative5-folderlistmodel-plugin qtdeclarative5-localstorage-plugin
                qtdeclarative5-online-accounts-client0.1 qtdeclarative5-particles-plugin
                qtdeclarative5-qtcontacts-plugin qtdeclarative5-qtorganizer-plugin
                qtdeclarative5-qtquick2-plugin qtdeclarative5-ubuntu-mediascanner0.1
                qtdeclarative5-ubuntu-settings-components qtdeclarative5-window-plugin
                qtdeclarative5-xmllistmodel-plugin
              Use 'sudo apt autoremove' to remove them.
              

              and this after installing:

              The following packages will be REMOVED:
                libqgsttools-p1 libqt5multimediaquick-p5 qtdeclarative5-accounts-plugin
                qtdeclarative5-folderlistmodel-plugin qtdeclarative5-localstorage-plugin
                qtdeclarative5-online-accounts-client0.1 qtdeclarative5-particles-plugin
                qtdeclarative5-qtcontacts-plugin qtdeclarative5-qtorganizer-plugin
                qtdeclarative5-qtquick2-plugin qtdeclarative5-ubuntu-mediascanner0.1
                qtdeclarative5-ubuntu-settings-components qtdeclarative5-window-plugin
                qtdeclarative5-xmllistmodel-plugin
              0 upgraded, 0 newly installed, 14 to remove and 0 not upgraded.
              After this operation, 845 kB disk space will be freed.
              Do you want to continue? [Y/n] 
              

              (I say no)
              Full log: https://paste.ubuntu.com/p/ZfZdpz3MqF/

              Another planet, another time, another universe!

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

                I have been testing some apps:
                Work:

                • OpenStore
                • Dialer
                • Address Book
                • Camera
                • Gallery
                • UTTT
                • System Settings
                • Linphone

                Crash after splash:

                • Calendar
                • Calculator
                • Weather
                • Clock

                I did a test with a clickable create qml app. Unconfined opens, confined crashed on start

                The only difference when doing clickable logs is:
                confined:
                Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'

                unconfined:

                Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
                Creating a QMirClientScreen now
                

                Another planet, another time, another universe!

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

                  @CiberSheep That is not a warning, and it is correct behavior. Those packages will not be in the rootfs any more, after Qt 5.12 lands.

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

                    I found an another issue: apps are unable to save settings, settings are not saved after app restart. Settings from .config folder are loaded fine. Happens with Podbird, OpenStore, Quickddit and more
                    Found in log from QQC2 Gallery app:

                    file:///opt/click.ubuntu.com/qqc2-gallery.ubad/1.0.7/qml/Main.qml:67:5: QML Settings: Failed to initialize QSettings instance. Status code is: 1
                    
                    dobeyD 1 Reply Last reply Reply Quote 0
                    • dobeyD Offline
                      dobey @danqo6
                      last edited by dobey

                      @danqo6 Odd. It's working fine with Authenticator NG.

                      Edit: Also just tried OpenStore and QQC2 Gallery, and both work fine (though scaling gets broken in the latter when switching to styles other than Suru).

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

                        @kugiigi said in Testing the upgrade to Qt 5.12:

                        PDFs are blank in Document viewer except in slideshow mode. Libreoffice files crashes the app.

                        OK. Finally tried this in my VM, and there's nothing in the log unfortunately. There was one issue about an undefined object, which I resolved to no avail.

                        Looking at the source, it seems the poppler back-end requires qtdeclarative5-private-dev which means it likely must be re-compiled against Qt 5.12 to work.

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

                          @CiberSheep said in Testing the upgrade to Qt 5.12:

                          Crash after splash:

                          I'm unable to replicate a crash with any of these apps mentioned. Only thing close is Calculator which becomes frozen, apparently due to the changes regarding the JavaScript Object, and it cannot initialize the MathJS code.

                          There are some issues with Calendar using the long-deprecated Tabs component, and week/month/year views overlaying on top of the tabs, along with some pre-existing warnings coming from uitk.

                          Weather had a few warnings, but was otherwise working fine, and I've submitted a PR to fix the new warnings in it.

                          Clock seems to work fine.

                          All of these were tested on my Nexus 4.

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

                            @dobey I have update to latest dev and sudo ubports-qa update with same result.
                            Anything useful I can send?

                            Another planet, another time, another universe!

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

                              @CiberSheep Is there nothing in the log files for the apps? And nothing in the unity8.log file about them?

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

                                @dobey said in Testing the upgrade to Qt 5.12:

                                unity8.log

                                From unity8.log booted and try to open Sheep Counter (crashes):
                                https://paste.ubuntu.com/p/ccJd2mjT8d/

                                Clock (crashes):
                                https://paste.ubuntu.com/p/fWkTjCvTwZ/

                                OpenStore (opens):
                                https://paste.ubuntu.com/p/25YDQ74ZCS/

                                Another planet, another time, another universe!

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

                                  @CiberSheep And there is no log file for sheepcounter itself? Does it not say anything useful if there is?

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

                                    @dobey Nope. Nothing useful

                                    Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
                                    

                                    I get the same for every confined app.

                                    Another planet, another time, another universe!

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

                                      @CiberSheep That happens for all apps and is normal. What device is this on?

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

                                        @dobey E5HD
                                        Any other log / test that could be helpful? I wouldn't know where to look

                                        Another planet, another time, another universe!

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

                                          @dobey said in Testing the upgrade to Qt 5.12:

                                          That happens for all apps and is normal.
                                          I meant that all confined apps crashes, unconfined opens

                                          Another planet, another time, another universe!

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

                                            @CiberSheep I don't know at this point. Nothing about what you say is happening makes any sense at all. I wonder if someone else with the e5HD or e4.5 could replicate the problem. I don't have either device unfortunately, though.

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

                                              @dobey I see.
                                              To revert the changes of this, is enough to delete ~/apt/cache and ~/apt/lists and installing the image that downloads when changing channel to RC?

                                              Another planet, another time, another universe!

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