Slide crashes after hiding last post
Slide version: 4.6.1-25-a6cb3ac Android version:6.0.1
When hiding the last post in a sub by using the individual hide buttons, whether subscribed to the sub or not, slide crashes and restarts.
Can't reproduce this on latest, may have been fixed
It's fixed
Not fixed. In version 5 this still occurs.
E/AndroidRuntime(10245): FATAL EXCEPTION: main
E/AndroidRuntime(10245): Process: me.ccrama.redditslide.debug, PID: 10245
E/AndroidRuntime(10245): java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{305bcc44 position=0 id=-1, oldPos=0, pLpos:-1 scrap [attachedScrap] tmpDetached no parent}
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:4487)
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4618)
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4599)
E/AndroidRuntime(10245): at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
E/AndroidRuntime(10245): at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1384)
E/AndroidRuntime(10245): at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
E/AndroidRuntime(10245): at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:2954)
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2879)
E/AndroidRuntime(10245): at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3265)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10245): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10245): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
E/AndroidRuntime(10245): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
E/AndroidRuntime(10245): at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10245): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
E/AndroidRuntime(10245): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
E/AndroidRuntime(10245): at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at me.ccrama.redditslide.SwipeLayout.SwipeBackLayout.onLayout(SwipeBackLayout.java:393)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10245): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10245): at android.view.View.layout(View.java:15671)
E/AndroidRuntime(10245): at android.view.ViewGroup.layout(ViewGroup.java:5038)
E/AndroidRuntime(10245): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2086)
E/AndroidRuntime(10245): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1843)
E/AndroidRuntime(10245): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
E/AndroidRuntime(10245): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
E/AndroidRuntime(10245): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/AndroidRuntime(10245): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/AndroidRuntime(10245): at android.view.Choreographer.doFrame(Choreographer.java:550)
E/AndroidRuntime(10245): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/AndroidRuntime(10245): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(10245): at android.os.Handler.dispatchMessage(Handler.
Should no longer be an issue
Still happens on latest Google play update. 5.1.1
On Sun, 10 Apr 2016, 07:51 ccrama [email protected] wrote:
Should no longer be an issue
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ccrama/Slide/issues/1129#issuecomment-207843379
@2fst4u the latest version is 5.1.3, is it still happening there?
@Alexendoo Can confirm, happening to me too on the latest version.
Yup, just got two updates in one day. Still happening on 5.1.3
On Sun, 10 Apr 2016, 20:44 Jake Houston [email protected] wrote:
@Alexendoo https://github.com/Alexendoo Can confirm, happening to me too on the latest version.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ccrama/Slide/issues/1129#issuecomment-207946619
Okay thanks, I haven't managed to get this one happening recently, what subs are you looking at? Sort mode, number of posts, anything you can think of
It was previously happening in every combination of sub and sort. I just tried again and it worked without crashing though. Might need to check with other users though
On Sun, 10 Apr 2016, 21:02 Alex Macleod [email protected] wrote:
Reopened #1129 https://github.com/ccrama/Slide/issues/1129.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ccrama/Slide/issues/1129#event-621420693
Should be fixed now