• 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.
    • A Offline
      aarontheissueguy @purplevvay
      last edited by 13 Apr 2021, 22:42

      @purplevvay Ive started working on a dummy for such a design in QML it will be done tomorrow. With the dummy we will be able to feel it in our hands and adjust things before someone actually starts making something.

      1 Reply Last reply Reply Quote 1
      • P Offline
        purplevvay @Capsia
        last edited by purplevvay 14 Apr 2021, 06:09

        @capsia said in Login screen/Code input Design:

        Hi, I've made some designs previously for the ICE topic and I've added some also for the login screen. Let me know what do you think. The image is too big to upload so I'll share the direct link
        https://www.figma.com/file/qmsxA1Ep7YPxAXHX9ELkcc/ICE-LockScreen-Design?node-id=491%3A1

        WOW! This is really good!
        Would be really cool having that in later updates!

        @aarontheissueguy said in Login screen/Code input Design:

        Ive started working on a dummy for such a design in QML it will be done tomorrow. With the dummy we will be able to feel it in our hands and adjust things before someone actually starts making something

        Okay. Will be glad to know how is that going. Best of luck!

        using ut on xiaomi mi a2

        1 Reply Last reply Reply Quote 1
        • M Offline
          mateo_salta
          last edited by 15 Apr 2021, 00:41

          I think we can improve just by removing the background behind the keyboard and allowing the password box to theme, maybe transparancy on that a bit.
          I disagree with going back to the fullscreen dialer:

          • harder to type with one hand
          • too much like 'other os', we want to be diffrent, but also consistant and more usable, making things look like another os just for familiarity is not good
          • showing password length isnt good for security (true we only have 4pin right now, but hopefully will change)

          Current notes:

          • matches system keyboard
          • nice to type with one hand
          • needs transparancy( i have wip pull request)
          • needs theme and removal of hardcoded background color
          • do we need 'cancel', user can back out other ways
          • theme 'emergancy' in a better way, bottom bar buttons are an artifact from old designs, word buttkns could be better as icons
          A P 2 Replies Last reply 15 Apr 2021, 16:18 Reply Quote 1
          • A Offline
            aarontheissueguy @mateo_salta
            last edited by 15 Apr 2021, 16:18

            @mateo_salta I think if we can achieve all of the things you described that would already improve things a lot can you send a link to the code of your pr? I would be interested in taking a look at it. I decided to make a dummy for the other design anyway, You might want to take a look at it.

            M 1 Reply Last reply 18 Apr 2021, 13:22 Reply Quote 0
            • A Offline
              aarontheissueguy @purplevvay
              last edited by 15 Apr 2021, 16:23

              @purplevvay
              Here is a link to a click dummy i made, I will add the keyboard functionality in the next days. Some proportions may be different and it would be great if you could send me the assets you used to design this.

              https://aaron.place:8018/index.php/s/ot9SEG5FWfH2nJE

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

                Sorry for the long delay.

                @mateo_salta said in Login screen/Code input Design:

                I think we can improve just by removing the background behind the keyboard and allowing the password box to theme, maybe transparancy on that a bit.
                I disagree with going back to the fullscreen dialer:

                • harder to type with one hand
                • too much like 'other os', we want to be diffrent, but also consistant and more usable, making things look like another os just for familiarity is not good
                • showing password length isnt good for security (true we only have 4pin right now, but hopefully will change)

                Current notes:

                • matches system keyboard
                • nice to type with one hand
                • needs transparancy( i have wip pull request)
                • needs theme and removal of hardcoded background color
                • do we need 'cancel', user can back out other ways
                • theme 'emergancy' in a better way, bottom bar buttons are an artifact from old designs, word buttkns could be better as icons

                That's true. I'm trying to create a new mockup based on what you have said.

                @aarontheissueguy said in Login screen/Code input Design:

                @purplevvay
                Here is a link to a click dummy i made, I will add the keyboard functionality in the next days. Some proportions may be different and it would be great if you could send me the assets you used to design this.

                https://aaron.place:8018/index.php/s/ot9SEG5FWfH2nJE

                Great job!!!

                using ut on xiaomi mi a2

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

                  theme 'emergancy' in a better way, bottom bar buttons are an artifact from old designs, word buttkns could be better as icons

                  I have tried that, but I didn't get a good result. Probably because I made the emergency button from scratch. And I'm not sure where to place that.
                  @Capsia 's emergency templates are the best solution. (In my opinion)

                  I have tried to get rid of fullscreen dialer and remove space between the passphrase bar and keyboard.

                  Screens2.jpg

                  I guess keyboard shouldn't be transparent, otherwise it may cause bugs in using applications.

                  using ut on xiaomi mi a2

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    aarontheissueguy @aarontheissueguy
                    last edited by aarontheissueguy 15 Apr 2021, 21:36

                    @aarontheissueguy Ok... so don't get too high hopes, but I think I might be able to make tweak the login screen the way we imagine. Probably in a hacky way though.

                    I think this is what we need to look at https://github.com/ubports/unity8/blob/xenial/qml/Components/Lockscreen.qml

                    as I said I'm not a QML dev and might not be an option to be merged into master, but I will try my best.

                    NVM I linked to the wrong file. Cibersheep helped me to find the right spot:
                    https://github.com/ubports/unity8/tree/xenial/qml/Greeter

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kugiigi
                      last edited by 16 Apr 2021, 05:03

                      If you're serious with this, I would suggest to make a proper design proposal and maybe submit them to @CiberSheep .

                      It would be great if the design is convergent so it'll work in portrait and landscape. Currently, the lockscreen has separate layout for portrait and landscape and no rotation support so if ever we redesign it, it's better to include the rotation support as well 🙂

                      Regarding the keyboard design, I'm not sure if we can include it in the total design of the lockscreen since it's a separate component which has its own theme.

                      P 1 Reply Last reply 16 Apr 2021, 06:14 Reply Quote 1
                      • P Offline
                        purplevvay @kugiigi
                        last edited by purplevvay 16 Apr 2021, 06:14

                        Ok... so don't get too high hopes, but I think I might be able to make tweak the login screen the way we imagine. Probably in a hacky way though.

                        as I said I'm not a QML dev and might not be an option to be merged into master, but I will try my best.

                        No, you are very good! Best of luck. I have never tried qml. I have been always using HTML & CSS.

                        I think this is what we need to look at https://github.com/ubports/unity8/blob/xenial/qml/Components/Lockscreen.qml

                        Okay, I'll compile it and run on my phone. I'll let you know how good/not good it is as soon as possible.

                        @kugiigi said in Login screen/Code input Design:

                        If you're serious with this, I would suggest to make a proper design proposal and maybe submit them to @CiberSheep .

                        It would be great if the design is convergent so it'll work in portrait and landscape. Currently, the lockscreen has separate layout for portrait and landscape and no rotation support so if ever we redesign it, it's better to include the rotation support as well 🙂

                        I guess we need to try. Worst they can say is no.

                        Regarding the keyboard design, I'm not sure if we can include it in the total design of the lockscreen since it's a separate component which has its own theme.

                        Yes, I think so.

                        using ut on xiaomi mi a2

                        1 Reply Last reply Reply Quote 1
                        • 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
                                            40 out of 122
                                            • First post
                                              40/122
                                              Last post