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

    Questions specific to gestures..."back"

    Scheduled Pinned Locked Moved Design
    12 Posts 6 Posters 351 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 @undrwater
        last edited by

        @undrwater I think a gesture wouldn't be nice. No idea the best way to properly integrate it from a UX perspective. Maybe just borrow the side screen background gesture from Android?

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by

          There's no universal "back" action in UT, the same way most OSes don't have it except Android and Windows phone. There's a back button in each app but can be implemented differently and reacts to different key bindings or none at all.

          This has been discussed many times already and honestly, I don't think we can have a universal back action similar to Android. The best we can do is probably to design the standard toolkit to make it easier to trigger. That's another discussion that has been discussed many times too but needs someone to actually design and implement it.

          I personally have many experiments on this. My older apps like Palitan for example has swipe up on the bottom left edge to go back (or whichever button is at the top left). My newer apps like Tagatuos and Sapot Browser, you can swipe left or right on the bottom edge. Ambot Installer also has a package called MariKit which adds this gesture is apps that use UT's standard toolkit.
          I personally like this gesture but there needs to be a deeper and proper discussion if we really want it 😄

          P U H 3 Replies Last reply Reply Quote 2
          • P Offline
            projectmoon @kugiigi
            last edited by

            @kugiigi said:

            There's no universal "back" action in UT, the same way most OSes don't have it except Android and Windows phone. There's a back button in each app but can be implemented differently and reacts to different key bindings or none at all.

            This has been discussed many times already and honestly, I don't think we can have a universal back action similar to Android. The best we can do is probably to design the standard toolkit to make it easier to trigger. That's another discussion that has been discussed many times too but needs someone to actually design and implement it.

            I personally have many experiments on this. My older apps like Palitan for example has swipe up on the bottom left edge to go back (or whichever button is at the top left). My newer apps like Tagatuos and Sapot Browser, you can swipe left or right on the bottom edge. Ambot Installer also has a package called MariKit which adds this gesture is apps that use UT's standard toolkit.
            I personally like this gesture but there needs to be a deeper and proper discussion if we really want it 😄

            Speaking of which, is it possible to add a gesture hint thingy at the bottom of the screen when your toolkit mod is active?

            1 Reply Last reply Reply Quote 0
            • P Offline
              projectmoon @undrwater
              last edited by

              @undrwater also, since this is not built in, you could check out @kugiigi's Ambot Installer and install MariKit. It does what you want. Slide left or right from middle-ish of the bottom edge of the screen and it's gestures ahoy.

              1 Reply Last reply Reply Quote 2
              • U Offline
                undrwater @kugiigi
                last edited by

                @kugiigi said:

                The best we can do is probably to design the standard toolkit to make it easier to trigger.

                That's kind of the idea I was considering. I see now that you have something implemented, so I'll check that out.

                I'm certainly aware there is no "global back", and that it gets complex to code the correct behavior.

                Thanks for your response!

                1 Reply Last reply Reply Quote 0
                • C Offline
                  ChromiumOS-Guy @undrwater
                  last edited by

                  @undrwater unfortunely we're kind of like IOS in this regard.

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kugiigi
                    last edited by kugiigi

                    @projectmoon There's a setting for that inside Ambot however it only works in unconfined apps.
                    Not though that there apps that use the affected components in unusual ways so the hint may show in weird places e.g. Music app, the hint shows above the currently playing bar

                    In regards to the global back action, we can implement it in the toolkit, you just have the back button trigger with the back button but we can't really enfore it everywhere else so it will be kind of pointless if it only works in certain apps 😅

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      undrwater @MrT10001
                      last edited by

                      @MrT10001

                      Imagine you only had one hand to work with. It's not beyond the realm of possibilities.

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        haagch @kugiigi
                        last edited by

                        @kugiigi Mouse Button 8 is usually mapped to Back, Mouse Button 9 to Forward. Here on desktop plasma wayland, in a quick test Firefox, Thunderbird, Dolphin and Kate do something with it. I wouldn't know if emulating those events would be a good idea, or if encouraging apps to respect it would set a bad precedent that everyone will regret in the future though.

                        I also tried connecting a usb mouse to Ubuntu Touch. It looks like those mouse buttons are not mapped at all, at least none of the apps react to it, including firefox(xmir)

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          kugiigi @haagch
                          last edited by

                          @haagch There's a separate back button but I guess the mouse back button is better supported in desktop apps.
                          And yes, it's currently not working in UT.

                          1 Reply Last reply Reply Quote 0

                          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