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

    Signal UT: Signal-Desktop for Ubuntu Touch

    Scheduled Pinned Locked Moved App Development
    119 Posts 19 Posters 8.9k Views 6 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
        jilly @pparent
        last edited by

        @pparent The current text size on my Fairphone 4 is actually perfect in my opinion. Thanks for your great work!

        pparentP 1 Reply Last reply Reply Quote 0
        • pparentP Offline
          pparent @jilly
          last edited by

          @jilly @mango

          I might add an option later to customize scaling, since you do not agree on whether or not the scaling is good on the same device!

          1 Reply Last reply Reply Quote 2
          • M Offline
            mango
            last edited by mango

            @pparent When you install Ubuntu Touch on the Fairphone 4, everything is default setting. UT Tweak Tool shows scaling 21. The text size is about 0.8mm for characters like aceimnosruvwxz. It is small. Heading size is about 1.8-2mm, which starts to be easier to read.

            Not everyone has super sharp eyes to read the back of a mobile charger print or the ingredient list on the back of a small product. If Ubuntu Touch should be usable by those who use reading glasses, it has to, by force be able to scale all the different text sizes and icon sizes individually. Android phones have this global adjustable font setting with biggest size around 6-7mm. Doro phones even bigger sizes, and big icons for clumsy fingers. Children tend to like bigger buttons as well. Look at the Gameboy Emulator. It has big buttons even on Fairphone 4.

            The default scaling 21 allows for 4 app columns in the drawer portrait mode. This should be good for most people, but it is too small. Medium size on Android is bigger.

            On Android you usually have 3 steps from medium to the extreme, which is where Ubuntu Touch is default. So, medium size is 3 steps up from where it is now, at 21 scaling, and HUGE is 6 steps up from now.

            Scaling 24 allows for 3 app columns in the drawer. But the text is still too small.

            Scaling 27-30 allows 2 columns in app drawer portrait mode. But headings in Ubuntu Touch start to fall outside screen to the right for scaling above 25. The PPI of a screen (400) correlates with the scaling I guess and the result is a font height in pt or mm. Most text in LibreOffice documents is 10-14pt big. Firefox text has to almost always be scaled 1.2-1.33 on 1920x1080 monitors 15 inch big. An older laptop with lower screen resolution does not always need to scale the text in Firefox. The text is automatically bigger if the resolution is smaller. Ubuntu GNOME out of the box on a 4K display has small text. Usually everything has to be scaled 2x on 4K monitors.

            The worse eyes need a bigger text, sometimes a medium font thickness (600). Bookerly font versus Times illustrates this need. Thin font with small size is difficult for worse eyes. We want our grandmas to use Ubuntu Touch, so... we have to re-program Ubuntu Touch to allow global font settings => qt font settings. I am afraid it is absolutely necessary to adress the font size adjustment need.

            I managed to click on a cog wheel and on the right side, there is a box zoom: 100%. It does not work and it is difficult to even see the settings. Pulling out a PS2 keyboard and connecting it via USB, Ctrl ++ twice usually make the text a bit bigger. One should not have to connect a keyboard to zoom. So the scaling is already there, its just difficult to do it via the cog wheel in Signal (Settings).

            I purposely use everything default on Ubuntu Touch to see how things scale. Terminal allows to have a big font for instance. But many apps just stick to default set by the system, which is too small. I use Fairphone 4 because it has USB3 for external wired monitor. It has a great screen PPI of 400. I cannot change that. But I wish to be able to read the text in Ubuntu Touch and be able to scale it up when needed.

            danfroD 1 Reply Last reply Reply Quote 0
            • danfroD Offline
              danfro @mango
              last edited by

              @mango readability is for sure a very personal thing and depending on your eyesight. I am using UT for ten years now and never saw the need to touch scaling, although I am wearing glasses.

              The thing is, as always someone(tm) needs to do the work to allow UT to adjust text size. There needs to be made a setting, all app codes need to be adapted to use that setting. Larger text sizes will break lots of layouts in apps. App and system UI need to be changed to cover for that. This is a HUGE task. We are a small team of mostly volunteers (often non professionals like me) doing the coding in our free time. We don't have a multimillion budget with lots of professional developers.

              There have been talks about text size adjustment years ago. And we do understand the need for it. But we simply haven't got the means to do it. So we provide UT for those who can use it, maybe with UT Tweak Tool overall scaling adjusting a bit. But unless you provide code or donate a significant sum of money, sadly I don't think this will change anytime soon.

              G pparentP 2 Replies Last reply Reply Quote 1
              • G Offline
                gpatel-fr @danfro
                last edited by gpatel-fr

                @danfro said in Signal UT: Signal-Desktop for Ubuntu Touch:

                never saw the need to touch scaling, although I am wearing glasses.

                err, huh, there is wearing glasses and, well, wearing glasses.

                Most people wearing glasses have 10/10 after correction.

                Some people are wearing glasses that are near the limit of what can be done realistically (2 cm thick glasses are not realist) and/or have specific problems (such as having one eye seing things a lot bigger than the other, so while both eyes look fine separately, the binocular vision is not so useful) that can't be fully corrected without risky surgery, so they don't have good vision despite glasses.

                danfroD 1 Reply Last reply Reply Quote 0
                • danfroD Offline
                  danfro @gpatel-fr
                  last edited by danfro

                  @gpatel-fr Sure, that's why I said its a personal thing. I am well aware that some people really need larger text. We had other users asking for that feature before. I gladly can still do without. But it doesn't change the situation, that we wish do help them, but haven't got the menpower to do so.

                  Although signal app might be different being a desktop app, if that allows scaling. So it could be done per app.

                  I actually compared the text size of teleports with signal app right now. Text in Signal app is a bit smaller than in teleports. This is on OP5T with default scaling at 21.

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

                    @danfro Thank you for your comment. It is good to know what one can expect when it comes to the graphic user interface. No text adjustment to be expected anytime soon. I am glad to know that this text resizing functionality has been brought up before (not visible in this forum by search). I understand that the Ubuntu Touch design did not permit for text adjustment. Maybe in version 26.04-1.0, 28.04-1.0, 30.04-1.0 it is a good time to consider text adjustment when everything needs to be adjusted anyway.

                    Thank you! Now we know what to expect in this part. That was really good information.

                    danfroD G 2 Replies Last reply Reply Quote 0
                    • danfroD Offline
                      danfro @mango
                      last edited by

                      @mango I remember discussions from TG groups every now and then. And @pparent I am sorry if my comment about glasses was misleading. I didn't wanted to be disrespectful for people with reduced sight.

                      The qml code does in theory allow to use relative text sizes. See: https://ubports.gitlab.io/docs/api-docs/index.html?p=lomiriuserinterfacetoolkit%2Fqml-lomiri-components-label.html
                      I think this might even be a Lomiri adjustment, because I don't see textSize property in normal Qt Label.
                      Maybe we should bring up this topic into develompent groups again.

                      But for instance buttons generally don't have word wrapping available by design. So increasing a label by using a larger text (not mentioning longer translations, German is bad in that regard 😅) may make the button label being cut off. Just as one example on how complex this is.
                      I guess I should start by using this setting in my apps and try to rework them at least step by step.

                      1 Reply Last reply Reply Quote 1
                      • M Offline
                        mango
                        last edited by

                        Long text in short, size defined buttons is a classic... The buttons need to resize according to the text on a new line if there is little space. Sometimes landscape mode reveals more text in buttons. This is especially notable when using a translations file to set the labels based on locale setting.

                        1 Reply Last reply Reply Quote 0
                        • pparentP Offline
                          pparent @danfro
                          last edited by

                          @danfro said in Signal UT: Signal-Desktop for Ubuntu Touch:

                          There needs to be made a setting, all app codes need to be adapted to use that setting.

                          By the way question: does anyone know any way to get the GRID_UNIT_PX configured in Ubuntu tweaks?

                          Because the following command seems to allways give the default value for the device:

                          echo $GRID_UNIT_PX
                          
                          danfroD 1 Reply Last reply Reply Quote 0
                          • G Offline
                            gpatel-fr @mango
                            last edited by

                            @mango

                            I'm not sure that @danfro's answer is painting a full picture.
                            In fact, I'd say that the main current development effort may bring accessibility improvements.

                            Most of the work around accessibility is not done by individual unpaid developers, but by professionnal devs working to develop the framework that the individual developers are widely using to help them. In the case of native UT applications, the framework is QT.

                            The bulk of the work done currently with UT is to upgrade the framework from QT5 to QT6.

                            Although this is done because QT5 is now obsolete and unsupported, this will bring the general improvements done in QT6 to support better accessibility. In your case, this means the flexbox layout that allows developers to design redimensioning interfaces more easily.

                            What you could do to help is reading about the works of people more advanced in accessibility with QT6 than UT, I mean KDE, and look at the things they have already done, because that's where the easier part to do is, and as such can be a beginning. Most enormous work has been done not in a mammoth project with big resources, but slowly over years. The important part is to actually begin. If the settings do not exist in the UI, it's not so important. What the UI does is mostly calling an interface to change the settings, gsettings, that can be also called from the command line. As UT relies on an existing distro, the APIs to set accessibility features may already exist. That don't mean that all will work automatically, but identifying what should work and don't is called bug searching. Once it's a bug, it can be added to the big TODO list (gitlab issues).

                            After all that, it's sure that devs will not work automatically on bugs that don't inspire them.
                            But something more meaty than a forum post could trigger some progress.

                            danfroD 1 Reply Last reply Reply Quote 0
                            • danfroD Offline
                              danfro @pparent
                              last edited by

                              @pparent Looks like its somehow working with a config file: https://gitlab.com/myii/ut-tweak-tool/-/blob/master/src/app/qml/behaviourTab/LomiriScaling.qml?ref_type=heads#L32

                              G pparentP 2 Replies Last reply Reply Quote 0
                              • danfroD Offline
                                danfro @gpatel-fr
                                last edited by

                                @gpatel-fr I do admit, I didn't look into Qt6 yet. Maybe that will bring us ways to improve. And you are right, since we use components like Qt or Ubuntu, there are professionals working on that. But it still needs people to make use of it in UT.

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

                                  @danfro said in Signal UT: Signal-Desktop for Ubuntu Touch:

                                  working with a config file:

                                  Thanks for this hint, I stand corrected, I was thinking that settings in UT were done via a dbus mechanism covered by the gsettings interface - dbus allows to notify running applications of the change, an environment variable does not. So setting this value will not apply to running applications, leading to inconsistencies between applications if started before or after the change.

                                  1 Reply Last reply Reply Quote 0
                                  • pparentP Offline
                                    pparent @danfro
                                    last edited by

                                    @danfro said in Signal UT: Signal-Desktop for Ubuntu Touch:

                                    Looks like its somehow working with a config file

                                    But I don't have the authorizations to access a config file of another app from within an app like Signal UT? Is there another way to get the value, compatible with a confined app?

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