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

    Whatsnew: Whatsapp Web with Electron.

    Scheduled Pinned Locked Moved App Development
    49 Posts 8 Posters 3.1k Views 2 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.
      • P Offline
        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?

        pparentP 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.

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

            @mihael said in Whatslectron: Whatsapp Web with Electron.:

            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.

            Do you have the default config in terms of scaling in Ubunut Tweaks. For now normally this problem happens when you have changed the default scaling, because I don't know how to get that value. (I guess you must have the same problem with Signal UT, or Rocket.Chat). I will try to find a solution for all of them.

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

              @projectmoon said in Whatslectron: Whatsapp Web with Electron.:

              The responsive patch for Whatsapp Web/Signal/etc is basically shrinking the window size

              No it is not shrinking the window size, it is moving up the edit area

              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?

              I don't know about that yet

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

                @mihael said in Whatslectron: Whatsapp Web with Electron.:

                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.

                As mentioned in the app description it is also possible to pin it When you export or import a file with contentHUB.

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

                  @pparent said in Whatslectron: Whatsapp Web with Electron.:

                  Do you have the default config in terms of scaling in Ubunut Tweaks.

                  Current value: 21 - is this the default value? - or have I modified it in the past and I don't remember...

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

                    @mihael

                    Can you post the value of

                    echo "$GRID_UNIT_PX"
                    

                    In your terminal? It should give you the default value for your model. Maybe you can tell us also what phone you are using. (The default value is not the same for every phone)

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

                      @pparent said in Whatslectron: Whatsapp Web with Electron.:

                      echo "$GRID_UNIT_PX"

                      21

                      I'm on OnePlus N10, noble.

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

                        @mihael
                        Well then this is very strange it does not work by default. I happen to have OnePlus N10 now thanks to @messayisto I will install 24.04-1.x and try it.

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

                          @mihael

                          I've installed it on a fresh clean 24.04-1.1, on a One plus One N10 5G, the keyboards fits perfectly well in the Whatslectron app. Maybe you had previously changed the keyboard height with Ambot hacks?

                          [EDIT:] Anyway I will try to add a setting to configure scaling a keyboard height later on all of my chat Electron apps.

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

                            @vlad-nirky @mihael @projectmoon

                            If calls work for you, feel free to mention it in the openstore, so that people know it works for at least some people, and want to test it themselves! 😊

                            https://open-store.io/app/whatslectron.pparent

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

                              @pparent said in Whatslectron: Whatsapp Web with Electron.:

                              I've installed it on a fresh clean 24.04-1.1, on a One plus One N10 5G, the keyboards fits perfectly well in the Whatslectron app. Maybe you had previously changed the keyboard height with Ambot hacks?

                              I don't remember what I have done πŸ™‚

                              But actually there's a thing that I didn't mention: I have the numbers row displayed.

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

                                @mihael

                                I see, well I know what I'll do, in next revision I will do a keyboard calibration step in the welcome page (that currently only asks the microphone permission), so that automatically opens the keyboard in Qt and measures its real height.

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

                                  @pparent said in Whatslectron: Whatsapp Web with Electron.:

                                  If calls work for you, feel free to mention it in the openstore

                                  Review posted.

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

                                    @messayisto said in Whatslectron: Whatsapp Web with Electron.:

                                    @Moem UBWhats -?

                                    I wouldn't do that, it doesn't sound like WhatsApp so it's less clear what the app does.

                                    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.

                                    1 Reply Last reply Reply Quote 1
                                    • G Offline
                                      gpatel-fr @pparent
                                      last edited by

                                      @pparent

                                      since it's a new version of your app, I'd suggest Whatsnew.
                                      All right, I'll see me out πŸ™‚

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

                                        @gpatel-fr

                                        I like "Whatsnew" !

                                        By the way I also have published a desktop application for whatsapp that fits well in KDE (but probably usable in other DE) and suits my needs ( Notifications, minimized state with small icon in the System Tray that allows to see fast if a new message was received ). All the applications available on snap being too old (Chromium engine too old), not compatible with Wayland, or limited in any way.

                                        https://github.com/pparent76/Whatslectron-Desktop/releases/tag/1.0.16

                                        1 Reply Last reply Reply Quote 0
                                        • pparentP Offline
                                          pparent @gpatel-fr
                                          last edited by

                                          @gpatel-fr

                                          I mostly like "Whatsnew" because "Whatsapp" is a play in word with "What's up?" that is synonymous to "Whats new?"

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

                                            I just had a call on whatsapp web on my laptop (linux, firefox) and it was the same very poor sound quality - so I think it is not a problem with UT but rather with linux and whatsapp web...

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

                                              I've released a new version:

                                              V0.1.3:

                                              • Rebranding to "Whatsnew"
                                              • Fix searching in messages and contacts
                                              • Calibrate keyboard height so that message edit area displays well on top of the keyboard in all cases
                                              • Fix scaling of "Medias" panel (added recently by whatsapp)
                                              • Fix 1px space at the left of chatlist

                                              @mihael

                                              Can you go back to your previous keyboard configuration that did not work well before, then update the app to see if it works better?

                                              If you customize another time the keyboard, you will have to remove the app data with Ubuntu Tweaks, to recalibrate the keyboard OR do

                                              rm ~/.config/whatslectron.pparent/whatslectron.pparent/whatslectron.pparent.conf
                                              

                                              By the way I have renamed the app to Whatsnew but its ID will remain "whatslectron.pparent", cos it's not possible to change easilly

                                              mihaelM 1 Reply Last reply Reply Quote 1

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better πŸ’—

                                              Register Login
                                              • First post
                                                Last post