Closed
Bug 21602
Opened 25 years ago
Closed 25 years ago
[DOGFOOD] ^V in the urlbar pastes twice: key events not cancelled
Categories
(Core :: XUL, defect, P2)
Core
XUL
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: akkzilla, Assigned: saari)
References
Details
(Whiteboard: [PDT+] Checked in more stuff, missed file, think it is really fixed now)
xulkey-v in the url bar pastes twice. The key event is handled through the XUL
inputBindings and editor controller, but then the event isn't cancelled and it's
passed through to the hardwired editor key listeners where it's handled again,
so the user sees two pastes of the same text.
Comment 1•25 years ago
|
||
Doh...I can't reproduce this using this morning's Mac OS build, or yesterday's
Linux build.
I can reproduce it on this morning's Windows build. Akkana, should the 'OS' be
changed to Windows? Do you think this should be an M12 bug?
Reporter | ||
Comment 2•25 years ago
|
||
I saw this on both yesterday's and today's Linux build, too, but only with alt-V
paste, not with middle-mouse paste (it's a key event issue, doesn't happen for
mouse events).
I think it should be an M12 bug. It's a regression and makes paste very hard to
use.
Updated•25 years ago
|
Summary: ^V in the urlbar pastes twice: key events not cancelled → [DOGFOOD] ^V in the urlbar pastes twice: key events not cancelled
Comment 3•25 years ago
|
||
Tossing onto PDT radar to request consideration for M12 (or at least M13).
Updated•25 years ago
|
OS: Linux → All
Hardware: PC → All
Comment 4•25 years ago
|
||
[Changing Platform/OS to 'All'; I'm not seeing this 100% of the time, but it's
also happening on Mac OS.]
Assignee | ||
Comment 6•25 years ago
|
||
Wait a minute, didn't mjudge remove the hardwired ender key event handlers in
the frame?
I'm confused.
Updated•25 years ago
|
Whiteboard: [PDT+] → [PDT+] needs estimated fix date here
Reporter | ||
Comment 7•25 years ago
|
||
These aren't in the frame, they're dom event handlers in
editor/base/nsEditorEventListeners.cpp.
Updated•25 years ago
|
Priority: P3 → P2
Target Milestone: M12
Comment 8•25 years ago
|
||
targetting p2 for m12 (since we don't know when it will close). There is no way
this bug should be marked critical severity, that's for crashes, bad leaks, and
data loss.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [PDT+] needs estimated fix date here → [PDT+] fix in hand, must get review
Assignee | ||
Comment 9•25 years ago
|
||
It helps if ender actually returns the proper event states back out of its
wonderland and if someone actually listens to them before dispatching back into
ender's second listener. (why does ender have two event listeners?)
Need to confer with joki that this is the right fix, but I'm pretty confident in
it.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
Just checked in fix
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 11•25 years ago
|
||
I updated but it still happens. To reproduce:
Start a browser window.
Copy some plaintext in another app.
Slowly (slower than double-click speed), click in the urlbar, in the content
area, in the urlbar, and in the urlbar (somewhere in the middle, not the
beginning or end) to set the focus there.
Type xulkey-V to paste.
Result: the text is pasted twice. One of those times is from
nsEditorEventListeners (I have a printf there in my local tree).
saari has seen this and is hot on the trail.
Comment 12•25 years ago
|
||
Clearing FIXED resolution due to reopen.
Assignee | ||
Updated•25 years ago
|
Whiteboard: [PDT+] fix in hand, must get review → [PDT+] Checked in more stuff, missed file, think it is really fixed now
Assignee | ||
Comment 13•25 years ago
|
||
Akkana, I checked in a fix after I talked to you yesterday, I think it was nsGfxTextControlFrame.cpp but check cvs to make sure. That *should* fix it, I tried the multi-
click dance you showed me and that worked ok. Give it a try.
Comment 14•25 years ago
|
||
final m12 candidates are spinnning now. moving to m13.
if we fall off track and need to respin m12 for some
yet unknown reason we can consider this if you get
a fix in hand.
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Target Milestone: M13 → M12
Comment 15•25 years ago
|
||
control v in the url bar looks like it is working for me (paste only one time)
in the 12/16 win32 build. marking fixed so it will get
some testing. reopen if some one sees a problem.
Comment 16•25 years ago
|
||
Although I defer to Claudius for verification, I can't personally reproduce this
using today's M12 builds on Win32/Linux & Akkana's 1999-12-15 steps to reproduce.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 17•25 years ago
|
||
verified
You need to log in
before you can comment on or make changes to this bug.
Description
•