Live data from Hacker News

Copy and Paste context menu entries sometimes disabled when they should not be

bugzilla.mozilla.org

11–20 of 99 posts

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#11
post #5

Earlier quoted context omitted.

The website you are visiting might be breaking it. There are many sites which will force that option to grey out upon right-click. This is by design.

Many websites will also prevent highlighting text as well. Reader mode is helpful for that.

Or just hold down shift, at least in Firefox. This avoids sending the events to the javascript on the page so that the user can act on the page without being blocked, while still using a page’s own context menu if it really does provide a useful one (Google Docs, for example, has one with actual editing actions in it).

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#12
post #8

Earlier quoted context omitted.

The website you are visiting might be breaking it. There are many sites which will force that option to grey out upon right-click. This is by design.

It's the duty and responsibility of a properly implemented browser to not allow a "website" to break basic UI functionality because it pushes some javascript. I don't care about how Safari and chrome and edge do it. Firefox should not follow their lead. This is a fine example of why people install plugins like ublock origin and similar.

Firefox does it best here, because you can hold shift to get the original context menu back when the page blocks it or provides their own.

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#13

From the bug report: 1. Open https://www.google.com/ in a tab 2. Open https://ftp.mozilla.org/pub/firefox/nightly/ in the same tab 3. Click on Go back button (or Alt+Left Arrow) 4. Click on Go forward button (Alt+Right Arrow) 5. Select some text 6. Right click It doesn't seem like it's a website doing something it shouldn't be and breaking RFC. It's really a bug in firefox. Also, the scope is very specific and kinda…

It's not generalizable to any arbitrary pair of websites X and Y. Or even X and ftp.mozilla.org. Which I suppose makes sense if it's been in the wild this long without everyone noticing it.

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#16
post #12
post #8

Earlier quoted context omitted.

It's the duty and responsibility of a properly implemented browser to not allow a "website" to break basic UI functionality because it pushes some javascript. I don't care about how Safari and chrome and edge do it. Firefox should not follow their lead. This is a fine example of why people install plugins like ublock origin and similar.

Firefox does it best here, because you can hold shift to get the original context menu back when the page blocks it or provides their own.

Exactly. There are legitimate use cases for hijacking the right-click menu to make it better. For example, Google docs, GMail, etc. The best solution IMHO is the shift key to get the normal menu. It's the best of both worlds.

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#18

Ha! My dad was telling me this was happening on his Mac, but I didn't believe him!

I use Linux, so initially I assumed it was some weird Linux thing. Until it happened on my father's brand-new Win-11 notebook. This is embarrassing and disappointing. I'm old enough to have used the Mozilla Suite (now SeaMonkey) betas in 2001 and had no reservations recommending early stable versions to friends and family members over IE. Same with Firefox ten years ago. Now? If asked what I'd recommend, I'd honestly tell them idk.

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#19

Specifically the right-click menu option, which is often greyed out for no apparent reason. This happens on both Windows and Linux. Ctrl+C still works, but how does Firefox break something as basic as the right-click menu and copy in 2024?

The website you are visiting might be breaking it. There are many sites which will force that option to grey out upon right-click. This is by design.

> The website you are visiting might be breaking it. There are many sites which will force that option to grey out upon right-click.

No, this is a new thing that happens on sites that weren't and aren't doing that. Also tab-switching fixes it.

Re: Copy and Paste context menu entries sometimes disabled when they should not be

#20
post #17

They're also deleting downloaded .pdf whilst in private mode. Yes even when I click save as. It gets downloaded to my downloads folder and then sometimes it's deleted when I close the browser. Sometimes.

about:config and set this to true "browser.download.start_downloads_in_tmp_dir"
Post reply on HN