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

    Tip: call a contact with one hand (secret UT key !)

    Scheduled Pinned Locked Moved Off topic
    24 Posts 7 Posters 461 Views 1 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.
      • W Offline
        wally @kugiigi
        last edited by

        @kugiigi Thank you for your work on the redisgned app, by the way! Look forward to trying it when I make the switch to Noble!

        1 Reply Last reply Reply Quote 1
        • lduboeufL Offline
          lduboeuf @wally
          last edited by lduboeuf

          @wally said in Tip: call a contact with one hand (secret UT key !):

          As somebody who still often "dials" a phone number, I always just figured those contact names that appeared as I started dialing were predictions based on the phone number.. but pretty bad predictions 😂
          Finally I understand! That seems like a really useful feature!
          (also, I think T9 WAS the one where you only had to press each number a single time.)

          As i did the T9 feature few years ago, i'm interested in what you mean by "pretty bad predictions" when typing numbers. Works well on my side when starting to dial for a number and/or for the letters. But may have some issue if e.g number is stored with a region prefix or not.

          G W 2 Replies Last reply Reply Quote 0
          • G Offline
            gpatel-fr @lduboeuf
            last edited by

            @lduboeuf said in Tip: call a contact with one hand (secret UT key !):

            Works well on my side when starting to dial for a number and/or for the letters. But may have some issue if e.g number is stored with a region prefix or not.

            ah it finally dawned on me. How to use the letter dialing: if you want to call someone whose name in your contacts is say 'fred idotme', press first 3 for f (3 is def) and then 7 for r (7 is pqrs) and the software will propose (among possibly other ones) the searched for contact. As was said I think in Tintin, it's obvious once you think of it. Ah the nostalgia of desktop software lost in the mists of time when there was a F1 key to get help.

            Apart of this, yes it works pretty well except that of course if you are trying to search for a number, as in my country all portable number begin by either 06 or 07 it's not so useful. And as you say, if you use a prefix like the #31# that is used in my country to be able to call someone without revealing your own, using the real number does not lead for a prediction; that is, if the contact is #31#0102030405, typing 0102 does not display the contact even if it's the only one matching on the real number.
            To be candid that's why I almost exclusively use the contacts list to call people 🙂

            1 Reply Last reply Reply Quote 0
            • W Offline
              wally @lduboeuf
              last edited by

              @lduboeuf Pardon my miscommunication! I only thought the predictions were bad when I didn't understand that the T9 element was happening, and they seemed to come out of nowhere and not relate to anything. A laugh solely at my own ignorance 🙂

              But I don't get any predictions based on phone number, whether I use the region prefix or not. All predictions that I see are T9 based.
              Once I have entered the full phone number of a contact in the dialer, it displays the contact name. But that's clearly a different feature, as the contact name does not appear in a box like it does with predictions.
              I can type all but the final digit, with or without regional code, without seeing a prediction based on phone number.
              I thought it might relate to parentheses in phone numbers as displayed in Contacts, which is a regional custom here, but I've found contacts without parentheses and these don't come up either.
              I've also just tried adding a nice Ciderie de Bretagne as a contact, rebooting, and dialing the number, both with and without the 33 - still no prediction based on number.

              Oneplus Nord N10, 20.04 OTA 11, Canada.

              In any case, i love this T9 feature. Thank you!!

              lduboeufL G 2 Replies Last reply Reply Quote 0
              • lduboeufL Offline
                lduboeuf @wally
                last edited by

                @wally said in Tip: call a contact with one hand (secret UT key !):

                @lduboeuf Pardon my miscommunication! I only thought the predictions were bad when I didn't understand that the T9 element was happening, and they seemed to come out of nowhere and not relate to anything. A laugh solely at my own ignorance 🙂

                But I don't get any predictions based on phone number, whether I use the region prefix or not. All predictions that I see are T9 based.
                Once I have entered the full phone number of a contact in the dialer, it displays the contact name. But that's clearly a different feature, as the contact name does not appear in a box like it does with predictions.
                I can type all but the final digit, with or without regional code, without seeing a prediction based on phone number.
                I thought it might relate to parentheses in phone numbers as displayed in Contacts, which is a regional custom here, but I've found contacts without parentheses and these don't come up either.
                I've also just tried adding a nice Ciderie de Bretagne as a contact, rebooting, and dialing the number, both with and without the 33 - still no prediction based on number.

                Oneplus Nord N10, 20.04 OTA 11, Canada.

                In any case, i love this T9 feature. Thank you!!

                ok, i will need to look at it then, because it works for me by either using a prefix '+33' or start with 06 or 07

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gpatel-fr @wally
                  last edited by

                  @wally said in Tip: call a contact with one hand (secret UT key !):

                  20.04 OTA 11

                  under 24.04.1 I get

                  dpkg -l | grep dialer-app
                  ii  lomiri-dialer-app                             2.0.0+0~20250814161446.20+ubports~dev~1.gbp4bba62
                  

                  I don't have access to a phone running Focal tp check it, but under

                  http://repo.ubports.com/dists/focal/main/binary-amd64/Packages

                  I see

                  Package: dialer-app
                  Priority: optional
                  Section: x11
                  Installed-Size: 1750
                  Maintainer: UBports Developers <devs@ubports.com>
                  Architecture: amd64
                  Version: 1.0.0+0~20241101095734.1+ubports20.04~1.gbpe21919
                  

                  so are we speaking of the same thing ?

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wally @gpatel-fr
                    last edited by

                    @gpatel-fr said in Tip: call a contact with one hand (secret UT key !):

                    Version: 1.0.0+0~20241101095734.1+ubports20.04~1.gbpe21919

                    I do get this exact output for version number as output to the grep command you gave. But my assumption, based on Lionel not mentioning the version, and based on the fact that I do see suggestions based on contact name, is that this was all introduced before 24.04.

                    @lduboeuf Your development time is valuable! Maybe let me ask around a bit first on Matrix/Telegram for other people to test and make sure it's not just me before you go spending time digging into it.
                    I have now tested on a broken old Oneplus 5 too, and it's the same for me there- perfect predictions based on T9 spelling contact names, but no predictions based on phone number.

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      gpatel-fr @wally
                      last edited by

                      @wally said in Tip: call a contact with one hand (secret UT key !):

                      this was all introduced before 24.04.

                      from the code history, it seems that this is correct, you should have this feature.
                      FWIW it's based on 3 digits when searching for local numbers, and 2 digits after the '+' for international numbers.

                      1 Reply Last reply Reply Quote 1
                      • W Offline
                        wally
                        last edited by

                        @lduboeuf Aha! I've gotten somewhere. In short, it relates to what language my system is set to.

                        I was suspecting some sort of regional dialing syntax issue. I tried changing my location in System Settings, to no effect. Then I tried changing my language to Français (France), and sure enough, up comes the cidrerie after dialing +33029, or also after dialing 029.
                        Attempting to dial Canadian numbers while set to Français (France) didn't yield any predictions regardless of syntax.

                        It only then occurred to me that my language is normally set to English (UK), not English (Canada). Setting it to English (Canada), I CAN get certain contacts to be predicted, but only if I start by dialing +1, and only then for contacts that happen to have the number saved starting with +1. My Contacts seem to have a wide variety of snytaxes, some starting in +1, others simply with 1, others without the regional code at all. Also some using parentheses, some not. Perhaps this relates to a Contact list that has been exported from one device to another and from 16.04 to 20.04, with different contacts being added at different times. The contact list has always been within UT.

                        I have never dialed a plus sign, living here. Using Google Maps, if I set my VPN to Canada, I see (555) 555-5555, where if set to, for example, France and searching a Canadian business I see +1 555-555-5555.
                        So in short, even with my language set to Canadian English, I wouldn't have stumbled across any predictions based on phone numbers. It only works for numbers stored with a +, and only if I type the + when dialing.

                        If it weren't too complicated a change, perhaps if the numeric prediction search dropped all special characters like + and (, it would work more internationally? But I have no idea how feasible this is.
                        The predictions based on contact name are probably useful to a lot more people anyway, and I don't want to create more work for you. Just trying to be helpful in the small ways that I can by testing and reporting.

                        lduboeufL G 2 Replies Last reply Reply Quote 0
                        • lduboeufL Offline
                          lduboeuf @wally
                          last edited by lduboeuf

                          @wally said in Tip: call a contact with one hand (secret UT key !):

                          @lduboeuf Aha! I've gotten somewhere. In short, it relates to what language my system is set to.

                          I was suspecting some sort of regional dialing syntax issue. I tried changing my location in System Settings, to no effect. Then I tried changing my language to Français (France), and sure enough, up comes the cidrerie after dialing +33029, or also after dialing 029.
                          Attempting to dial Canadian numbers while set to Français (France) didn't yield any predictions regardless of syntax.

                          It only then occurred to me that my language is normally set to English (UK), not English (Canada). Setting it to English (Canada), I CAN get certain contacts to be predicted, but only if I start by dialing +1, and only then for contacts that happen to have the number saved starting with +1. My Contacts seem to have a wide variety of snytaxes, some starting in +1, others simply with 1, others without the regional code at all. Also some using parentheses, some not. Perhaps this relates to a Contact list that has been exported from one device to another and from 16.04 to 20.04, with different contacts being added at different times. The contact list has always been within UT.

                          I have never dialed a plus sign, living here. Using Google Maps, if I set my VPN to Canada, I see (555) 555-5555, where if set to, for example, France and searching a Canadian business I see +1 555-555-5555.
                          So in short, even with my language set to Canadian English, I wouldn't have stumbled across any predictions based on phone numbers. It only works for numbers stored with a +, and only if I type the + when dialing.

                          If it weren't too complicated a change, perhaps if the numeric prediction search dropped all special characters like + and (, it would work more internationally? But I have no idea how feasible this is.
                          The predictions based on contact name are probably useful to a lot more people anyway, and I don't want to create more work for you. Just trying to be helpful in the small ways that I can by testing and reporting.

                          Thanks for the feedback, will look at it one day. But i'm surprised prefixes change with language and not timezone

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            gpatel-fr @wally
                            last edited by

                            @wally

                            what's the return of

                            locale -k LC_TELEPHONE

                            for your phone ?
                            I get:
                            tel_int_fmt="+%c %a %l"
                            tel_dom_fmt="%a %l"

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