Closed Bug 1634990 Opened 5 years ago Closed 5 years ago

pressing ctrl-z inside different input boxes

Categories

(Firefox :: Address Bar, enhancement, P5)

76 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 630436
Tracking Status
firefox76 --- affected
firefox77 --- affected
firefox78 --- affected

People

(Reporter: nikotxpk, Unassigned)

Details

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

Steps to reproduce:

open 2 tabs and type something different in every tab, with text selected press ctrl-x in the tab 1, do the same in the tab 2, finally press ctrl-z in both tabs, and you will get your clipboard value.

expected: restore their respective value for every tab.

it's a dumb bug imo.

Hi,
I reproduced this issue on my machine win 10 on Fx 76.0, Fx 77.0b1, and Nightly 78.0a1 but the same behavior has the Chrome browser, but maybe this could be a nice enhancement.

Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Editor
Ever confirmed: true
Product: Firefox → Core

Because this bug's Severity is normal and has not been changed, and this bug's priority is -- (none,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --

I can't reproduce this. Control+Z does restore what you typed in the respective tab's web content, not my current clipboard content.

This is what I did:

  1. Duplicate this tab, I mean the tab with this Bugzilla page
  2. Type something in the first tab's "Add Comment" box
  3. Type some other thing in the second tab's same box
  4. Cut the text you typed in the first tab by Control+X
  5. Cut the text you typed in the second tab by Control+X
  6. Undo in the first tab by Control+Z
  7. Undo in the second tab by Control+Z

Result: You get what you typed in the respective tab.

Do any of you see what I missed?

Flags: needinfo?(rpopovici)
Flags: needinfo?(nikotxpk)
Severity: -- → S3
Flags: needinfo?(rpopovici)

Hi,
I verified again this issue on Win 10 with Nightly 78.0a1 and I still reproduce it.
You can try the following steps:

  1. Launch Firefox with new profile
  2. Type „google” in address bar(URL bar)
  3. Open a new tab and type „youtube” in address bar(URL bar)
  4. Go to the first tab and select „google” and press CTRL+ X
  5. Go to the second tab and select „youtube” and press CTRL+ X
  6. In the first tab, address bar(URL bar), press Ctrl+Z ---------Actual result: You will see that only the second value(„youtube”) from the second tab appear on paste. In this case the first value(„google”) of the first tab is lost
  7. In the second tab, address bar(URL bar), press Ctrl+Z ---------Actual result: You will see that only the second value(„youtube”) from the second tab appear on paste.

Expected result:
Restore their respective value for every tab.

I really hope this will help you to reproduce it.

Flags: needinfo?(krosylight)

Okay, so it's about the address bar. In that case I'll change the component.

Component: DOM: Editor → Address Bar
Flags: needinfo?(krosylight)
Product: Core → Firefox
Flags: needinfo?(nikotxpk)

So, the fact is that the urlbar input field is the same for every tab, so undo history is common, not per tab. This is asking to make it per tab, so it's an enhancement.

Type: defect → enhancement
Priority: -- → P5
Severity: S3 → S4
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.