New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 592748 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocked on:
issue pdfium:869

Blocking:
issue 62400



Sign in to add a comment

Pdf XFA: Filling form is very sluggish

Project Member Reported by aval...@chromium.org, Mar 7 2016

Issue description

Version: 7c1c27414ff9e29a88fec8f717b4c157363bfae6

Trying to fill out the attached form from http://www.cic.gc.ca/english/pdf/kits/forms/IMM5257E.pdf

The reaction time of this form is _very_ slow. I can type my whole name before it starts reacting.


Clicking drop-down boxes also feels slow, on the order ~1 second between the click and the list appearing.
 
IMM5257E.pdf
424 KB Download
Cc: tsepez@chromium.org jsc...@chromium.org rpop@chromium.org
Owner: jun_f...@foxitsoftware.com
Status: Assigned (was: Untriaged)
new.gpx.xml
152 bytes View Download
Owner: jinming_...@foxitsoftware.com
Owner: hong_zh...@foxitsoftware.com
Blocking: 62400
Owner: rharrison@chromium.org
Blockedon: pdfium:869
I have some findings written down in pdfium:869.
Owner: hnakashima@chromium.org
Sending over since hnakashima is looking at performance issues.
Status: Started (was: Assigned)
Focusing on imm5257e.pdf at first.

The main source of performance issues, by far, is rendering the drop down arrow buttons. Specifically, the Axial shading is super slow and the buttons are redrawn very frequently (on hovering the mouse pointer over a widget, for example). Switching to a solid color reduces rendering time by like 90%. I'll try to optimize the shading code, but an easy workaround is just switching to solid color buttons.
Is the background of the button something we control, or something that can be changed on a per document basis?

If we control it and the document doesn't get a say, let's just switch to solid colour and move on for now.
Project Member

Comment 11 by bugdroid1@chromium.org, Mar 6 2018

The following revision refers to this bug:
  https://pdfium.googlesource.com/pdfium_tests/+/b86c0ec9ee2aa3ba5e113a0e88a5c3292eb0fe2f

commit b86c0ec9ee2aa3ba5e113a0e88a5c3292eb0fe2f
Author: Henrique Nakashima <hnakashima@chromium.org>
Date: Tue Mar 06 22:06:47 2018

Update expected png for XFA dropdown arrow without gradient.

Related to https://pdfium-review.googlesource.com/c/pdfium/+/28090

Bug:  chromium:592748 
Change-Id: If18002bfa251c555f725dffa240dc8f678ad710c
Reviewed-on: https://pdfium-review.googlesource.com/28130
Reviewed-by: dsinclair <dsinclair@chromium.org>

[modify] https://crrev.com/b86c0ec9ee2aa3ba5e113a0e88a5c3292eb0fe2f/xfa_specific/fx/test_case_0025/Test_Drop_downList_expected.pdf.0.png

Status: Fixed (was: Started)

Sign in to add a comment