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

[Editor] Change the style of the bounding box and the resizers (bug 1852897) #16943

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

calixteman
Copy link
Contributor

No description provided.

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.

Quick testing reveals at least two problems:

  • When enabling Ink-editing and hovering over a page, before you begin drawing, the dashed outline in now wider and longer than the page. Besides looking strange, this means that it's now possible to draw outside of the page.
  • The dashed outline for a non-focused editor now has a larger size than the outline of a focused editor, which means that when selecting an editor (via clicking) the outline now "shrinks" which wasn't the case before (and it feels a bit jarring).

@Snuffleupagus
Copy link
Collaborator

  • When enabling Ink-editing and hovering over a page, before you begin drawing, the dashed outline is now wider and longer than the page. Besides looking strange, this means that it's now possible to draw outside of the page.

This problem is still reproducible when rotating the PDF document to any non-zero value.

@Snuffleupagus
Copy link
Collaborator

/botio-linux preview

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/55e3f492582b84c/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/55e3f492582b84c/output.txt

Total script time: 1.46 mins

Published

@Snuffleupagus
Copy link
Collaborator

I was ready to approve this, but it seems that the latest update removed a bit too much code :-)

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.

It's quite unfortunate that the solution needed to be this "complex", but hopefully we can simplify this once bug 1848458 is implemented.

r=me, since this seems to work correctly now; thank you!

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/7fe20eb92fa1543/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/79ee1627271dd6e/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/7fe20eb92fa1543/output.txt

Total script time: 4.61 mins

  • Integration Tests: FAILED

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/79ee1627271dd6e/output.txt

Total script time: 18.49 mins

  • Integration Tests: FAILED

@calixteman calixteman merged commit 8d695c9 into mozilla:master Sep 14, 2023
3 checks passed
@calixteman calixteman deleted the new_resizers branch September 14, 2023 11:46
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