Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera crashes/freezes when being opened from lockscreen #281

Closed
Wurzelmann opened this issue Jul 21, 2020 · 17 comments
Closed

Camera crashes/freezes when being opened from lockscreen #281

Wurzelmann opened this issue Jul 21, 2020 · 17 comments

Comments

@Wurzelmann
Copy link

When opened from the lockscreen (in my case by a button shortcut), the camera works on the first time, but every time afterwards, it just freezes and shows the interface with a black screen. After manually killing the app, it works again once and then the freezing starts again.

Opening the camera from the launcher works every time, no problem there.

Device: OnePlus 3T
OS: LineageOS 17.1-20200720-nightly-oneplus3

@gitwah
Copy link

gitwah commented May 23, 2021

Can confirm this behavior. On my device, launching the camera from the lockscreen results in a completely black camera preview with the (unresponsive) UI on top of it. Unlike OP, manually killing the app doesn't help, it never seems to work.

Device: One Plus 7 Pro
OS: LineageOS 18.1, Android 11

@hamishmb
Copy link

Confirmed on Moto G8 Power with Stock Android 11.

@Wurzelmann
Copy link
Author

New phone, same problem:

Device: OnePlus 5T
OS: 18.1-20220426-NIGHTLY-dumpling

@tibbi
Copy link
Member

tibbi commented Oct 15, 2022

camera has been rewritten from scratch in 5.4.0, so Im closing this

@tibbi tibbi closed this as completed Oct 15, 2022
@hamishmb
Copy link

Please wait until I've confirmed the fix.

@Wurzelmann
Copy link
Author

Same problem persists, sorry to say. :-/

@hamishmb
Copy link

Yeah, let's not get hasty and close all the open bugs. I'm going to go through and try and reproduce some of them soon.

Don't get me wrong, I really like the new UI and it seems much better :)

@tibbi tibbi reopened this Oct 16, 2022
@hamishmb
Copy link

Interestingly, it's working for me. I'm still on the same device with Android 11. What are you running, Wurzelmann?

@Wurzelmann
Copy link
Author

Wurzelmann commented Oct 16, 2022

Same device (OnePlus 5T), but Android 12 now (19-20221011-NIGHTLY-dumpling).

EDIT: okay, I re-installed the app again and now the following happens: from lockscreen, I press the camera shortcut, then the unlock prompt appears (which does not happen with stock camera) and after unlocking, I'm presented with the desktop, not the simple camera app. I can open it normally, but opening from lockscreen does not work, although it does not seem to crash now.

@tibbi
Copy link
Member

tibbi commented Oct 16, 2022

havent you uninstalled the stock camera? The current behaviour doesnt seem to be related to Simple Camera at all

@Wurzelmann
Copy link
Author

I had not, but disabled it now and you're right, Simple Camera is working when Stock Camera is disabled. Strange behaviour, but at least we know the culprit now. Thank you for your support, closing now.

@hamishmb
Copy link

Ah, that explains why it works for me too then.

Should we add a note somewhere for this?

@tibbi
Copy link
Member

tibbi commented Oct 18, 2022

no, that isnt actually related to our app at all

@hamishmb
Copy link

It is though, because people will assume your app is broken if they aren't told they need to disable the built-in camera.

@hamishmb
Copy link

My bad, it says in the readme. Is this information presented to users on first launch?

@tibbi
Copy link
Member

tibbi commented Oct 24, 2022

no

@hamishmb
Copy link

Okay, I'll file a new issue for that then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants