Can't link devices / scan QR
I am stuck at the step saying "scan the qr code displayed...". I can see the qr code in the camera, but it won't do anything. I'm assuming there should be a moment when the phone goes like "okay I saw that's a qr code", but nothing happens. I think the problem may be that the camera is a bit out of focus. Samsung galaxy s3, signal 3.5
I can confirm the problem is that the camera not being in focus. I have the same problem when using the quick direct capture (can't click to focus). I came to this conclusion after taking a screenshot and zooming -- it linked the device
You might already be aware of this pr #3767 but marking it here as related.
I don't know if the code that the quick camera uses is the same as the one used by the qr scanner (I haven't looked at the code to be honest) but it seems to be the case.
As in #4804 autofocus is not working when QR Code scanning. I have the same setup: Signal version: 3.6.1 Android version: 5.1.1 (Cyanogenmod 12.1) snapshot Device: Samsung Galaxy S2 ("i9100")
Saving the QR-Code png and zoomind doesn't work for me. Even when the QR Code is sharp on the screen, it is not recognized. Also when using Signal 3.7.0, I can scan the Code via an external App and it opens Signal, but in Signal I have to rescan.
@ndevln does it make a difference if you try rotating the device to portrait or landscape?
No difference for me
Signal version: 3.6.1 Android version: 5.1.1 (Cyanogenmod 12.1) Device: Samsung Galaxy S2 ("i9100")
No makes no difference. Also moving the QR Code in from all sides makes no difference (in portrait and landscape mode). Also I can't take pictures with my back camera in the messaging view (but i can see the preview). My front camera works in the quick camera mode (autofocus and capturing pictures). I think using the front camera for the qr code scan would work, but it's still only a workaround.
Same situation here, Signal doesn't focus and the QR code won't get recognized (zoomed screenshot or switching between landscape/portrait doesn't help).
Signal version: 3.6.1 Android: 5.1.1 (Cyanogenmod 12.1) Device: Galaxy S2 (i9100)
+1 to this issue it's the same as described by me in https://github.com/WhisperSystems/Signal-Android/issues/4661.
Apart from the camera issue, what speaks against manual device linking (e.g. via typing of a code)? Would be a workaround for this case and the only option for people with broken cameras (or even smartphones without a camera)...
lolonaut, couldn't agree more!
I think it's not quite as simple as that, since this function allows you to get a full take an the devices communication over Signal. For example the verification of the fingerprint of your contacts is done by an external app (f-droid barcode scanner in my case). But for this scan they use an internal approach, which I think is a deliberate choice.
Secure design is hard to get right and I think @moxie0 has put some thought into it.
I'm not sure if I understand you right...my suggestion would be to show the QR-code data (i.e. the uuid and the ub_key) underneath the QR-code-field in the chrome app and to add a manual linking option into the smartphone app, where one could type the uuid and the ub_key by hand. Would this really be less secure?
I don't see why this should be less secure. The format of the data shouldn't have any impact on the security.
There seems to be a very strange bug within the auto focus behavior of the Samsung Galaxy S2 (other devices may be affected too).
The CameraView class checks the supported focusModes (on the S2 both FOCUS_MODE_CONTINUOUS_PICTURE and FOCUS_MODE_CONTINUOUS_VIDEO are reported back as supported by camera.getParameters()) and sets them if available. This alone should trigger continuous auto focus but it doesn't on this device.
So AFAIK the only solution is invoking camera.autoFocus() reasonably often enough between startPreview() and before stopPreview().
Signal version: 3.6.1 Android: 5.1.1 (Cyanogenmod 12.1) Device: Galaxy S2 (i9100)
I also can confirm this issue on my S2.
What I want to add is that the QR scanner from the (open source) "Barcode scanner" com.google.zxing.client.android does work perfectly, while signal's implementation does not.
Signal version: 3.7.2 Android version: 5.1.1 (Cyanogenmod 12.1) snapshot Device: Samsung Galaxy S2 ("i9100")
This is exactly what happens and the reason i've opened my issue(referenced above). I've also tried several QR scanners and all of them worked as well but since the link process stopped using a URL and switched to an internal scanner it stopped working for me. Please address this problem with some priority as it related to basic functionality (even tho it's still in beta).
The preview image looks sharp, but it es not recognized :disappointed:
Edit: S2 CM12.1
Same issue here.