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
    122 Posts 20 Posters 9.5k 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.
      • 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 Online
          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.

                  danfroD 1 Reply Last reply Reply Quote 0
                  • pparentP Online
                    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
                    • danfroD Offline
                      danfro @gpatel-fr
                      last edited by

                      @gpatel-fr We certainly can als use gsettings. I made a proof of concept for ThemeSwitch app a while ago (https://gitlab.com/Danfro/themeswitch/-/tree/gsetting_focal?ref_type=heads).

                      I am almost sure we can't use other apps values without loosing confinement. The value would need to be provided by the system. I guess if GRID_UNIT_PX could be changed in system settings and apps read that, that might work. Or it may need another apparmor rule. But I am really not that knowledgable to answer all details.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        richarddb
                        last edited by

                        Is there a dark mode option? In the settings I cannot select it (no reaction from the listbox)

                        pparentP 1 Reply Last reply Reply Quote 0
                        • pparentP Online
                          pparent @richarddb
                          last edited by

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

                          Is there a dark mode option? In the settings I cannot select it (no reaction from the listbox)

                          https://forums.ubports.com/post/90336

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