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

    App menu double entries w/Anbox

    Scheduled Pinned Locked Moved Support
    19 Posts 7 Posters 1.8k Views 3 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.
      • mihaelM Offline
        mihael
        last edited by

        screenshot20200311_214956193.png

        1 Reply Last reply Reply Quote 0
        • R Offline
          rocket2nfinity
          last edited by

          Tell me how I can post a picture and I'll show you. But, basically, it's like the post above ^^^

          Just Android apps are being repeated, not UT System apps. Most have stopped at two copies, but some seem to add or reduce randomly. FDroid had three copies, and now only has one, everything else has two currently. I tried resetting just the launcher but that didn't do anything. I erased and re-installed the whole UT system image and re-installed Anbox and it happened again. So it wasn't because I goofed something on the first install. I followed the UBPorts guide without installing the kernel as the UBPorts Anbox forum instructs.

          1 Reply Last reply Reply Quote 0
          • R Offline
            rocket2nfinity @dobey
            last edited by

            @dobey Yes, it includes AOSP calendar, clock, settings, calculator, contacts, gallery, and every Android app I've installed.

            1 Reply Last reply Reply Quote 0
            • dobeyD Offline
              dobey
              last edited by

              OK. Not sure what would cause that. Seems like some bug is causing the launcher files to get duplicated many times. Does the number of repetitions perhaps match the number of times each app has been updated inside anbox?

              1 Reply Last reply Reply Quote 0
              • R Offline
                rocket2nfinity
                last edited by rocket2nfinity

                The duplication occurs when you open an app that crashes. I now have three FDroid apps. Some Android apps function as expected, but some do not. The ones that crash seem to interact with UT system in some way - accessing sound, files, camera, etc. Yes, I know camera is not functioning with Android.

                Funny thing is, the apps that multiply after an app crashes are not the app that just crashed, but just some random app or all apps. I have not opened FDroid at any time today. And I now have three copies of every Android app.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chrisse
                  last edited by

                  I have had that and it disappears after restart. Does it for you too?

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rocket2nfinity @chrisse
                    last edited by

                    @chrisse No. Mine persist after reboot

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

                      My duplicates disappear after each restart. I need to say that I frequently disable and re-enable anbox (I disable it so that it would not use baterry because of whatsapp) - could it be connected?

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rocket2nfinity @mihael
                        last edited by

                        @mihael I don't disable Anbox. I'll try that. Disabling and restarting Anbox on each boot I think would be a bug.

                        I don't have this behavior on my X86 tablet running Ubuntu Gnome with Anbox. So I'm thinking this is a UbPorts bug. Not sure which team I should file this with.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rocket2nfinity
                          last edited by

                          Well, disabling and restarting anbox clears the double entries, but they return after an app crashes

                          1 Reply Last reply Reply Quote 1
                          • hankschwieH Offline
                            hankschwie
                            last edited by hankschwie

                            Hi!

                            They appear, too, when Anbox is disabled, and then enabled again.
                            There are two places where the icons and .desktop-files are stored , the first is /home/phablet/.local/share/applications/, the second the subdirectory .../anbox within that path.
                            I tried to remove the anbox directory /home/phablet/.local/share/applications/anbox/, but it reappeared; then I changed the rights on it, so it can't be used anymore, but the entries still tend to reappear twice, thrice, etc. in the app drawer. Restarting unity8 helps a bit..
                            .

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              tigerpro @hankschwie
                              last edited by

                              @hankschwie I noticed this as well, I can delete the .png files and the icons go to a single instance after a reboot, but goes back to double after a couple minutes, could just be an issue with anbox honestly, and since anbox isnt actively developed for UT (unless Im mistaken) I dont think that will change

                              Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                rocket2nfinity @tigerpro
                                last edited by

                                @tigerpro There is a port (really a script) specifically for UT that enables Google play store and services - available on GitHub/Anbox. I've been meaning to try it out after I figure out this problem.

                                Hence my confusion about who created, and who to report, this bug to. The way to install Anbox on X86 is not the same as here. On X86 you either compile from source, or download a Snap package. Here you've got the handy Anbox Tool which rather simplifies things and integrates the apps directly into your app menu. I rather like this way better. It's simpler. If I could only get those double entries to go away......

                                1 Reply Last reply Reply Quote 0
                                • c4pp4C Offline
                                  c4pp4
                                  last edited by

                                  Try to refresh the Drawer by pulling down and releasing.

                                  mihaelM R 2 Replies Last reply Reply Quote 2
                                  • mihaelM Offline
                                    mihael @c4pp4
                                    last edited by

                                    @c4pp4 That works and removes the duplicates, thank you! Was that working before or is it a new feature recently added? - I'm on rc channel.

                                    c4pp4C 1 Reply Last reply Reply Quote 0
                                    • c4pp4C Offline
                                      c4pp4 @mihael
                                      last edited by c4pp4

                                      @mihael
                                      I think it's since this commit https://github.com/ubports/unity8/commit/2a12bafe606d59898588ccece7812655f225cab3

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rocket2nfinity @c4pp4
                                        last edited by

                                        @c4pp4 That certainly helps! But it doesn't end the problem as they randomly come back. But I'll take it until someone figures out a fix.

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