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

    Install browser-ng for QtWebEngine goodness

    Scheduled Pinned Locked Moved Support
    flo hacks
    37 Posts 13 Posters 11.0k Views 5 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.
      • T Offline
        tomoqv
        last edited by

        Home Assistant works with Browser Next, horray! However, I still get browser not supported by Google+.
        There are some other issues too, such as that the browser appears to have no memory. I can set a bookmark in one session, but as soon as I restart the browser it is gone. Same with browsing history, it always opens with a new window and only the DuckDuckGo search tab open.
        Also, while still mobile friendly, the UI is tinier than on the default web browser. Not a huge problem and sometimes an advantage I guess.

        I will post some issues on github as I test it further.

        Now, all I need is a way to utilize Browser Next in webapps and I will be all set.

        flohackF 1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack @tomoqv
          last edited by

          @tomoqv Good to hear. Basically this is work in progress, so expect updates now and then. Earliest possible release is OTA-5.

          BR

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            tomoqv @flohack
            last edited by

            @flohack
            Any chance it will be possible to create web apps based on Browser Next before OTA-5?

            flohackF 1 Reply Last reply Reply Quote 0
            • flohackF Offline
              flohack @tomoqv
              last edited by

              @tomoqv Probably we need to test it, so yes. But no ETA right now. I dont even know the internals ob the web app container. But in theory it must be easy πŸ˜‰

              BR

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

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

                How do I make it default browser?? when an app wants To launch one?

                flohackF 1 Reply Last reply Reply Quote 1
                • flohackF Offline
                  flohack @doniks
                  last edited by

                  @doniks You cannot do this alone, it will be later registered as proper URL handler. Good point, currently UT misses user selectable default handlers πŸ™‚

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    doniks @flohack
                    last edited by doniks

                    @flohack

                    You cannot do this alone

                    How dare you πŸ˜‰

                    Of course I can.

                    cd ~/.cache/url-dispatcher 
                    sqlite3 urls-1.db
                    .tables
                    .headers on
                    select * from configfiles;
                    delete from configfiles where name='the/one/for/the/old/browser';
                    

                    Maybe I cannot go back, because I didn't take a backup, but that's another story.

                    1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack
                      last edited by

                      Brute-forced, I give up lol

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Marathon2422
                        last edited by

                        @unisuperbox said in Install browser-ng for QtWebEngine goodness:

                        sudo apt update && sudo apt install qml-module-qtwebengine

                        got it on my pro5
                        Subject to testing
                        Couldn't get it to install,before I increased my cache size, ( curious if that is what made the difference,or is it something you guys have changed since my last attempt ? )

                        1 Reply Last reply Reply Quote 0
                        • IngoI Offline
                          Ingo @advocatux
                          last edited by

                          @advocatux said in Install browser-ng for QtWebEngine goodness:

                          @zubozrout yes, after the last OTA I have the browser running without reinstalling. Funny.

                          So it seems everything needed is there and the re-scanning after rebooting catches the app.

                          Strange, I had to do the apt command again after installing an update on my Fairphone 2.

                          advocatuxA Z 2 Replies Last reply Reply Quote 0
                          • advocatuxA Offline
                            advocatux @Ingo
                            last edited by

                            @ingo strange indeed, I still have the new web browser running fine after several updates (on krillin).

                            1 Reply Last reply Reply Quote 0
                            • Z Offline
                              zubozrout @Ingo
                              last edited by

                              @ingo Yup, the dependencies are still not in the images unfortunately so it may not survive OTA updates for some. But for me the browser still works and I only had to install the packages once :).

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