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

    Sapot browser - opening of local files in ~/ home/phablet/Downloads folder impossible?

    Scheduled Pinned Locked Moved Unsolved Support
    9 Posts 5 Posters 533 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.
      • U Offline
        uwahl
        last edited by uwahl

        In contrary to morph-browser, local files in /home/phablet/Downloads folder are impossible to open by Sapot browser (acess denied).
        Is/will it be possible NOT to use Sapot browsers OWN Downloads folder in /home/phablet/.local/share/sapot-browser.kugiigi/Downloads/
        but the GENERAL one in /home/phablet/Downloads ?
        What can I do?

        arubislanderA 1 Reply Last reply Reply Quote 1
        • arubislanderA Offline
          arubislander @uwahl
          last edited by

          @uwahl Nothing can be done about it by you. Sapot Browser is confined, and so cannot access anything outside its own folder 'namespace'. Any change to that would have to be implemented in the code of the application. Maybe contact the author or open a feature request om the project page (linked in the OoenStore)

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi
              last edited by

              I'm the developer of Sapot and I intentionally made it confined so I had to change the downloads path. I don't have a plan to change that though, sorry.

              U 1 Reply Last reply Reply Quote 0
              • U Offline
                uwahl @kugiigi
                last edited by

                @kugiigi

                ...thanks for your kind answer... I don't know the needs for making an app a confined one; makes the parallel use of Morph and Sapot for testing puposes a little bit more difficult...
                But anyway, thank you for your good work and for your efforts!
                Maybe one fine day, each program will come with a configurable file in /home/phablet/.config including a path option for downloads and something else...
                ... a dream of mine in near (?) future :-))

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

                  Something like this works and maybe can be useful :
                  screenshot20220717_182547933.png

                  1 Reply Last reply Reply Quote 0
                  • U Offline
                    uwahl
                    last edited by

                    @domubpkm
                    ...thanks, it helps a little bit - I can "see" a part of contents in general Downloads folder in Sapot, but still cannot open it from Spaot browser due to "access denied"...
                    My ideal would be to see all the contents (of both General=Morph Downloads folder and Sapot Downloads folder) AND being able to open all of them by Sapot Browser...
                    Maybe an idea - installing exact copies of both Downloads folders with rsync...?

                    arubislanderA 1 Reply Last reply Reply Quote 0
                    • arubislanderA Offline
                      arubislander @uwahl
                      last edited by

                      @uwahl you have stuff in the download folder you want to open with the browser?

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      Happily running Ubuntu Touch
                      Google Pixel 3a (20.04 DEV)
                      JingPad (24.04 preview)
                      Meizu Pro 5 (16.04 DEV)

                      1 Reply Last reply Reply Quote 0
                      • U Offline
                        uwahl
                        last edited by

                        @arubislander ...yes, some downloaded html files, some png, jpg files (e.g.pricelists etc.) and even pdf files I can normally open with the document viewer by morph browser.
                        When trying to open these files with Sapot browser in the "foreign" Morph-Downloads folder ... nothing happens due to "access denied"...

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