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

    Whatslectron: Whatsapp Web with Electron.

    Scheduled Pinned Locked Moved App Development
    25 Posts 6 Posters 407 Views 1 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.
      • pparentP Offline
        pparent @mihael
        last edited by

        @mihael

        Yes newer Chromium web engine is way more efficient, but this should be even better when we can switch this app to Wayland (instead of Xwayland) and use the GPU to accelerate rendering, this will be when the system upgrades Mir to 2.x.

        (Unfortunately there are still some few keyboard-related Quirks in this version that I will try to improve in the coming weeks.)

        P 1 Reply Last reply Reply Quote 1
        • P Online
          projectmoon @pparent
          last edited by

          @pparent out of curiosity, have you considered attempting to bundle the Qt6 web engine statically? Similar to whatever is going on with Morph Qt6 version.

          pparentP 1 Reply Last reply Reply Quote 0
          • pparentP Offline
            pparent @projectmoon
            last edited by pparent

            @projectmoon

            Yes but for now I needed something that works fast, and I know how to make an electron app work fast on UT, for now QT6 bundling is a bit more obscure to me.

            Also I think Electron apps really have advantages for this kind of important and complex webapp, because it does not depend on the webengine of the system that can easily become too old, and it's way more flexible. Sadly he version of the webengine in Morph Qt6 is still a bit old, and not as performant as Chromium 140+ .

            I know that electron apps currently have the disadvantage to run on XWayland, but it will hopefully be solved with Mir2.x release, making them more performant et more integrated to the system, and perfect for this kind of complexe webapp that are very sensitive to the browser engine version.

            Also @chromiumos-guy is working on xdg_portal integration that will fursther help with better integration of electron apps into the system. ( Thanks! )

            pparentP 1 Reply Last reply Reply Quote 1
            • pparentP Offline
              pparent @pparent
              last edited by

              @projectmoon @mihael @vlad-nirky

              I would like to maybe find a better name that "Whatslectron" because this is a name the I've found rapidly but it seems to long, at least for the icon.

              I've been thinking in "Whatse⁻" "Whatsem" "Whatsep", ect... But I'm not 100% convinced by any of them.

              Any idea or preference?

              Vlad NirkyV MoemM 2 Replies Last reply Reply Quote 0
              • Vlad NirkyV Offline
                Vlad Nirky @pparent
                last edited by

                @pparent
                whatsup ?

                1 Reply Last reply Reply Quote 0
                • MoemM Offline
                  Moem @pparent
                  last edited by

                  @pparent WhatsUB?

                  Is currently using an Op5t
                  Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                  messayistoM 1 Reply Last reply Reply Quote 0
                  • messayistoM Offline
                    messayisto @Moem
                    last edited by

                    @Moem UBWhats -?

                    1 Reply Last reply Reply Quote 0
                    • mihaelM Offline
                      mihael
                      last edited by

                      Regarding the keyboard:

                      I had to adjust the keyboard height (thanks to Ambot Installer this is possible) in order to be able to see the text input area. So it seems that when the keyboard is displayed the text input area moves up indeed but not above the keyboard (depending on keyboard height) but to a fixed position.

                      P 1 Reply Last reply Reply Quote 0
                      • P Online
                        projectmoon @mihael
                        last edited by projectmoon

                        @mihael I have this problem as well, and it's because the X11 server doesn't really know what the keyboard height is. The responsive patch for Whatsapp Web/Signal/etc is basically shrinking the window size inside the X server to the standard keyboard height when the keyboard is out. But it would need a configurable option to change that value in the app itself, I think. Unless there is some magic (and preferably confined) way to yoink the keyboard height from the keyboard?

                        Personally, I think the keyboard height in UT is way too low. But, an adjustable height keyboard Should Just Work once Mir 2.x comes out... right?

                        1 Reply Last reply Reply Quote 0
                        • mihaelM Offline
                          mihael
                          last edited by

                          Regarding pinning the icon to the left menu bar:

                          If anybody wants to pin the starting icon to the left menu bar in UT, I was able to do that during the start-up portion of the app - when that introductory page is displayed. After that, when the whatsapp content is displayed, the icon on the left changes to "X11 support" and pinning it will not start the app.

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