• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.1k 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.
    • J Offline
      Josele13
      last edited by 22 Dec 2018, 23:24

      I like Bordered grey, it's the one that looks most like Ambiance dark on the desk

      Xiaomi Redmi Note 9 pro
      Oneplus Nord 100
      Xiaomi Redmi Note 7
      Nexus 5
      Bq E4.5 Ubuntu edition .... is dead

      1 Reply Last reply Reply Quote 0
      • K Offline
        kugiigi
        last edited by kugiigi 6 Sept 2019, 14:53 3 Jun 2019, 17:55

        So the OSK theme landed a few OTAs back. Awesome right?! 😄
        And now I'm back with my OSK works....finally!....specifically with the advanced text functionalities in the OSK.
        I've prototyped and demoed this almost half a year ago but now I want to make it "PR-ready".
        So once I get satisfied, I will propose this officially.

        List of changes and additional features

        • Added audio and haptic feedback to the word ribbon (auto suggest bar)
        • Temporary fix for the issue where cursor mover isn't working correctly in QtWebEngine text fields such as in the Morph Browser (some trade-offs to fix this temporarily)
        • Horizontal movement in the cursor mover will now move vertically once the start/end of line is reached. I'm not sure how this really affects the experience but it was definitely implemented like that before for a reason. (a trade-off for the issue above)
        • A new way to trigger the cursor mover mode (bottom swipe). This is available anywhere in the OSK so regardless of the layout or type, you can now trigger it. Press and hold in the space bar is still available.
        • Implemented text manipulation features which are available in a top bar that shows up when in cursor mover mode.
          • Copy
          • Cut
          • Paste
          • Select All
          • Undo
          • Redo
        • Implemented text selection mode (no timeout, needs manually exiting)
          • While in cursor mover mode, double tap/click to enter selection mode. You can also immediately select texts by double tapping then swiping immediately without lifting your finger.
          • Word Selection: Double tap while in cursor mover mode without swiping [Disabled for now to fix QtWebEngine issue]
        • Added floating buttons in cursor mover mode
          • Move cursor to the start/end of line or document
          • They can also be used in conjunction with the selection mode!
          • Done button: Used to end selection mode and/or cursor mover mode
        • Changed timeout of cursor mover mode to 5 seconds (experimental)

        Know Issues:

        • The new toolbar buttons and floating buttons sometimes retain their previous color when changing OSK theme.
          FIXED: Just needed to bind the colors 🙂

        • Using the Start of line/document button from the floating buttons while in selection mode doesn't select texts. I'm not really sure why.
          FIXED: Stupid mistake by me....it worked in my first branch and just had a mistake with this new branch 😄

        • The bottom swipe trigger might be difficult to trigger in landscape mode especially for devices with protrusion on the sides/bezels especially those with cases.

        Please feel free to try it out from the git branch linked below. You'd need to use crossbuilder to compile it and deploy to your device via ADB.
        https://github.com/kugiigi/keyboard-component/tree/xenial_-_textfunctions

        NOTE: BEWARE EDGE CHANNEL USERS. This won't work on edge because there's a separate branch for it which I don't have a modified fork yet. If there's plenty of interested then I might consider 😛

        Suggestions and feedback will also be greatly appreciated especially on the design 😄

        1 Reply Last reply Reply Quote 11
        • T Offline
          TotalSonic
          last edited by 4 Jun 2019, 03:26

          That is awesome Kugi! Thank you so much for your work on this, and I truly hope this can make it into OTA10 if at all possible.

          Best regards,
          Steve Berson

          1 Reply Last reply Reply Quote 0
          • K Offline
            kugiigi
            last edited by 4 Jun 2019, 09:11

            Some screenshots 🙂

            Cursor mover mode

            screenshot20190604_164226071.png

            Selection Mode

            screenshot20190604_164235641.png

            1 Reply Last reply Reply Quote 9
            • K Offline
              kugiigi
              last edited by kugiigi 6 Sept 2019, 19:06 9 Jun 2019, 19:04

              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 9 Jun 2019, 20:41 Reply Quote 1
              • L Offline
                Leppa @kugiigi
                last edited by 9 Jun 2019, 20:41

                @kugiigi Perhaps move the bar onto the spacebar?

                Everyone believes that their actions are better than the alternatives.

                K 1 Reply Last reply 10 Jun 2019, 07:59 Reply Quote 0
                • K Offline
                  kugiigi @Leppa
                  last edited by 10 Jun 2019, 07:59

                  @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 Offline
                    kugiigi
                    last edited by 17 Jun 2019, 16:51

                    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 17 Jun 2019, 19:09 Reply Quote 4
                    • D Offline
                      domubpkm @kugiigi
                      last edited by 17 Jun 2019, 19:09

                      @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 17 Jun 2019, 19:24 Reply Quote 0
                      • K Offline
                        kugiigi @domubpkm
                        last edited by 17 Jun 2019, 19:24

                        @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 17 Jun 2019, 19:31 Reply Quote 1
                        • D Offline
                          domubpkm @kugiigi
                          last edited by 17 Jun 2019, 19:31

                          @kugiigi Goood !!
                          And in dekko 2 ?

                          K 1 Reply Last reply 18 Jun 2019, 06:11 Reply Quote 0
                          • K Offline
                            kugiigi @domubpkm
                            last edited by 18 Jun 2019, 06:11

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

                            D 1 Reply Last reply 18 Jun 2019, 06:25 Reply Quote 1
                            • D Offline
                              domubpkm @kugiigi
                              last edited by 18 Jun 2019, 06:25

                              @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 18 Jun 2019, 14:41

                                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 18 Jun 2019, 15:00 Reply Quote 0
                                • K Offline
                                  kugiigi @malditobastardo
                                  last edited by kugiigi 18 Jun 2019, 15:00

                                  @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 23 Jun 2019, 18:08 Reply Quote 0
                                  • K Offline
                                    kugiigi @kugiigi
                                    last edited by kugiigi 23 Jun 2019, 18:08

                                    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 9 Dec 2019, 15:02 12 Sept 2019, 15:00

                                      @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 13 Sept 2019, 06:55 Reply Quote 2
                                      • K Offline
                                        kugiigi @domubpkm
                                        last edited by 13 Sept 2019, 06:55

                                        @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 15 Sept 2019, 13:00 Reply Quote 2
                                        • CiberSheepC Offline
                                          CiberSheep @kugiigi
                                          last edited by 15 Sept 2019, 13:00

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

                                          Another planet, another time, another universe!

                                          D 1 Reply Last reply 15 Sept 2019, 13:27 Reply Quote 3
                                          • D Offline
                                            domubpkm @CiberSheep
                                            last edited by 15 Sept 2019, 13:27

                                            @CiberSheep Cool and very helpful !

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