Closed Bug 1780907 Opened 3 years ago Closed 2 years ago

temporary freeze on clipboard copy when Windows "suggested actions" option is enabled

Categories

(Core :: Widget: Win32, defect, P3)

Firefox 103
defect

Tracking

()

RESOLVED DUPLICATE of bug 1774285

People

(Reporter: tbrownaw, Unassigned)

Details

(Whiteboard: [win:stability])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

On Windows 11 22H2 (currently only on Windows Insider). In the system clipboard settings, there is an option "Suggested actions".

When this option is enabled, sometimes copying things from Firefox will cause Firefox to hang for a while. This is not immediate, but takes effect after a second or three. The length of the hang seems to depend on what is copied.

Go to https://stackoverflow.com/questions . Oscillate the scroll wheel on your mouse and the page scroll position will oscillate in response. Right-click any of the question titles and select "Copy Link". Immediately return to oscillating the scroll wheel. After a second or three, the page scroll position will stop oscillating for some length of time. On the stack overflow questions page, this usually seems to last for a few seconds. If you have time, try to select a different tab; this will also be non-responsive for the same length of time.

(I've seen also seen this on Reddit, and various news sites. The length of the freeze seems to vary by what's copied and possibly with either how long Firefox has been open or with how many times it's been triggered.)

Disable the Windows "Suggested actions" option and test again; it doesn't hang this time.

I have seen this on my main Firefox profile on the dev channel, on a fresh profile on the same install, and on a new install of the release channel. I've seen this on two separate machines running Windows Insider Edition, and people I know have mentioned similar issues also on Windows Insider (but I don't have confirmation of what clipboard settings they happen to have, or whether changing them helps).

Actual results:

With the Windows 11 22H2 clipboard "Suggested Actions" feature enabled, Firefox hangs after copying some things into the clipboard.

Expected results:

Copying things into the clipboard should not cause Firefox to stop responding, regardless of what the OS settings are.

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

This affects all interactions with the window ("if you have time, try to select a different tab..."). I listed scrolling as the test method because that's a continuous interaction that make it easy to see when the responsiveness stops and later resumes.

"Panning and Zooming" is named like it's the wrong component, but I'm not familiar with what all the components are in order to suggest the right one.

Can you upload a profile using https://profiler.firefox.com/ ?

Flags: needinfo?(tbrownaw)
Component: Panning and Zooming → DOM: Copy & Paste and Drag & Drop
Flags: needinfo?(tbrownaw)

Thanks thats very helpful.

Looks like lots of time spent in ORPC calls having to do with accessibility or automation? Most of the time is in uiautomationcore.dll

Component: DOM: Copy & Paste and Drag & Drop → Widget: Win32
Severity: -- → S3
Priority: -- → P3
Whiteboard: [win:stability]

I've been dealing with this for about a week. I'm using Windows 11 Build 22622.436 and Firefox 103.0. A workaround I found was to clear my clipboard history in Windows Settings, but I suspect it's only a temporary fix. There's no freeze when copying after clearing clipboard data even with "Suggested actions" enabled.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.