ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 109 forks source link

Wakeup from notifications should not activate touch screen #682

Closed Flohack74 closed 3 years ago

Flohack74 commented 6 years ago

Description of the feature

Every time the device wakes up for receiving/showing notifications there is a risk that with the enabled touch screen you do smth weird. Most of the time, when the phone is in my pocket, I start doing "PIN retries" with my body then, resulting in device locks. Or you could even dial emergency numbers etc...

NeoTheThird commented 6 years ago

I disagree. If you have the device laying on the table and get a notification, you might want to instantly unlock and reply. Having to lock and unlock again would be cumbersome.

BlueKenny commented 6 years ago

I agree with Flo, but we could make a option in the setting 'wake up screen notifications' = yes, no, or only if the phone is not in pocket (with light/ proximity sensor)

Flohack74 commented 6 years ago

Maybe the sensitivity is too high, but I repeatedly locked my device with PIN errors, and then you have to wait for 5 minutes. Not cool if you want to look up a train or call someone :)

kugiigi commented 6 years ago

I agree on this. This happened to me a lot of times and sometimes when I unlock, I see a lot of apps open from my launcher. At least an option would be good and we can implement something smarter later on. How does Android handle this?

hummlbach commented 6 years ago

This seems to be a duplicate of https://github.com/ubports/ubuntu-touch/issues/627 ;-)

Flohack74 commented 6 years ago

Yes and no. 2 things happen, the screen turns on, and the digitizer gets active. So basically its not necessarily coupled together.

hummlbach commented 6 years ago

Yes okay, agreed. But hu... Wouldn't that be a bit counter intuitive, not accepting input while having the screen turned on?

mateosalta commented 5 years ago

it could be a more minimal show of the message, only the bubble message with black for the rest of the screen. or a de-saturated display of the screen

Flohack74 commented 5 years ago

@hummlbach its not a duplicate: When the screen turns on and the proximity sensor shows near the digitizer should not get active. I locked my phone multiple times in my pocket, opened apps or even tried to dial emergency. thats not accepatble.

Flohack74 commented 3 years ago

I close this: The reason for the behaviour was Oneplus One´s broken proximity config, which I fixed last year or so at some point. The UX actually works fine, the screen is locked & blanked when proximity is NEAR and a new notification arrives.