https://bugs.documentfoundation.org/show_bug.cgi?id=157720

            Bug ID: 157720
           Summary: android viewer open a large file,,will be very very
                    slow
           Product: LibreOffice
           Version: 7.6.0.1 rc
          Hardware: ARM
                OS: Android
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Android Viewer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
when open a large file of word ..it will be very slow need like 1 mins to
finish the rendering ..below is the log detail...and if I used the newest
version of droid apk..it almost can't open it ..the file size is like 10M
only..


2023-10-12 16:18:05.923 27667-27753 LibreOfficeKit         
com.shanreal.paperless               I  Setting FONTCONFIG_FILE to
/data/user/0/com.shanreal.paperless/etc/fonts/fonts.conf
2023-10-12 16:18:05.924 27667-27753 LibreOfficeKit         
com.shanreal.paperless               I  LibreOfficeKit:
libreofficekit_initialize finished
2023-10-12 16:18:05.970 27667-27667 LibreOfficeMainActivity
com.shanreal.paperless               I  onStart..
2023-10-12 16:18:05.975 27667-27667 LibreOfficeMainActivity
com.shanreal.paperless               I  onResume..
2023-10-12 16:18:05.978 27667-27667 PhoneWindow            
com.shanreal.paperless               V  DecorView setVisiblity: visibility = 4,
Parent = null, this = DecorView@da5ba66[]
2023-10-12 16:18:05.983 27667-27667 ViewRootIm...nActivity]
com.shanreal.paperless               D  hardware acceleration = true ,
fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated =
false, sSystemRendererDisabled = false
2023-10-12 16:18:05.989 27667-27667 PhoneWindow            
com.shanreal.paperless               V  DecorView setVisiblity: visibility = 0,
Parent = android.view.ViewRootImpl@5e1d9fd, this =
DecorView@da5ba66[LibreOfficeMainActivity]
2023-10-12 16:18:05.992 27667-27667 Choreographer          
com.shanreal.paperless               I  Skipped 93 frames!  The application may
be doing too much work on its main thread.
2023-10-12 16:18:06.005 27667-27707 OpenGLRenderer         
com.shanreal.paperless               I  Davey! duration=1581ms; Flags=0,
IntendedVsync=428203046544444, Vsync=428204609832408,
OldestInputEvent=9223372036854775807, NewestInputEvent=0,
HandleInputStart=428204615613753, AnimationStart=428204615731599,
PerformTraversalsStart=428204615735137, DrawStart=428204616419060,
SyncQueued=428204618626753, SyncStart=428204618810522,
IssueDrawCommandsStart=428204619157599, SwapBuffers=428204625366676,
FrameCompleted=428204628609368, DequeueBufferDuration=1668000,
QueueBufferDuration=770000, 
2023-10-12 16:18:06.110 27667-27760 LibreOffice            
com.shanreal.paperless               I  New sal thread started and attached
res=0
2023-10-12 16:18:06.110 27667-27760 LibreOffice/androidinst
com.shanreal.paperless               I  Android: create_SalInstance!
2023-10-12 16:18:06.110 27667-27760 LibreOffice/androidinst
com.shanreal.paperless               I  AttachCurrentThread res=0
env=0x74e7a1e720
2023-10-12 16:18:06.177 27667-27707 Surface                
com.shanreal.paperless               D 
Surface::connect(this=0x74c49ea000,api=1)
2023-10-12 16:18:06.180 27667-27707 mali_winsys            
com.shanreal.paperless               D  EGLint
new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig,
egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-10-12 16:18:06.237 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/WindowInsets;->CONSUMED:Landroid/view/WindowInsets; (light
greylist, reflection)
2023-10-12 16:18:06.239 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden method
Landroid/view/View;->getViewRootImpl()Landroid/view/ViewRootImpl; (light
greylist, reflection)
2023-10-12 16:18:06.240 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/View$AttachInfo;->mVisibleInsets:Landroid/graphics/Rect; (light
greylist, reflection)
2023-10-12 16:18:06.240 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/ViewRootImpl;->mAttachInfo:Landroid/view/View$AttachInfo; (light
greylist, reflection)
2023-10-12 16:18:06.244 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate;
(light greylist, reflection)
2023-10-12 16:18:06.248 27667-27667 RecyclerView           
com.shanreal.paperless               E  No adapter attached; skipping layout
2023-10-12 16:18:06.249 27667-27667 RecyclerView           
com.shanreal.paperless               E  No adapter attached; skipping layout
2023-10-12 16:18:06.253 27667-27667 RecyclerView           
com.shanreal.paperless               E  No adapter attached; skipping layout
2023-10-12 16:18:06.253 27667-27667 RecyclerView           
com.shanreal.paperless               E  No adapter attached; skipping layout
2023-10-12 16:18:06.310 27667-27754 Surface                
com.shanreal.paperless               D 
Surface::connect(this=0x74c49eb000,api=1)
2023-10-12 16:18:06.313 27667-27754 mali_winsys            
com.shanreal.paperless               D  EGLint
new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig,
egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-10-12 16:18:06.319 27667-27667 PhoneWindow            
com.shanreal.paperless               V  DecorView setVisiblity: visibility = 4,
Parent = android.view.ViewRootImpl@e854bfd, this =
DecorView@e96a0f2[SplashActivity]
2023-10-12 16:18:06.323 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/inputmethod/InputMethodManager;->mCurRootView:Landroid/view/View;
(light greylist, reflection)
2023-10-12 16:18:06.323 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/inputmethod/InputMethodManager;->mServedView:Landroid/view/View;
(light greylist, reflection)
2023-10-12 16:18:06.324 27667-27667 nreal.paperles         
com.shanreal.paperless               W  Accessing hidden field
Landroid/view/inputmethod/InputMethodManager;->mNextServedView:Landroid/view/View;
(light greylist, reflection)
2023-10-12 16:18:06.327 27667-27667 View                   
com.shanreal.paperless               D  [Warning] assignParent to null: this =
DecorView@e96a0f2[SplashActivity]
2023-10-12 16:18:06.413 27667-27756 stderr                 
com.shanreal.paperless               I  Fontconfig error: No writable cache
directories
2023-10-12 16:18:06.447 27667-27756 stderr                 
com.shanreal.paperless               I  Fontconfig error: No writable cache
directories
2023-10-12 16:18:06.487 27667-27753 LibreOfficeKit         
com.shanreal.paperless               I  LibreOfficeKit successfully initialized
2023-10-12 16:18:06.491 27667-27753 LOKitTileProvider      
com.shanreal.paperless               I  ====> Loading file
'/data/user/0/com.shanreal.paperless/cache/LibreOffice3898443294970926815.tmp'
2023-10-12 16:18:06.493 27667-27756 stderr                 
com.shanreal.paperless               I  I/O warning : failed to load external
entity
"/data/user/0/com.shanreal.paperless/share/liblangtag/language-subtag-registry.xml"
2023-10-12 16:18:06.493 27667-27756 stderr                 
com.shanreal.paperless               I  W: Error raised:
2023-10-12 16:18:06.493 27667-27756 stderr                 
com.shanreal.paperless               I  W:   Unable to read the xml file:
/data/user/0/com.shanreal.paperless/share/liblangtag/language-subtag-registry.xml
2023-10-12 16:18:06.493 27667-27756 stderr                 
com.shanreal.paperless               I  W:   No backtraces
2023-10-12 16:18:06.550 27667-27707 Surface                
com.shanreal.paperless               D 
Surface::disconnect(this=0x74c415a000,api=1)
2023-10-12 16:18:06.620 27667-27667 PhoneWindow            
com.shanreal.paperless               V  DecorView setVisiblity: visibility = 4,
Parent = android.view.ViewRootImpl@54dac92, this =
DecorView@7d504c7[MainActivity]
2023-10-12 16:19:48.279 27667-27753 LOKitTileProvider      
com.shanreal.paperless               I  ====> mDocument =
org.libreoffice.kit.Document@983de57
2023-10-12 16:19:48.307 27667-27753 LOKitTileProvider      
com.shanreal.paperless               I  Reset document size: 12474 x 2722682
2023-10-12 16:19:48.756 27667-27989 LibreOffice            
com.shanreal.paperless               I  New sal thread started and attached
res=0
2023-10-12 16:19:48.758 27667-27989 LibreOffice            
com.shanreal.paperless               I  Detached finished sal thread res=0

Actual Results:
opened like need 1 mininute

Expected Results:
fast like windows version


Reproducible: Always


User Profile Reset: No

Additional Info:
no

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to