Closed Bug 1698203 Opened 4 years ago Closed 4 years ago

Cut & Copy context menu options are available for password fields

Categories

(Core :: DOM: Editor, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1692673
Tracking Status
firefox-esr78 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- fixed
firefox89 --- fixed

People

(Reporter: emilghitta, Unassigned)

References

Details

Affected versions

  • Firefox 88.0a1 (BuildId:20210312033752)
  • Firefox 87.0b9 (BuildId:20210311161514)
  • Firefox 86.0.1 (BuildId:20210310152336)
  • Firefox 78.8.0esr (BuildId:20210217034806)

Affected platforms

  • Windows 10 64bit
  • macOS 10.14
  • Ubuntu 20.04

Steps to reproduce

  1. Launch Firefox.
  2. Access the following link
  3. Type something inside the password field.
  4. Select the typed password and right click on the password field.

Expected result

  • Even though the cut & copy options are not doing anything (as expected) I believe that they should be disabled.

Actual result

  • The cut & copy options are enabled.

Regression Range

  • This doesn’t seem to be a regression (this issue goes way back to builds from 2018).

Notes

  • I tried looking for a similar logged issue but couldn’t find any. Please duplicate this bug if needed.

Hi Gijs,

I didn't marked this bug as blocking the proton context menus meta since this is an old behavior (I can change that if we consider this as worth fixing for proton). I've went through the proton design documentation but couldn't find any planned change related to this.

I'm wondering if we should fix this for proton in order to align with the other browsers.

Flags: needinfo?(gijskruitbosch+bugs)
Has STR: --- → yes

I'm actually surprised this doesn't work in any browser, but OK. I guess the platform folks would know what to do here, given the work in bug 1692673 and bug 1560032 - I am genuinely not sure.

Component: Menus → DOM: Editor
Flags: needinfo?(gijskruitbosch+bugs)
Product: Firefox → Core
See Also: → 1560032

Emil, do you still see this with latest Nightly? The Cut & Copy options are disabled for me; I believe this is the expected result of bug 1692673, so it was just fixed a couple days ago.

Flags: needinfo?(emil.ghitta)

Looks like this is indeed fixed in latest Nightly 88.0a1 across platforms (Windows 10, macOS 11.3 and Ubuntu 18.04). I will mark it as worksforme.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(emil.ghitta)
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE

Marking as duplicate of 1692673, as both were the same underlying issue of Cut/Copy being perma-enabled instead of respecting the state of the current edit control.

You need to log in before you can comment on or make changes to this bug.