Skip to content
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

[Regression] Ensure that "Highlight All" is propagated to all pages for 'findagain' events where the findbar was previously closed (PR 10100 follow-up) #10196

Conversation

Snuffleupagus
Copy link
Collaborator

STR:

  1. Open the default viewer, with the tracemonkey file.
  2. Open the findbar, and search for "trace".
  3. Enable the "Highlight All" option.
  4. Close the findbar.
  5. Re-open the findbar, and click on the "findNext" button.
  6. Scroll down to the second page of the document.

ER:
Since "Highlight All" is active, all matches on the second page should be highlighted.

AR:
No matches are highlighted on the second page.


/cc @timvandermeij I should have caught this when working on PR #10100, but I obviously didn't; sorry about that!

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/820137ecc848e71/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/820137ecc848e71/output.txt

Total script time: 2.99 mins

Published

…or 'findagain' events where the findbar was previously closed (PR 10100 follow-up)

**STR:**
1. Open the default viewer, with the `tracemonkey` file.
2. Open the findbar, and search for "trace".
3. Enable the "Highlight All" option.
4. Close the findbar.
5. Re-open the findbar, and click on the "findNext" button.
6. Scroll down to the *second* page of the document.

**ER:**
Since "Highlight All" is active, all matches on the *second* page should be highlighted.

**AR:**
No matches are highlighted on the *second* page.
@Snuffleupagus Snuffleupagus force-pushed the findbarclose-findagain-highlightAll branch from d347c20 to 96abb4b Compare October 29, 2018 18:50
@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/cb1966e72f59f34/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/cb1966e72f59f34/output.txt

Total script time: 3.01 mins

Published

@timvandermeij timvandermeij merged commit 74b5d0b into mozilla:master Oct 29, 2018
@timvandermeij
Copy link
Contributor

Thank you for the follow-up!

@Snuffleupagus Snuffleupagus deleted the findbarclose-findagain-highlightAll branch October 29, 2018 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants