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
    124 Posts 20 Posters 9.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.
      • 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.

                danfroD 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
                  • 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 Offline
                        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
                        • pparentP Offline
                          pparent
                          last edited by

                          Thanks to @messayisto I now have a second phone to test 24.04-2.x , and why the keyboard does not work there.

                          From what I see the gtk maliit input context module loads well , and receives the events corresponding to keyboard opening.

                          Probably there were modifications made in the Maliit server in the system, and it does not connect well anymore with the gtk maliit input context, which is not very normal as we don't have any more recent version.

                          I might contact developers on telegram about that, to know a bit more what has been changed.

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

                            @pparent

                            this could be linked to this change:

                            https://gitlab.com/ubports/development/core/packaging/maliit-framework/-/commit/6bd655621fea66af7b9bb3a477b9de072b4939db

                            if it is, you may find warnings such as 'Application attempted to activate itself without focus' in the journal.

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