camerakit-android icon indicating copy to clipboard operation
camerakit-android copied to clipboard

0.13.1 version cameraview has stretched preview

Open developer-- opened this issue 8 years ago • 26 comments

Is this a bug report?

(yes)

version 0.13.0 works fine OS 6.0.0

developer-- avatar Dec 15 '17 10:12 developer--

I have the same problem, but only in a specific device with Android 4.4.2. Only the preview is stretched, the result image is fine. EDIT: Can confirm that it was working in the 0.13.0. @dwillmc could you please take a look a this? I tried to debug the issue, but didn't have any success.

4brunu avatar Dec 15 '17 13:12 4brunu

Same here: Xiaomi Redmi Note 3, Android 5.02 LRX22G, MIUI 8.5

smelfungus avatar Dec 15 '17 14:12 smelfungus

Ok drafted a 0.13.2 milestone and added this to it, we will see what we can do.

austinkettner avatar Dec 15 '17 14:12 austinkettner

thanks, and also can anyone fix flash issue? when method mode is steel flashlight does not works #266

developer-- avatar Dec 15 '17 14:12 developer--

Added @developer--

austinkettner avatar Dec 15 '17 14:12 austinkettner

I am updated from 0.13.2 - see the same problem. Meizu m5 note On version 0.13.0 alls great I think, it s display orientation problem - when i rotate phone, preview change stretch direction

d-aleksandrov avatar Dec 29 '17 10:12 d-aleksandrov

For me on one device I don't need to rotate it, it's stretch even in portrait. On the other devices it works, but I only support portrait. The problem should be https://github.com/wonderkiln/CameraKit-Android/pull/280/commits/c1e42885a2b6b8369482a71874f6cda6d3a1fa57 or https://github.com/wonderkiln/CameraKit-Android/pull/280/commits/5875fded1b7bdac1bcc049fcc3accff4c0ac5cbf @austinkettner any news on this?

4brunu avatar Jan 05 '18 15:01 4brunu

Same reproduced on Nexus 4 (Android 5.1.1) and Nexus 5 (Android 6.0.1). Most likely was broken by: https://github.com/wonderkiln/CameraKit-Android/commit/5875fded1b7bdac1bcc049fcc3accff4c0ac5cbf

xp-vit avatar Jan 06 '18 20:01 xp-vit

Actually, this issue is fixed in google cameraview repo. maybe we can apply that fix here.

ghost avatar Jan 08 '18 21:01 ghost

I'm seeing this too. Caused by the last two released, reverting to 0.13.0 fixes it. Locking orientation was also required.

Danm72 avatar Jan 12 '18 16:01 Danm72

Hi, I have a similar problem also with 0.13.0. In landscape on Samsung galaxy S2 Tablet with this option: <com.wonderkiln.camerakit.CameraView android:id="@+id/camerakit_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:layout_centerInParent="true" android:screenOrientation="portrait" android:keepScreenOn="true" /> I have the preview stretched. Am I making any mistakes? Thanks

francescoberardi avatar Jan 16 '18 18:01 francescoberardi

Hey everyone, as we gear up for our 1.0.0 release all of the orientation, stretch, etc tickets have been addressed as we have refactored how we handle all of this. Wanted to drop a not here as this the main reason we are not more directly addressing these issues in 0.13.x or 0.12.x releases. Hope that makes sense! We plan to have 1.0.0-Snapshot out this week.

austinkettner avatar Jan 16 '18 18:01 austinkettner

What branch is that work happening on? Sounds good!

Danm72 avatar Jan 16 '18 18:01 Danm72

Not yet pushed up for a few reasons, but you will see on a 1.0.0 branch in the next few days! In future releases we don't plan to hold the commits from the repo this long, as it's bad practice, but we had a few reasons this time around.

austinkettner avatar Jan 16 '18 19:01 austinkettner

@austinkettner Looking forward to seeing the 1.0.0 snapshot, any way to be notified when its released?

Danm72 avatar Jan 19 '18 09:01 Danm72

Any news on this issue? I'm experiencing this on an API Level 17 device

BlueTreeMatt avatar Jan 26 '18 12:01 BlueTreeMatt

There is an open PR with the fix https://github.com/CameraKit/camerakit-android/pull/306 Hope this is merged soon :)

4brunu avatar Jan 26 '18 14:01 4brunu

@4brunu

Is the fix in #306 not more related to the demo application rather than preview being stretched when calling the CameraKit API directly? I hope I'm wrong!

BlueTreeMatt avatar Jan 26 '18 15:01 BlueTreeMatt

Sorry, you are right. I was making a confusing between this issue and https://github.com/CameraKit/camerakit-android/issues/256#issuecomment-358837297.

4brunu avatar Jan 26 '18 16:01 4brunu

I'm facing the same issue. Is 1.0.0 snapshot released?

dakshays avatar Jan 31 '18 10:01 dakshays