binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
118 stars 69 forks source link

Break PdfView when open Keyboard #32

Open Lykeosovandara opened 3 years ago

Lykeosovandara commented 3 years ago

Describe the bug On an Android device when open the keyboard it causes pdf to show nothing.

To Reproduce Steps to reproduce the behaviour:

  1. Select on TextField
  2. Pdf view will show nothing

Screenshots Alt Text

Smartphone (please complete the following information):

Additional context NA

pishguy commented 3 years ago

i have the same error:

I/HwSecImmHelper(26439): mSecurityInputMethodService is null
W/InputMethodManager(26439): startInputReason = 3
E/SpannableStringBuilder(26439): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(26439): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(26439): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  (26439): uid=10101(u0_a101) com.caferilik.caferilik identical 2 lines
E/SpannableStringBuilder(26439): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
D/jniPdfium(26439): Destroy FPDF library
D/HwCust  (26439): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(26439): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@b989fc1, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(26439): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@b989fc1, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(26439):   HWUI Binary is  enabled
I/PressGestureDetector(26439): onAttached begin
I/PressGestureDetector(26439): onAttached end
I/PressGestureDetector(26439): HiTouch restricted: AboardArea.
D/mali_winsys(26439): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(26439):   HWUI Binary is  enabled
D/HwCust  (26439): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(26439): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@8f1193e, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(26439): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3@8f1193e, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(26439):   HWUI Binary is  enabled
I/PressGestureDetector(26439): onAttached begin
I/PressGestureDetector(26439): onAttached end
I/PressGestureDetector(26439): HiTouch restricted: AboardArea.
D/mali_winsys(26439): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(26439):   HWUI Binary is  enabled
moazelsawaf commented 2 years ago

Has anyone found a solution for this error?

vineetpandit90 commented 2 years ago

I am also facing this issue, Pls provide a solution for this.

moazelsawaf commented 2 years ago

I have found this solution for the error: https://stackoverflow.com/a/60246126/11217945