Closed
Bug 418114
Opened 17 years ago
Closed 15 years ago
removeChild() breaks copy function (due to removing the element with focus?)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: edsfamily, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2010-07-30])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
I was working on a dhtml application and was working with removeChild and copying/pasting. I noticed that this broke after the first time I hit the remove button. This was in a table (removing a row) - I did an example using divs with the same result. (as seen in the provided URL)
Reproducible: Always
Steps to Reproduce:
1. Copy something on the provided page (highlight and ctrl-C)
2. Paste somewhere else
3. Click one of the "Remove" buttons
4. Highlight something else and copy again
5. Paste again - notice, it's the same as what was in step 1.
Also, I noticed that when you right click on the selection, the copy function is greyed out.
Actual Results:
Copy function no longer worked until reloading the page
Expected Results:
It should have copied the highlighted text as expected.
I'm using the default theme, with no plugins enabled. I had to move my work to, gasp! IE to continue working on this project :( (where this works just fine)
Comment 1•17 years ago
|
||
I can reproduce the bug on Mac trunk. I noticed that after clicking one of the buttons, if I click away before hitting Cmd+A, Cmd+C (select all, copy), copying succeeds.
I suspect the problem is that mousedown on the button focuses the button, which means that a complete click on the button removes the element with focus. We've had many bugs where things get confused if the element with focus is removed from the document.
Summary: removeChild() breaks copy function → removeChild() breaks copy function (due to removing the element with focus?)
Comment 2•15 years ago
|
||
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
Comment 3•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•