Commit graph

3047 commits

Author SHA1 Message Date
Devin Lin
2d2b7407a6 startupfeedback: Change to be window based and controlled by a model
This makes the startup feedback more robust, by having instances be controlled by a model which can listen to window changes. Being window based also allows for the close button and gestures to work properly with it, since it will show up in the task switcher as well.

Fixes:
* https://invent.kde.org/plasma/plasma-mobile/-/issues/357
* https://invent.kde.org/plasma/plasma-mobile/-/issues/338
* https://invent.kde.org/plasma/plasma-mobile/-/issues/335 (dark themes now tint the background color)
* https://invent.kde.org/plasma/plasma-mobile/-/issues/330
* https://invent.kde.org/plasma/plasma-mobile/-/issues/30
2024-07-13 16:30:07 +00:00
Devin Lin
41de61ef4c quicksettingsplugin: Fix improper model implementation 2024-07-11 23:48:32 -04:00
F_Chao Fengchao
fff1f1959a Adding translation domains to some dynamic libraries to resolve untranslated issues. 2024-07-09 14:13:50 +08:00
l10n daemon script
c0cd1b979d GIT_SILENT Sync po/docbooks with svn 2024-07-09 01:26:13 +00:00
Devin Lin
0ce95a604a homescreens/folio: Halve the needed swipe distance for swipe detection
SwipeArea requires 10px to differentiate between taps and swipes. HomeScreenState uses a further 10px to differentiate between vertical and horizontal swipes. This MR combines the swipe detection together so that we only need 10px rather than 20px for gesture detection.
2024-07-08 21:51:18 +00:00
Devin Lin
4c552b84be lockscreen: Automatically unlock if keypad is open and screen locker says it's unlocked
Sometimes from suspend, the screen locker only tells us it can be unlocked (and not direct pin entry success), which requires the user to reopen the keypad if it's already open to unlock.
2024-07-08 21:46:42 +00:00
Devin Lin
14cf029ece homescreens/folio: Fix widget config dialogs not having a background
The original workaround was targeting modal backgrounds, not the actual dialog background too.
2024-07-08 21:44:17 +00:00
Luis Büchi
7852b7ad2b make quick switch gesture properly open switcher on end of list
doing a quick task switch gesture towards the end of the list should force open the task switcher (there is nothing to switch to)
this was half-done on the left side of the switcher (this behavior is not visible with immediate task reordering, but could be hit if we have different ordering criteria or delayed reordering)
and due to superfluous Math.max completely not working on the right side always opening the right-most task instead of opening the switcher
2024-07-08 12:33:16 +00:00
Devin Lin
4cec95a3cc lockscreen: Add loading indicator when status bar is loading
This gives user indication that the status bar is loading, rather than just nothing being there.
2024-07-07 14:24:48 -04:00
l10n daemon script
cdce844eb9 GIT_SILENT Sync po/docbooks with svn 2024-07-07 01:28:37 +00:00
l10n daemon script
7b15043365 GIT_SILENT Sync po/docbooks with svn 2024-07-06 01:30:23 +00:00
Devin Lin
56ca0db5c6 homescreen: Add button to wallpaper selector to go to advanced settings
Currently you need to go from Settings -> "Switch between homescreens and more wallpaper options" to access the advanced wallpaper settings. Add a button directly into the wallpaper selector for this.
2024-07-05 02:53:26 +00:00
l10n daemon script
1fc13f6d0f GIT_SILENT Sync po/docbooks with svn 2024-07-05 01:26:13 +00:00
l10n daemon script
4d59eff413 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-05 01:18:30 +00:00
l10n daemon script
907953d489 GIT_SILENT Sync po/docbooks with svn 2024-07-04 01:27:01 +00:00
Devin Lin
90e65ea031 lockscreen: Reset state when screen is off
Wipe a partially entered password, and the open state of the lockscreen when the screen is off.
Addresses https://invent.kde.org/plasma/plasma-mobile/-/issues/110
2024-07-03 18:06:24 +00:00
Devin Lin
29f014ad04 homescreen: Don't animate after unlock
KWin appears to freeze frames prior to locking, and so this animation looks very glitchy and jittery. It also causes problems if apps are already activated. Remove it for now so that it's smoother.
2024-07-03 17:54:00 +00:00
Devin Lin
29f387bb57 shellsettingsplugin: Never affect panels when not in Plasma Mobile
If the navigation bar setting is triggered, it can affect the Desktop session as well. Add a check to only change Plasma panels in Plasma Mobile.
2024-07-03 17:47:56 +00:00
Devin Lin
a58144fb18 taskswitcher: Only enable KWin effect in mobile, have it be managed by envmanager 2024-07-03 11:54:19 -04:00
Devin Lin
2f64036a4f quicksettingsplugin: Load quicksettings QML async
Resolves https://invent.kde.org/plasma/plasma-mobile/-/issues/379

This loads the quicksettings packages asynchronously. It also adds support for listening to model changes properly (row add/remove/move events) rather than have it reset every time a change is done.
2024-07-03 14:55:55 +00:00
Devin Lin
daf43eae27 lockscreen: Fix lockscreen password entry after suspend, and restore passwordless
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/334
2024-07-02 22:10:29 -04:00
l10n daemon script
3efb51279e GIT_SILENT Sync po/docbooks with svn 2024-07-03 01:29:48 +00:00
l10n daemon script
2ef1d5bc66 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-03 01:20:02 +00:00
Florian RICHER
11af97b83e quicksettings: Fix crash when stop record 2024-07-02 22:23:51 +00:00
Devin Lin
3d4b31c26b taskswitcher: Sort tasks by last activation
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/343

This restores the sorting of tasks by their last activation. The task model now becomes a singleton and retains state even while the effect is not active, while the filter/sort proxy model is still initialized at task switcher load.
2024-07-02 21:42:13 +00:00
l10n daemon script
7678d70389 GIT_SILENT Sync po/docbooks with svn 2024-07-02 01:28:47 +00:00
l10n daemon script
a51e9de6ca SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-02 01:19:10 +00:00
Devin Lin
c2791f3975 homescreens/folio: Add applications drawer search bar
Add a search bar to the applications drawer, to allow for quickly filtering apps.
2024-07-01 16:04:32 +00:00
Mr. Athozus
49e7102f7b quicksettings: Use adaptative icons
Personnaly, I don't like much those static icons which doesn't care about the situation in the quicksettings. This MR intends to use when possible and coherent what I call (not native English-speaking I recall) « adaptive » icon.

List of modified quicksettings :
- Wireless
- Bluetooth
- Flashlight
- Audio
- Airplane mode

~~Draft right now because I'm doing it quicksetting-by-quicksetting.~~

EDIT: Feel free to cherry-pick if you don't agree with all icons.
2024-07-01 01:56:48 +00:00
l10n daemon script
08133712c7 GIT_SILENT Sync po/docbooks with svn 2024-07-01 01:27:32 +00:00
l10n daemon script
0e1d42db39 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-01 01:17:27 +00:00
l10n daemon script
29c1b8ddff GIT_SILENT Sync po/docbooks with svn 2024-06-30 01:29:16 +00:00
l10n daemon script
a9f9647152 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-30 01:19:39 +00:00
Mr. Athozus
49a3579c55 Use marquee label for quicksettings titles 2024-06-29 20:35:42 +00:00
Devin Lin
acde5b389d lockscreen: Dynamically load status bar and action drawer as needed for performance
Currently the lockscreen takes 5 seconds to load for me on the OnePlus 6. This MR moves the quicksettings and status bar to only load once the initial lockscreen has loaded (to avoid blocking it). This brings it down the initial load to 1 second for me.
2024-06-29 20:29:06 +00:00
Devin Lin
403b11c2d7 lockscreen: Fix clock getting animated right after load
Restores a fix for https://invent.kde.org/plasma/plasma-mobile/-/issues/381

The pw notifications model right at load appears to say there are notifications at load, but then fixes itself once the component finishes loading.
2024-06-28 23:25:50 -04:00
l10n daemon script
6b41f0c354 GIT_SILENT Sync po/docbooks with svn 2024-06-29 01:27:34 +00:00
l10n daemon script
701ca91afa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-29 01:19:44 +00:00
Mr. Athozus
45fa06e3f1 kcms/mobiledata: Move EditProfileDialog to EditProfilePage
As requested in #277 by Devin. I mark this as a draft because there are small issues that need to be fixed, but 75% is working right now.

- [x] Adding connection works
- [x] Loading existing connection works
- [x] Update existing connections works
- [ ] Show updated list of profiles without restarting the kcm
- [ ] Find a way to use that in initial start (because the whole software is going left-to-right, so pushing an edit page to the right might not be intuitive)

I'm still wondering if using checkboxes for 4G/3G/2G might not be better.
2024-06-29 00:48:01 +00:00
Devin Lin
2dc7546c3b panel: Fix it not being full-width at a certain width
Sometimes when the screen is wide enough, the panel doesn't extend all the way. Ensure that it does.
2024-06-29 00:41:44 +00:00
Devin Lin
1dfcda39d3 kcms/wifi: Fix toggle not updating the first time
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/363
2024-06-27 22:53:29 -04:00
Mr. Athozus
8f9db42e8f Add setting for showing date in status bar
As the title said.

Requested in plasma-mobile/plasma-settings#17

I marked it as a draft because there is a small regression which removes vertical alignment of right icons.
2024-06-28 02:05:42 +00:00
l10n daemon script
5e2ff03e25 GIT_SILENT Sync po/docbooks with svn 2024-06-28 01:37:36 +00:00
l10n daemon script
518b94e018 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-28 01:25:09 +00:00
l10n daemon script
ce0afb1c4f GIT_SILENT Sync po/docbooks with svn 2024-06-27 01:31:34 +00:00
l10n daemon script
fe3a39a5a9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-27 01:19:29 +00:00
Devin Lin
2fae8b3381 envmanager: Ensure KConfigGroup being written to is not derived from const
This otherwise causes an assertion failure if assertions are enabled.
2024-06-26 13:15:57 -04: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
l10n daemon script
b2bb4b4d6f GIT_SILENT Sync po/docbooks with svn 2024-06-26 01:30:28 +00:00
Devin Lin
b4f7ca1139 layout-templates: Move default panel configuration to layout template package 2024-06-26 00:57:56 +00:00