Patch: Enhanced Lockscreen

Rating: 
5
Your rating: None Average: 5 (5 votes)

For SailfishOS version 2.0.0.10 only!! DON'T FORGET TO REMOVE THIS PACKAGE (NOT JUST THE PATCH IN PATCHMANAGER) BEFORE UPGRADING TO A LATER VERSION!

This patch enhances the Sailfish UI 2.0 lockscreen with the following:

  • Flick up to unlock
  • Show the clock immediately after double tap - removed all the unnecessary animations

Enjoy!

Warnings:

  • use on your own risk. It may break your system, so don't blame me if it does :) It works well for me, though.
  • it works only on SailfishOS version 2.0.0.10

 

If you like this patch, please consider a small donation:

Donate in EUR

Donate in USD

Screenshots: 
Application versions: 
AttachmentSizeDate
File sailfishos-patch-enhanced-lockscreen-0.3-1.noarch.rpm3.82 KB05/12/2015 - 00:07
File sailfishos-patch-enhanced-lockscreen-0.2-2.noarch.rpm3.71 KB23/10/2015 - 15:03
Changelog: 

0.3 - Updated for SailfishOS 2.0.0.10

0.2 - Fix for wrong packaging (not working 'flick up to unlock')

0.1 - Initial release.

Comments

Ingvix's picture

Does work on 2.0.1.11 without problems though the description says otherwise.

Ingvix's picture

Works fine otherwise but the statusbar goes down when I pull up to unlock. Maybe a conflict with another patch?

nodevel's picture

Yep, it goes down. Is that a problem? :)

Ingvix's picture

Uh, an aestetic one if anything. So it can't be made to go up like all the other content on the lock screen?

nodevel's picture

I don't really know, right now.

To be honest, I didn't put that much effort in this patch from the aesthetical point of view. At first, I tried to get rid of the overshooting PushUpMenu (which might be connected to the problem you are referring to), but when I couldn't find out how to do that, it then occured to me that it at least resembles the Sailfish UI 1.x behaviour better than classical PushUpMenu.

So I took the "it's not a bug, it's a feature" way :) I agree it is not aesthetically pleasing, but it is somewhat interesting animation at the same time.

Ingvix's picture

Yea, it propably goes down because if you flick down from the middle to the app shortcuts, the status bar goes up so logically it goes down if you flick up as there isn't that kind of feature by default.

PawelSpoon's picture

not on my jolla. should be a side effect of some other patch

Ingvix's picture

I unapplyed all other patches but the problem persists.

klampfenfreak's picture

very nice!! please for 2.0.0.10

nodevel's picture

Updated. Sorry for the huge delay.

apfibox's picture

Thanks! I did these changes manually with vi to /usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml and /usr/share/lipstick-jolla-home-qt5/lockscreen/LockItem.qml - works fine at the same time with https://openrepos.net/content/eugenio/patch-restore-swipe-lock. Now my Jolla feels as improved after 1.1.9.28 upgrade (and not wise versa)

Only small thing with this patch is that when swiping up there's a transparent blue bar below arrow down symbol, for me it would look better without the blue bar. Any change getting a version without this background bar or hints how I could remove those manually?

PawelSpoon's picture

how i missed this patch on 2.0.010. without blue would be perfect.
is the blue bottom puley needed for this patch to work? i guess this causes the blue horizontal line during swipe and i would not need it as indicator

babba22's picture

Nice patch! I really don't like the animation when unblanking the screen, but the vanilla way to unlock the phone is ok for me. How can I disable only the animation? Through terminal maybe?

ScumCoder's picture

Just extract the *.patch files from the RPM and apply them manually (in this RPM there are two: first modidies /usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml and turns off animation, second modifies /usr/share/lipstick-jolla-home-qt5/lockscreen/LockItem.qml and adds swipe up to unlock).

In this particular case it is simpler to just open the /usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml in vi and modify it manually (just find the declaration of property lockScreenAnimated and change it to 'false').

babba22's picture

Forgive me, I saw your answer only today =(. I tried to solve it on my own and I did exactly what you said!! =) I should have edited my question, but I forgot... Sorry for this, anyway thanks for your help!

MoritzJT's picture

I had multiple patches installed that modified the lock mechanism. After unapplying both simultaneously I lost all my status bar entries. All blank space now. Any idea where to start looking?

nodevel's picture

Hi,

this never happened to me, but it's generally not a good idea to use two patches that edit the same file. May I ask what was the other patch?

MoritzJT's picture

I was using: https://openrepos.net/content/eugenio/patch-restore-swipe-lock

But it seems this one was the culprit: https://openrepos.net/content/nodevel/patch-faster-pulley-menus

I could overscroll the lockscreen using your patch, is this intentional behaviour?

nodevel's picture

Well, I have seen the same issue mentioned on TJC and TMO, not related to my patch. The fix was to turn the phone off and on again (not restart).

 

The overscrolling is not an intentional behavior, but I don't know yet how to fix it and I grew accustomed to it :) But yes, I'll fix it once I find out how.

gedeon's picture

Hi

Well done, good work. But I have an idea for more option and more powerfull function. If it possible to modificate every side swipe (unlock) function will be better if I could configure for example when I unlock my phone with left side swipe immediatly jump to the events view. But when I unlock on bottom side jump to app grid. And the right side swipe work like same as at present (home screen). This function is a little bit accelerate the usage if the user is know which screen need for him first!

I hope you will understand my weak english. Thanks! :)

nodevel's picture

I do understand and it's not a bad idea, but:

  • left to get to events view - it should work like that by default if you have the option enabled in Settings, but it doesn't work in 1.1.9.28. It is listed as a known issue and it's supposed to be fixed in the next SailfishOS release, so let's wait.
  • bottom to get to app grid - you can already swipe from the bottom to get to app grid immediately. Plus the reason why I created this patch was to be able to get to home screen this way.
  • right to get to the home screen - yep, that's how it works :)

 

gedeon's picture

Re

I'm glad to hear the later such events view swipe unlock option. And sorry I now understand, I forgot to try unlock my phone from the bottom side area, I just swipe a little bit above area to up. Now I know the bottom is work already :) . Thanks for the information, I'm waitink for the next release and "everything will be perfect"...

Thx mate!

ArnoldJudas's picture

Thanks you're a life saver! The "new" way was crappy and slow. This was a neccessary patch :)

nodevel's picture

Thanks for the kind words! :)

It's not perfect, but should do.

cocovina's picture

I like this patch too. Well done. :)