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

Do not constantly render the detail canvas on zoom (bug 1952496) #19622

Conversation

nicolo-ribaudo
Copy link
Contributor

When zooming, we should skip rendering the detail canvas until the zoom is done, similarly to how normal page rendering is delayed. To do so is enough to skip details view while zooming, since the main view rendering that already happens after the delay will also trigger rendering of the detail views.

@nicolo-ribaudo
Copy link
Contributor Author

This can be seen locally by setting the default delay in the app options to 999.

@Snuffleupagus Snuffleupagus added viewer release-blocker Blocker for the upcoming release labels Mar 7, 2025
When zooming, we should skip rendering the detail canvas until the
zoom is done, similarly to how normal page rendering is delayed.
To do so is enough to skip details view while zooming, since the
main view rendering that already happens after the delay will also
trigger rendering of the detail views.
@nicolo-ribaudo nicolo-ribaudo force-pushed the zoom-detail-view-constant-redraw branch from 0db7974 to a1dc46a Compare March 7, 2025 11:38
@Snuffleupagus
Copy link
Collaborator

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/0738052fbb8e84c/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/e899b152717f4eb/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/0738052fbb8e84c/output.txt

Total script time: 11.57 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/e899b152717f4eb/output.txt

Total script time: 26.68 mins

  • Integration Tests: Passed

@marco-c marco-c changed the title Do not constantly render the detail canvas on zoom Do not constantly render the detail canvas on zoom (bug 1952496) Mar 7, 2025
@mozilla mozilla deleted a comment from mareladesky Mar 7, 2025
Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, thank you.

@Snuffleupagus Snuffleupagus merged commit cef4fcf into mozilla:master Mar 7, 2025
7 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the zoom-detail-view-constant-redraw branch March 7, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker Blocker for the upcoming release viewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants