-
Notifications
You must be signed in to change notification settings - Fork 437
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
IncompatibleRatioException being thrown with RandomTransitionGenerator #2
Comments
It seems it's related to |
Hi dommeq, Thank you very much for your report. I'll try to reproduce it here on my Nexus 5. If you're willing to work on a solution for this issue, please use the dev branch. |
Are you using any custom TransitionGenerator? If this is the case, please consider that all rects you generate must have the same aspect ratio. |
Nope, I just have the xml type of integration ;) |
Hi dommeq, I just pushed a commit to the master branch that I believe it will fix it. I didn't release a new version of the lib because I'd like you to test it with the project you're working on. You can build the library by running the following commands from the repo root:
The lib file will be library/build/bundles/release/classes.jar. I would be pleased if you test it and give me some feedback. |
Yep it looks like it's working ;) |
When will you make a new release with this fixed? |
I'm very busy these days and I still didn't find any free time for that. I On Thu, Apr 10, 2014 at 6:33 PM, Jonathan Andersson <
|
No worries man! :) It´s worth waiting for! I love the effect and the simplicity. |
Version 1.0.1 released. Sorry for making you wait. =( |
this is still a problem, I get it anytime I have the keyboard showing when trying to enter information in an EditText and the image tries to do a new transition |
Hi tyczj, What version of the library are you using? I understand that you have an Thanks. On Sun, Apr 27, 2014 at 1:48 PM, tyczj notifications@github.com wrote:
|
using newest version 1.0.1, I have the KBV as my background (fullscreen no actionbar) and I have a layout with textviews some edittext's overlayed ontop. I dont have anything set for me windowSoftInpotMode in my manifest. basically what I do to reproduce the problem is let the view load, tap in the edittext so the keyboard appears then let the current transition end in the KBV and it will crash when it tries to start the next transition. If i dismiss the keyboard before the new transition starts it does not crash however |
All right, you're probably having it resized. It seems to be a real problem, I'll investigate. Thank you for your report. |
yeah I personally am not resizing it in my code but I think they keyboard inherently resizes the view when it appears |
yep seeing the same problem on latest version, soft keyboard opened between the beginning and end of the transition will cause the next transition start to raise the exception since the view is implicitly resized. Let me know if you need more info. Thanks! |
I also have this problem (version 1.0.1) . Here's the crash log: 05-15 17:37:33.294: E/AndroidRuntime(8703): FATAL EXCEPTION: main It's quite a rare bug. |
Hi! I still have this problem with the latest version (1.0.3). When typing something in the keyboard the app crashes. Any fix? |
For now, I believe the best way to work around it is by using android:windowSoftInputMode="adjustPan". |
Okay, thank you! Great work btw! 2014-07-07 19:44 GMT+02:00 Flávio Faria notifications@github.com:
|
Related to #14 . I'm closing this issue because the newer one provides a better description of the problem. |
RandomTransitionGenerator generator = new RandomTransitionGenerator();
kbv.setTransitionGenerator(generator);
// com.flaviofaria.kenburnsview.IncompatibleRatioException: Can't perform Ken Burns effect on rects with distinct aspect ratios! Same error, no rotate device, no resize. |
Could you provide further information, please? When does it happen? What On Fri, Sep 26, 2014 at 12:24 AM, solo notifications@github.com wrote:
|
I'll try to reproduce it, thanks. On Fri, Sep 26, 2014 at 12:36 AM, solo notifications@github.com wrote:
|
Hi Andrew, The version 1.0.4 includes this fix and is already available on Maven On Mon, Sep 29, 2014 at 4:24 PM, Andrew Ma notifications@github.com wrote:
|
Hi,
When using your lib, it's crashing at
com.flaviofaria.kenburnsview.Transition. (Transition.java:53)
I saw it's because of an exception you throw, but I'd like to know where it comes from exactly and maybe how to fix it.
The text was updated successfully, but these errors were encountered: