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

Login screen/Code input Design

Scheduled Pinned Locked Moved Solved Design
122 Posts 17 Posters 58.1k Views 7 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.
    • K Offline
      kugiigi
      last edited by 16 Apr 2021, 06:48

      If you have a test device that you can reflash easily, you can install an IDE or text editor (i.e. Geany) in your root and use X-forwarding so that you can modify QML files directly and restart Lomiri. Just make sure your device automatically starts ssh upon boot so you can still connect to it and fix in case something goes wrong. Also, of course, backup first the original QML files.

      A 2 Replies Last reply 16 Apr 2021, 10:12 Reply Quote 1
      • A Offline
        aarontheissueguy @kugiigi
        last edited by 16 Apr 2021, 10:12

        @kugiigi

        Screens2.jpg

        I think something like this with the default keyboard is the most realistic approach for a suggestion. @purplevvay do you have time to create mock-ups for the different orientations and desktop? Maby an emergency button could sit in the top left corner.
        I will try to get a design working in unity/lomiri in the meantime.

        P 1 Reply Last reply 16 Apr 2021, 10:43 Reply Quote 0
        • A Offline
          aarontheissueguy @kugiigi
          last edited by 16 Apr 2021, 10:14

          @kugiigi I installed nano and modify stuff through ssh. That works pretty well and I can easily recover by undoing my changes.

          1 Reply Last reply Reply Quote 0
          • P Offline
            purplevvay @aarontheissueguy
            last edited by 16 Apr 2021, 10:43

            @kugiigi said in Login screen/Code input Design:

            If you have a test device that you can reflash easily, you can install an IDE or text editor (i.e. Geany) in your root and use X-forwarding so that you can modify QML files directly and restart Lomiri. Just make sure your device automatically starts ssh upon boot so you can still connect to it and fix in case something goes wrong. Also, of course, backup first the original QML files.

            Unfortunately I don't have test device, but thanks anyway.

            @aarontheissueguy said in Login screen/Code input Design:

            @purplevvay do you have time to create mock-ups for the different orientations and desktop? Maby an emergency button could sit in the top left corner.
            I will try to get a design working in unity/lomiri in the meantime.

            Yes, of course!!!

            using ut on xiaomi mi a2

            A 1 Reply Last reply 17 Apr 2021, 14:38 Reply Quote 0
            • A Offline
              aarontheissueguy @purplevvay
              last edited by aarontheissueguy 17 Apr 2021, 14:38

              @purplevvay dark.jpg

              Ive been doing some tinkering and start to understand how things work in Lomiri. I was able to tweak some things to get dark mode.
              (configured manually)

              A 1 Reply Last reply 17 Apr 2021, 14:39 Reply Quote 1
              • A Offline
                aarontheissueguy @aarontheissueguy
                last edited by 17 Apr 2021, 14:39

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • K Offline
                  kugiigi
                  last edited by 17 Apr 2021, 16:13

                  One problem I think is that Lomiri's internal code is using Suru Dark theme all the time, so using the themed palettes in the code won't be dynamic. Also, the keyboard is a separate component we can't rely the theming from it. So maybe, the design should be neutral to light and dark theme.

                  A K 3 Replies Last reply 17 Apr 2021, 16:24 Reply Quote 0
                  • A Offline
                    aarontheissueguy @kugiigi
                    last edited by 17 Apr 2021, 16:24

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      aarontheissueguy @kugiigi
                      last edited by 17 Apr 2021, 16:29

                      @kugiigi Exactly, thats why I highlighted that this was configured manually and is only the result testing only. How can we reliably tell which theme a user is using?

                      K 1 Reply Last reply 17 Apr 2021, 16:45 Reply Quote 0
                      • K Offline
                        kugiigi @aarontheissueguy
                        last edited by 17 Apr 2021, 16:45

                        @aarontheissueguy Yes, I understand. Just saying some things to consider 🙂
                        There's really no official way of setting the theme. That is yet to be implemented. But all the theme switcher apps on the store uses the config file ~/.config/ubuntu-ui-toolkit/theme.ini.
                        It's specifically for the Ubuntu UI toolkit so only apps that uses it are affected (qqc2 Suru theme is also affected because it also checks this config file). And currently this theme settings isn't used by the keyboard so system and the keyboard may also have different theme which may break the overall design if it relies on theme settings.

                        A 1 Reply Last reply 17 Apr 2021, 16:59 Reply Quote 1
                        • A Offline
                          aarontheissueguy @kugiigi
                          last edited by 17 Apr 2021, 16:59

                          @kugiigi Ok I see thank you 🙂 , We should focus on light theme than as long as the theming isn't officially supported properly. I also thought about programming an App that allows users to tweak lomiri to get more customization out of it I might resort to this if we cant get something merged with master.

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            purplevvay
                            last edited by purplevvay 17 Apr 2021, 18:08

                            Ive been doing some tinkering and start to understand how things work in Lomiri. I was able to tweak some things to get dark mode.
                            (configured manually)

                            Great! Respect.

                            So maybe, the design should be neutral to light and dark theme.

                            That's what I tried: lockscreen16x9-1.jpg

                            screen19x9-1.jpg

                            Swiping is still the best for emergency (I think).
                            Will make a vertical one too soon.

                            using ut on xiaomi mi a2

                            1 Reply Last reply Reply Quote 1
                            • K Offline
                              Keneda @kugiigi
                              last edited by 17 Apr 2021, 20:27

                              @kugiigi said in Login screen/Code input Design:

                              One problem I think is that Lomiri's internal code is using Suru Dark theme all the time, so using the themed palettes in the code won't be dynamic. Also, the keyboard is a separate component we can't rely the theming from it. So maybe, the design should be neutral to light and dark theme.

                              But as you can see in my previous post :
                              text alternatif

                              On the login screen some parts are not affected by suru dark theme.

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                              🇲🇫🇬🇧

                              P 1 Reply Last reply 18 Apr 2021, 10:54 Reply Quote 0
                              • P Offline
                                purplevvay @Keneda
                                last edited by 18 Apr 2021, 10:54

                                @kugiigi said in Login screen/Code input Design:

                                But all the theme switcher apps on the store uses the config file ~/.config/ubuntu-ui-toolkit/theme.ini

                                Is there a way to create a passphrase/pin bar using the elements that support theming?

                                like this:
                                screens3.jpg

                                Also I edited a little bit the horizontal view:

                                lockscreen-16x3-2.jpg

                                using ut on xiaomi mi a2

                                1 Reply Last reply Reply Quote 1
                                • M Offline
                                  mateo_salta
                                  last edited by 18 Apr 2021, 13:11

                                  oh, that is looking nice 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mateo_salta @aarontheissueguy
                                    last edited by 18 Apr 2021, 13:22

                                    @aarontheissueguy here was the start - https://github.com/ubports/unity8/pull/314

                                    just started with removing the background to let keyboard transparency work, and removing the hard-coded theme - unfortunately the theme is hard-coded to dark at a lower level for lomiri - then hard-coded back to light for notifications and lockscreen... so we would have to undo dark theme for the whole shell, and then retheme?

                                    A 1 Reply Last reply 18 Apr 2021, 14:54 Reply Quote 1
                                    • A Offline
                                      aarontheissueguy @mateo_salta
                                      last edited by 18 Apr 2021, 14:54

                                      so we would have to undo dark theme for the whole shell, and then retheme?

                                      @mateo_salta If I understood what you say correctly, that would require work in unity as a whole and not just the Greeter part, right? Id rather try to make the Login neutral to theming, I think the mockups @purplevvay made would work well in both scenarios.

                                      Anything else would probably result in even more work which requires better understanding of the source code and a person who actually is able to do the described things. (pls correct me if I misunderstood something here)

                                      here was the start - https://github.com/ubports/unity8/pull/314

                                      Thanks I will take a look at what you did later. It seems similar to the things I tried in last days at a first glance. 🙂

                                      M 1 Reply Last reply 18 Apr 2021, 15:13 Reply Quote 0
                                      • M Offline
                                        mateo_salta @aarontheissueguy
                                        last edited by 18 Apr 2021, 15:13

                                        @aarontheissueguy yeah, just means we leave it on the light theme for now 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          purplevvay
                                          last edited by purplevvay 18 Apr 2021, 15:50

                                          Glad to hear that my mockups are useful 🙂

                                          So now we should write a qml version of the mockups and submit it, or open a new topic about feature requests, shouldn't we?

                                          But later, I guess right now everyone is focused on preparing ut for focal.

                                          using ut on xiaomi mi a2

                                          A 1 Reply Last reply 18 Apr 2021, 17:54 Reply Quote 0
                                          • A Offline
                                            aarontheissueguy @purplevvay
                                            last edited by 18 Apr 2021, 17:54

                                            @purplevvay

                                            So now we should write a qml version of the mockups and submit it

                                            That would be optimal, but we will probably need some help to do this.

                                            or open a new topic about feature requests, shouldn't we?

                                            I would open an issue on github with a detailed request and mockups

                                            I will continue to work on the QML side but that will take some time and much work for me. If someone with QML knowledge wants to help me that would be great.

                                            1 Reply Last reply Reply Quote 0
                                            50 out of 122
                                            • First post
                                              50/122
                                              Last post