Commit graph

8 commits

Author SHA1 Message Date
Devin Lin
a8b858dc3e Remove kirigami version in imports
This fixes potential issues stemming from pinning versions on Kirigami
qml api imports
2026-03-06 22:08:07 -05:00
Devin Lin
70aef785ca lockscreen: Disable vkbd auto capitalization
Otherwise it could be confusing to users when the vkbd auto capitalizes the first letter when typing in the password.
2025-03-08 00:43:02 -05:00
Micah Stanley
abb9b963f0 lockscreen: handle backspace and enter key when switching from keypad
This fixes an issue were pressing the backspace or enter key on the keyboard when using the keypad, unexpected results occurred.
This also fixes an issue were if only one key is typed from the initial lockscreen view, the backspace key would not actually do anything.
2024-11-22 01:45:58 +00:00
Devin Lin
dea468b393 lockscreen: Async load everything and add spinner
This improves the speed initial lockscreen load, and now loads the keypad async. Also adjust the password bar opacity to be consistent with the keys.
2024-07-22 22:22:54 -04:00
Devin Lin
3ca8e47b29 lockscreen: Add support for overflow in the password bar
This is a followup to https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/517 and implements support for passwords longer than the width of the password bar.
2024-07-15 20:43:00 +00:00
Devin Lin
5c41092c0f lockscreen: Rework and simplify keypad appearance, and fix lockscreen state
The current lockscreen mockups were originally from this mockup: https://phabricator.kde.org/T12717

There are some issues with it however:
- The 0 key is on the right, which is a bit strange and differs from the layouts of all other platforms
- One-handed usability is worse due to 4 columns instead of 3
- Most mobile lockscreen have the keypad toward the center for one-handed usability, our keypad is stuck to the bottom
- It makes use of a lot of shadows which makes it slower to load
- It's supposed to emulate the design of the keyboard, but it doesn't look like it so it's out of place

The new design is much simpler, with a centered 3 column approach making keys much easier to reach with one hand. It also avoids the use of shadows and layers.

![image](/uploads/52bd7accf2aaffc2b4054e13ac742bce/image.png)

![image](/uploads/4fe8b43abb1f5e2c2b8278f98b28bc71/image.png)

![image](/uploads/a306cfbe628e8b3e49175cd8f8e77ec1/image.png)

TODO:

- Investigate some improvements for keyboard input
2024-06-26 02:57:42 +00:00
F_Chao Fengchao
76d3323e8f Modify the translation method of PasswordBar.qml to i18n. 2024-05-30 11:37:40 +08:00
Marco Martin
260af8e610 Move the lockscreen in the shell package
the lookandfeel package is becomeing a pure repository of
config, the various code pieces are being moved outside
2024-04-02 10:02:29 +00:00
Renamed from lookandfeel/contents/lockscreen/PasswordBar.qml (Browse further)