Perceived responsiveness of the UI

Thank you so much @mive !
Can this patch be used on 5.0.0.68 system when switching Chum to other version?
I doubt, but for safety I ask.

the animation settings patch is basically the same one as the one from @Kuba77 which has a version for >5.0
Just changed the values in “SpeedSlider.qml”..

Disable wakeup lockscreen animation:
this one is a really small patch, it should either apply fine or be easy to tweak

only 2 files with 2 small changes:

/usr/share/lipstick-jolla-home-qt5/backgrounds/LockscreenBackground.qml:
-        animated: lipstickSettings.blankingPolicy === "default"
+        animated: false

/usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml:
-                readonly property bool lockScreenAnimated: lipstickSettings.blankingPolicy == "default"
-                            && !lockScreenPage.displayOnFromLowPowerMode
+               readonly property bool lockScreenAnimated: false

The compositor animation one, not sure, you can test with patch --dry-run if it would work or how much needs to be adjusted

e.g.:

[defaultuser@MotoG2ndGen ]$ pwd
/
[defaultuser@MotoG2ndGen ]$ patch --dry-run -p1 -i /usr/share/patchmanager/patches/sailfishos-patch-homescreen-always-show-launcher/unified_diff.patch
File usr/share/lipstick-jolla-home-qt5/compositor.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/compositor.qml
Hunk #1 succeeded at 155 (offset 23 lines).
File usr/share/lipstick-jolla-home-qt5/layers/EdgeLayer.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/layers/EdgeLayer.qml
Hunk #1 succeeded at 58 (offset 5 lines).
Hunk #2 succeeded at 102 (offset 7 lines).
Hunk #3 succeeded at 258 (offset 18 lines).
File usr/share/lipstick-jolla-home-qt5/layers/HomeLayer.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/layers/HomeLayer.qml
Hunk #1 FAILED at 224.
Hunk #2 succeeded at 234 (offset -7 lines).
1 out of 2 hunks FAILED
File usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml
Hunk #1 succeeded at 97 with fuzz 2 (offset -6 lines).
Hunk #2 succeeded at 306 with fuzz 1 (offset 51 lines).
File usr/share/lipstick-jolla-home-qt5/main.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/main.qml
Hunk #1 FAILED at 65.
Hunk #2 FAILED at 110.
2 out of 2 hunks FAILED
File usr/share/lipstick-jolla-home-qt5/switcher/Switcher.qml is read-only; trying to patch anyway
checking file usr/share/lipstick-jolla-home-qt5/switcher/Switcher.qml
Hunk #1 FAILED at 65.
1 out of 1 hunk FAILED

so this one would be probably ok (to adjust) as alot already succeeds and onyl a few changes fail

1 Like