• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • C Offline
      CiberSheep @CiberSheep
      last edited by CiberSheep 31 Oct 2020, 00:04

      Edit, thanks @jezek I confirmed, it's an error of syntax:
      pushing a page created in js, to a PageStack doesn't work in Qt 5.12 if properties are added:

      var importPage = mainStack.push(Qt.resolvedUrl("PageHubImport.qml", {"allowMultipleFiles":false}));
      

      Edit: parameters,should be outside of resolvedUrl

      var importPage = mainStack.push(Qt.resolvedUrl("PageHubImport.qml"), {"allowMultipleFiles":false});
      

      Another planet, another time, another universe!

      J 1 Reply Last reply 31 Oct 2020, 02:01 Reply Quote 0
      • J Offline
        jezek @CiberSheep
        last edited by 31 Oct 2020, 02:01

        @CiberSheep said in Testing the upgrade to Qt 5.12:

        Interesting:
        pushing a page created in js, to a PageStack doesn't work in Qt 5.12 if properties are added:

        var importPage = mainStack.push(Qt.resolvedUrl("PageHubImport.qml", {"allowMultipleFiles":false}));
        

        I think, the parentheses are mismatched. I should be:

        var importPage = mainStack.push(Qt.resolvedUrl("PageHubImport.qml"), {"allowMultipleFiles":false});
        

        jEzEk

        1 Reply Last reply Reply Quote 1
        • C Offline
          CiberSheep
          last edited by CiberSheep 11 Feb 2020, 23:17 31 Oct 2020, 02:09

          Testing on M10HD.

          • Calendar crashes after some secods to be opened (same in E5): https://paste.ubuntu.com/p/d5WXvnFb4h/
            Fixed

          • GearSystem works

          • Splash screens are a bit too big. Special issue with side stage (don't look at the background color)
            Fixed

          701eb646-b4fb-4e28-8fbd-3141495107c0-image.png

          Another planet, another time, another universe!

          D 1 Reply Last reply 2 Nov 2020, 14:24 Reply Quote 0
          • D Offline
            dobey @CiberSheep
            last edited by 2 Nov 2020, 14:24

            @CiberSheep said in Testing the upgrade to Qt 5.12:

            Splash screens are a bit too big. Special issue with side stage (don't look at the background color)

            I'm not quite sure what's going on in this picture. What's the giant white bar across the screen, and why is OpenStore not filled to the bottom?

            C 1 Reply Last reply 2 Nov 2020, 23:16 Reply Quote 0
            • D Offline
              danqo6
              last edited by danqo6 11 Feb 2020, 14:34 2 Nov 2020, 14:32

              There is an issue with splash image in quickddit too, but there is too small. And clock app crashes only when there is any alarm.

              D 1 Reply Last reply 2 Nov 2020, 20:53 Reply Quote 0
              • D Offline
                dobey
                last edited by 2 Nov 2020, 16:45

                OK. I've made another change to the splash image handling that should hopefully fix these last issues. If you could update and test again to verify, that would be great, thanks!

                1 Reply Last reply Reply Quote 1
                • D Offline
                  dobey @danqo6
                  last edited by 2 Nov 2020, 20:53

                  @danqo6 said in Testing the upgrade to Qt 5.12:

                  And clock app crashes only when there is any alarm.

                  Tried to track this down, and was able to get a crash, but after rebuilding a couple repos so I could get debug symbol packages from CI, it now just works. So please update and see if it still occurs. Thanks.

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    danqo6
                    last edited by danqo6 11 Feb 2020, 21:39 2 Nov 2020, 21:35

                    Crashes in both Clock and Calendar apps has been fixed :party_popper:
                    Splash image in gallery app is weird, but it can be fixed with new higher resolution icon.
                    Issue with not remembering settings across app (Morph, Podbird, etc) restarts still persist for me, phone goes to sleep during video playback too. No any other issues for me

                    1 Reply Last reply Reply Quote 1
                    • F Offline
                      Fla
                      last edited by 2 Nov 2020, 21:45

                      Looks like we're slowly getting there, congratulations to everyone involved with a special thanks to @dobey

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        CiberSheep @dobey
                        last edited by 2 Nov 2020, 23:16

                        @dobey said in Testing the upgrade to Qt 5.12:

                        @CiberSheep said in Testing the upgrade to Qt 5.12:

                        Splash screens are a bit too big. Special issue with side stage (don't look at the background color)

                        I'm not quite sure what's going on in this picture. What's the giant white bar across the screen, and why is OpenStore not filled to the bottom?

                        It's fixed with the latest changes

                        Another planet, another time, another universe!

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kugiigi
                          last edited by 3 Nov 2020, 10:29

                          Some apps with custom splash image are too stretched out like for example Gallery.
                          It's also the same as Talaan and the common thing with them is that the custom splash images are both png instead of SVG. My guess is that the current behavior is that the size is based on the image size but with qt5.12, it's always stretched vertically or horizontally.

                          D 1 Reply Last reply 4 Nov 2020, 15:13 Reply Quote 0
                          • D Offline
                            dobey @kugiigi
                            last edited by dobey 11 Apr 2020, 15:15 4 Nov 2020, 15:13

                            @kugiigi The problem is that Image {} can't magically determine the intent of app devs showing splash screen, and some define it incorrectly. There's an updated splash in gallery-app on GitLab but it hasn't been released yet. But even these new splashes will have some problems in certain situations, and won't work for all possible window sizes under Lomiri. It just happens that apparently some changes in Qt 5.12 are exposing these issues to us.

                            So, we need to define the expected behavior for X-Ubuntu-Splash-Image better, and stick to that, and then if there are still more complaints about size or scaling, the apps need to be fixed. So, what is the opinion of @CiberSheep and UX group here?

                            The old Ubuntu platform guide says this on it:

                            File name of an image present in the directory stated in the Path entry. The splash image is centered on the splash screen and displayed in its actual size (ie, it's not stretched or shrunk and aspect ratio is kept).

                            M C 2 Replies Last reply 4 Nov 2020, 15:17 Reply Quote 0
                            • M Offline
                              mymike @dobey
                              last edited by 4 Nov 2020, 15:17

                              @dobey said in Testing the upgrade to Qt 5.12:

                              File name of an image present in the directory stated in the Path entry. The splash image is centered on the splash screen and displayed in its actual size (ie, it's not stretched or shrunk and aspect ratio is kept).

                              For vector images, the splash screen has always scaled the image to fill the minimum value between window width and height. Not sure if we want to change that or keep it...

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dobey
                                last edited by 4 Nov 2020, 16:54

                                OK. Did a little more poking at the Splash, and I think I have it working more like it was before, without the weird artifacts happening. Please upgrade and test again. Thanks!

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dobey
                                  last edited by 4 Nov 2020, 20:42

                                  Well, that didn't seem to really fix everything, and with more poking about at the X-Ubuntu-Splash-Image handling I'm surprised it every worked as described in the platform guide. I can't seem to get a configuration of the Image {} component which provides the behavior described there, and which also provides a usable experience with the sample set of apps installed on my test device, nor in my VM running unity8 on 16.04.

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    danfro
                                    last edited by 4 Nov 2020, 21:25

                                    Just pulled the latest devel update for my E5, devel.

                                    Calendar app does crash on startup. http://paste.ubuntu.com/p/F4WjzkkQh9/

                                    Notes app does open, but too only gives blank screen when opening a date picker. http://paste.ubuntu.com/p/XYrxkX2PNd/

                                    FluffyChat works, also bottom edge. Although when opeing that the first time it took a few seconds to open up.

                                    Teleports + dekko blank screen on startup.

                                    uTorch does crash after it has lost focus.

                                    Farkle, sprint app, ThemeSwitch, Logviewer, terminal, music app, gallery app, weather app, docviewer, file manager, calculator are working (basic functions).

                                    Ok, thats for a first feedback.

                                    D 1 Reply Last reply 4 Nov 2020, 21:55 Reply Quote 0
                                    • C Offline
                                      CiberSheep @dobey
                                      last edited by 4 Nov 2020, 21:35

                                      @dobey said in Testing the upgrade to Qt 5.12:

                                      The old Ubuntu platform guide says this on it:

                                      File name of an image present in the directory stated in the Path entry. The splash image is centered on the splash screen and displayed in its actual size (ie, it's not stretched or shrunk and aspect ratio is kept).

                                      I think this is a good way of going. On Qt 5.9 the image is scaled to the smallest size but that works kind of funny on the tablet.

                                      If that's possible to implement, we can add that to the HIG and change any app that need fixing afterwards.

                                      Another planet, another time, another universe!

                                      D 1 Reply Last reply 4 Nov 2020, 22:03 Reply Quote 0
                                      • D Offline
                                        dobey @danfro
                                        last edited by 4 Nov 2020, 21:55

                                        @danfro said in Testing the upgrade to Qt 5.12:

                                        Calendar app does crash on startup

                                        Is the pastebin from the log file, or from using the run-click.sh script I posted above to run it from CLI?

                                        Notes app does open, but too only gives blank screen when opening a date picker.

                                        I've opened a PR against notes app to fix this now.

                                        uTorch does crash after it has lost focus.

                                        It seems to work OK here on my e4.5. Can you run it using the script I posted above to see what happens?

                                        D 1 Reply Last reply 6 Nov 2020, 16:40 Reply Quote 0
                                        • D Offline
                                          dobey @CiberSheep
                                          last edited by 4 Nov 2020, 22:03

                                          @CiberSheep I don't think it can be implemented as described, and give a good result. IIRC, the idea was for it to allow people to provide a phone-sized image, but that clearly doesn't translate to tablets or PCs.

                                          I can implement it such that there is a maximum square area that matches the smallest edge, and we can have the image scaled/cropped for that area, but there will still be situations where the result it gives us will not be what app devs desire for their splash images.

                                          C 1 Reply Last reply 4 Nov 2020, 22:39 Reply Quote 0
                                          • C Offline
                                            CiberSheep @dobey
                                            last edited by 4 Nov 2020, 22:39

                                            @dobey said in Testing the upgrade to Qt 5.12:

                                            I can implement it such that there is a maximum square area that matches the smallest edge, and we can have the image scaled/cropped for that area, but there will still be situations where the result it gives us will not be what app devs desire for their splash images.

                                            • It has to be a square, then?
                                            • I would say scaled rather than cropped if possible
                                            • Developer, we will have to work around the limitations. All is knowing how it works before hand.

                                            Another planet, another time, another universe!

                                            D 1 Reply Last reply 5 Nov 2020, 14:50 Reply Quote 0
                                            114 out of 137
                                            • First post
                                              114/137
                                              Last post