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

    OSK Enhancements Proposals

    Scheduled Pinned Locked Moved OS
    92 Posts 21 Posters 34.2k 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.
      • K Online
        kugiigi
        last edited by kugiigi

        I'm doing some kind of an experiment here.
        I know this looks familiar....ehem iOS and Android 😄
        But this one's only in the keyboard though.
        Serves as a visual hint for a bottom swipe to open cursor mover mode and horizontal swipes for switching between keyboard layouts/languages.
        Perhaps other functions for press and press & hold.
        What do you think? It takes some spaces from the keyboard but it's quite minimal 🙂

        screenshot20190610_023356996.png

        L 1 Reply Last reply Reply Quote 1
        • L Offline
          Leppa @kugiigi
          last edited by

          @kugiigi Perhaps move the bar onto the spacebar?

          Everyone believes that their actions are better than the alternatives.

          K 1 Reply Last reply Reply Quote 0
          • K Online
            kugiigi @Leppa
            last edited by

            @Leppa I want to move the trigger from the space bar because it's not available on every layout such as emoji and japanese layout.

            1 Reply Last reply Reply Quote 1
            • K Online
              kugiigi
              last edited by

              Here's a quick overview of my experiments with bottom gestures in the OSK.
              I'm still undecided with the horizontal bar at the bottom to be honest 😄
              Everything's experimental here..take note 🙂
              What do you think?

              https://youtu.be/Qh_CkiM4nyQ

              D 1 Reply Last reply Reply Quote 4
              • D Offline
                domubpkm @kugiigi
                last edited by

                @kugiigi Question at one euro cent : does selection of a specific character string, copy, of a morph-browser page works ?

                K 1 Reply Last reply Reply Quote 0
                • K Online
                  kugiigi @domubpkm
                  last edited by

                  @domubpkm Do you mean if these features works on the Morph browser?
                  They do work, I did a workaround to have the cursor mover work properly on the browser.

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

                    @kugiigi Goood !!
                    And in dekko 2 ?

                    K 1 Reply Last reply Reply Quote 0
                    • K Online
                      kugiigi @domubpkm
                      last edited by

                      @domubpkm I think it works in any text fields but I haven't really tested it in all places 😄

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

                        @kugiigi ok. If it could works everywhere, with apps or webapps, it would more than very fine !! ☺☺Anyway, you have some good ideas. Good continuation. 👍

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

                          First, great work kugi. Thank you for your effort. Can I just give you an idea about one solution that exists on iOS and it would be great if something like this is feasible to implement also in UT.

                          The feature is called SwipeSelection and I been using it for years and for me is the most intuitive way to move the cursor and make selection using a phone OSK. I think it could be great to imitate this tweak

                          https://m.youtube.com/watch?feature=youtu.be&v=qLgK7M3m4t4

                          K 1 Reply Last reply Reply Quote 0
                          • K Online
                            kugiigi @malditobastardo
                            last edited by kugiigi

                            @malditobastardo I honestly don't check on existing features on other OS so that I base my implementations on how UT is and how I think it can be improved without being influenced by other implementations 😄

                            But that actually looks good and easy to use however, it might be very tricky to implement because it will conflict with existing gestures/inputs.

                            Can you explain exactly how it works? Any horizontal swipe moves the cursor? then a swipe from edge will select text?
                            How do you do vertical movements? I'm interested to try it out actually 😄

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

                              Anyone who has a spare device can try out the experiments I've been doing in the OSK.

                              Here are the repos for both edge and normal channels.

                              1. devel/rc/stable
                              2. edge

                              You may build them yourselves using crossbuilder or use the ready-built deb files I've also uploaded.

                              1. devel/rc/stable
                              2. edge

                              Instructions

                              1. Make your root temporarily writable using UT Tweak Tool System >> Make image writable
                              2. Download the deb files
                              3. Copy them to a directory in your UT device.
                              4. Execute the following commands
                                • cd <directory with deb files>
                                • sudo dpkg -i *.deb
                                • pkill maliit

                              Features:

                              • PR#78
                              • Bottom Gestures
                                • Open cursor mover mode
                                • Switch between languages/layouts
                              • Modified loading of languages/layouts (would most likely causes bugs and performance issues 😛 )

                              You can also just try out the bottom bar without the other stuffs.

                              1. Make your root temporarily writable using UT Tweak Tool System >> Make image writable
                              2. Download the modified Keyboard.qml
                              3. Copy it to your UT device.
                              4. Execute the following commands
                                • sudo cp /usr/share/maliit/plugins/com/ubuntu/Keyboard.qml /usr/share/maliit/plugins/com/ubuntu/Keyboard_ORIG.qml
                                • sudo cp <directory of modified Keyboard.qml>/Keyboard.qml /usr/share/maliit/plugins/com/ubuntu/
                                • pkill maliit

                              NOTE: DO THIS AT YOUR OWN RISK. THESE ARE HIGHLY EXPERIMENTAL CODES AND HASN'T BEEN TESTED THOROUGHLY SO EXPECT BUGS! 😄

                              To revert back, you may need to reflash or restore using the backed-up Keyboard.qml file.

                              Please let me know of any feedback/comments. 🙂

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

                                @kugiigi
                                screenshot20190912_163838864.png

                                Hello.
                                I have a NEXUS 5 in RC 58 and I noticed a little by chance that your work has been incorporated ? Isn't that right ? I've been missing this for a while or is it just now ?
                                I don't know if copy/paste is so fully functional but it's great for you!... 👍👍 and for us users !

                                K 1 Reply Last reply Reply Quote 2
                                • K Online
                                  kugiigi @domubpkm
                                  last edited by

                                  @domubpkm Yup it just landed on devel a few days ago and on edge I think yesterday.
                                  Enjoy and provide feedback so that we can improve 🙂

                                  CiberSheepC N 2 Replies Last reply Reply Quote 2
                                  • CiberSheepC Offline
                                    CiberSheep @kugiigi
                                    last edited by

                                    @kugiigi It's really cool. You know that?

                                    Another planet, another time, another universe!

                                    D 1 Reply Last reply Reply Quote 3
                                    • D Offline
                                      domubpkm @CiberSheep
                                      last edited by

                                      @CiberSheep Cool and very helpful !

                                      1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        normandc @kugiigi
                                        last edited by

                                        @kugiigi
                                        Got the new changes in RC as well. Thank you for this, it is a huge usability improvement to the OSK. 👍

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

                                          I'm honestly not satisfied yet. The behavior of horizontal swipes might be erratic with one hand.
                                          And I really want to add a better trigger than just the current "press and hold" the space bar.
                                          Hopefully, I can work on it very soon so it'll be included in OTA-11. 🙂

                                          Enjoy everyone! and don't be hesitant to nitpick so we can improve 😉

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

                                            Hello @kugiigi
                                            i just realized that i don't see the words
                                            cut copy paste
                                            with portrait mode on BQ E5 HD. I'm on RC
                                            screenshot20191005_085015345.png
                                            The words appear in landscape mode.

                                            For NEXUS 5, there are the words in lands and portr.

                                            K 1 Reply Last reply Reply Quote 0
                                            • K Online
                                              kugiigi @domubpkm
                                              last edited by

                                              @domubpkm Are you using the default scaling on your bq E5?
                                              In any case, I really made it behave like that so that the buttons will fit regardless of the screen width.
                                              The right buttons will have labels with enough width and then if there are more width available, the left buttons will have them as well. I believe bq E5's default scaling is a bit narrow than other UT devices.

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