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

The "camera from locked screen" funtion is broken only when I have installed the app #15

Open
Loughty opened this issue Oct 11, 2022 · 18 comments
Labels
bug Something isn't working

Comments

@Loughty
Copy link
Contributor

Loughty commented Oct 11, 2022

Here an example:
broken.webm
And this is the expected behavior:
normal.webm

I am not a developer, so I don't know really what is the cause, but I think have something to do with this:
#1
Because when I use the F-Droid version (which still at 1.0) this problem does't happen. If that the case, maybe a swith to deactivate the funtion of being "reconice has a camera" could work for now.

My phone uses Android 12 Go, if that helps 😄

@iakdis iakdis added the bug Something isn't working label Oct 11, 2022
@iakdis
Copy link
Owner

iakdis commented Oct 11, 2022

Thanks for the issue.

How weird, do you have selected Libre Camera as your Standard Camera App or is your default camera selected?

@Loughty
Copy link
Contributor Author

Loughty commented Oct 11, 2022

That whas the first thing that I checked, and extrangely, there is not "default camera app" option or something like that:

12Go

Just to make sure, I check with another phone which have Android 10 Go, and the same problem:

10Go

I don't know if that something about the "Go" edition of Android 🤔, but is a little bit anoying 😞

@Loughty Loughty closed this as completed Oct 11, 2022
@Loughty Loughty reopened this Oct 11, 2022
@Loughty
Copy link
Contributor Author

Loughty commented Oct 11, 2022

(Click on the wrong button, sorry)

@iakdis
Copy link
Owner

iakdis commented Oct 11, 2022

No problem.

Can you try to remove Libre Camera and install another camera application (like Simple Camera on F-Droid) to see if the problem has to do with Libre Camera or with the Android Go version and a different camera in general?

@Loughty
Copy link
Contributor Author

Loughty commented Oct 13, 2022

Yep, is the same when I install another camera app, but, I read this on the Simple Camera description:

Screenshot_20221012-215729

Basically, says that the camera button doesn't work on some devices unless you deactivate the default camera app, and I think it's the same with another camera shortcuts, like the “press the power button twice” or the “open camera from the lock screen slicing the right corner” (my case). Unfortunately, I couldn't probe this, because I can't deactivate my default camera app…

Screenshot_20221012-215801

I think anyone who has the same restrictions (can't change the default camera app and or can't deactivate the default camera app) could have the same problem.

@iakdis
Copy link
Owner

iakdis commented Oct 13, 2022

Hi, thanks a lot for the information. This basically shows that it's not something specific about Libre Camera but rather about a different Camera app in general that has problems with the default one.

If you say however that it did work with the first version, I should add a new field in the settings that stops the app from being seen as a camera like you said ("Because when I use the F-Droid version (which still at 1.0) this problem does't happen. If that the case, maybe a swith to deactivate the funtion of being "reconice has a camera" could work for now")

@provokateurin
Copy link
Contributor

I'm not sure if my problem is the same one as this one, but here it is: I have a shortcut set to open the camera when double clicking the power button. It should work when the screen is locked too, but not with Libre Camera. Open Camera has a setting for it and it works there. I'm not sure if this functionality should already be present in Libre Camera and this is a bug or if I'm requesting a new feature right now. Please let me know if I should open a new issue.

@iakdis
Copy link
Owner

iakdis commented Oct 26, 2022

Hi,

thanks for commenting. This could actually be the same problem, though I'm not sure about this. Thanks for letting me know that it works on Open Camera. I'll have to research how to implement such feature. No need for a new issue for now.

To @Loughty: You said the problem also occurred with Simple Camera, it would be great if you could try Open Camera as well (In Open Camera: Settings → More camera settings → Along the lines of "Show camera despite lock"/the 4th last option)

@Loughty
Copy link
Contributor Author

Loughty commented Oct 26, 2022

To @Loughty: You said the problem also occurred with Simple Camera, it would be great if you could try Open Camera as well (In Open Camera: Settings → More camera settings → Along the lines of "Show camera despite lock"/the 4th last option)

Yep, same problem, the shortcut doesn't work, with or without that option activated, but the function in the description work has expected, the app keeps open even when you lock the phone, like the Google's Calculator.

screen-20221026-170814.2.mp4

@SamTada
Copy link

SamTada commented Nov 3, 2022

Hi, related issue here?
I'm on MIUI 13.0.15 (Xiaomi's equivalent to Android 12) and I had the system camera 'uninstalled' via ADB. Been using Open Camera since and recently installed Libre Camera, hoping to switch.
This is what is shown in the Default Apps in MIUI settings and in Android settings. In essence, nothing is recognized.

image9
image10
image15

Also used Better Open With and Default App Manager to try and redirect to any camera, but only the latter listed compatible camera apps though solely for video.

image12
image13
So, would it be possible to create a dedicated Libre Camera quick button for the Control Panel – similar to what Open Camera has? For the time being, I obviated this with a non-descript tile from Quick Tiles.

image14

Could you look into this please? Thanks in advance.

@iakdis
Copy link
Owner

iakdis commented Nov 4, 2022

@SamTada:
Thanks for your information, I will look into it.
As for the Quick Tiles: I've created a new issue for that and will add the feature.

@SamTada
Copy link

SamTada commented Nov 4, 2022

@iakmds
Thank you for replying so promptly.
Looking forward to the tile feature ツ

@iakdis
Copy link
Owner

iakdis commented Nov 5, 2022

@SamTada
That was easier than I expected: The Quick Tile feature is now included in the apk below.
The important thing now: Could you check if Libre Camera gets detected as a Camera app, or is that still not working? Thank you.

app-release.zip

@provokateurin
Copy link
Contributor

i think it was correctly detected as camera app for me, because when i still had open camera installed and triggered the camera shortcut i was asked which app it should open. i think there is just no way to set the default camera app inside the android settings, because i also searched for it and couldn't find it.

@iakdis
Copy link
Owner

iakdis commented Nov 5, 2022

@provokateurin
Interesting, on all the devices I tested the app was detected as a camera app too.

In regards to the other problem, the Android 7.0 and Android 11 devices that I tried could set a default camera app, but not an Android 12 device. Seems like there isn't a setting for that on every Android phone. Thank you.

@provokateurin
Copy link
Contributor

Interesting, I also run Android 12

@SamTada
Copy link

SamTada commented Nov 13, 2022

@iakmds
Sorry for the late reply.
Installed the uptade and yes, the Quick Tile works perfectly!
image1
Libre is now my default camera – even if the OS doesn't acknowledge that still...
╮( ◕‿◕ )╭

@iakdis
Copy link
Owner

iakdis commented Nov 13, 2022

Great to hear, thank you! A new update will be available soon which includes the quick tile feature, a redesign of the camera page and more. Stay tuned 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants