Open Bug 1948242 Opened 1 month ago Updated 1 month ago

"Right click ->Copy link to highlight" is not interruptible. So on large pages will delay other actions that get triggered from the context menu (select all, print selection etc)

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file gg.html

Enable dom.text_fragments.create_text_fragment.enabled
Open attached file
Go to the bottom and select some text
Right click , wait half a second, and then click on "Print selection"

AR: The page will take 5 seconds to return from text-fragment-creation-thingy, and ONLY THEN the print preview page is displayed
ER: Not so. As soon as the user selectes anything apart from "copy link to highlight", the processing should stop.

Hm, I agree that this is not unreasonable. The user wouldn't expect to wait for X seconds for any other action to happen. And since this would be an action that closes the context menu, the result of creating the text fragment isn't used in any case.

To achieve this, we would have to have active cancelling of the algorithm, which gets triggered as soon as any other action in the context menu is performed.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: