Closed
Bug 173818
Opened 23 years ago
Closed 23 years ago
First char typed in reply causes caret to jump a line [can't type in plain text editor when replying or signature present]
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.2beta
People
(Reporter: scottputterman, Assigned: mozeditor)
References
Details
(Keywords: regression, Whiteboard: [adt1])
Attachments
(1 file)
720 bytes,
patch
|
akkzilla
:
review+
kinmoz
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Using 10/10/02 build on XP
1. Reply to a message
2. The caret is in the body. Type 'a'
3. Instead of the letter 'a' appearing, the caret moves down a line and nothing
shows up
We need to fix this for mozilla1.2Beta
Reporter | ||
Comment 1•23 years ago
|
||
reassigning to akkana. It was suggested I should reassign this to the editor
team. If it's a mail bug, please reassign back.
Assignee: ducarroz → akkana
Comment 3•23 years ago
|
||
BTW, I don't see this on linux, but you didn't indicate any of your settings so
there are a lot of variables. Html? Plain? Auto-quote? Reply before or after
quoted text?
Reporter | ||
Comment 4•23 years ago
|
||
HTML, auto quote, reply before. All of the defaults for the Netscape builds :)
Comment 5•23 years ago
|
||
I think reply before was the key -- if I set that, I see this too.
I traced it into InsertElementTxn::DoTransaction, line 116:
result = mParent->InsertBefore(mNode, refNode, getter_AddRefs(resultNode));
and this fails, returning result = 2147500037 = 0x7fffffff.
But gdb isn't letting me step into InsertBefore to find out what type mParent is
or why InsertBefore is failing.
I defer to Joe for now, who knows a lot more about how these routines work.
Joe, any ideas? Feel free to kick it back to me if you think it's something I
did -- maybe the caret is in a weird place? But it looks okay and it's a normal
text-sized caret, not an ubercaret.
Comment 6•23 years ago
|
||
setting as 1.2 beta, since I'm going to ask mozilla.org not to ship 1.2 beta
with this regression.
Keywords: regression
Target Milestone: --- → mozilla1.2beta
Comment 8•23 years ago
|
||
Here's the assertion I get on win32:
###!!! ASSERTION: transaction did not execute properly
: '(NS_SUCCEEDED(result))', file
c:/builds/buffy/mozilla/editor/libeditor/base/nsEditor.cpp, line 540
Comment 9•23 years ago
|
||
My fix for bug 174369 doesn't fix this one.
Comment 11•23 years ago
|
||
It looks like the selection is inside a br when this happens (i.e. when the user
goes to hit the first character). It's not clear how the selection ended up
there. Clicking in the document before typing the character makes the bug
disappear.
Updated•23 years ago
|
OS: Windows XP → All
Hardware: PC → All
Summary: Typing causes caret to jump a line → First char typed in reply causes caret to jump a line
Updated•23 years ago
|
Comment 12•23 years ago
|
||
*** Bug 174773 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
Here's the stack when that selection setting happens:
#0 nsTypedSelection::Collapse (this=0x8b8d8f8, aParentNode=0x8b89238,
aOffset=0) at nsSelection.cpp:6168
#1 0x447cc2f3 in nsHTMLEditor::BeginningOfDocument (this=0x8984c88)
at nsHTMLEditor.cpp:525
#2 0x44992bcd in nsMsgCompose::ConvertAndLoadComposeWindow (this=0x8b65f98,
aPrefix=@0x8be0580, aBuf=@0x8be0570, aSignature=@0x8be0590, aQuoted=1,
aHTMLEditor=1) at nsMsgCompose.cpp:680
That nsHTMLEditor::BeginningOfDocument method is new (jfrancis v. 1.44); prior
to that I think we fell back to nsPlaintextEditor::BeginningOfDocument.
If I insert:
return nsPlaintextEditor::BeginningOfDocument();
at the beginning of nsHTMLEditor::BeginningOfDocument(), then I can type the
first character correctly.
So we need Joe to tell us the appropriate fix for this, or else we need to back
out that routine (or run around it like I did).
Assignee | ||
Comment 14•23 years ago
|
||
possible fix; i am blocked on testing right now by an unrelated prob
Comment 15•23 years ago
|
||
Comment on attachment 103112 [details] [diff] [review]
patch to nsHTMLEditor.cpp
This does indeed fix the problem -- thanks!
I'm not too clear on the address_of thing, but I see that's the pattern already
used elsewhere in this file, so this is nothing new. r=akkana
Attachment #103112 -
Flags: review+
Attachment #103112 -
Flags: superreview+
Comment 16•23 years ago
|
||
Comment on attachment 103112 [details] [diff] [review]
patch to nsHTMLEditor.cpp
sr=kin@netscape.com
Comment 17•23 years ago
|
||
Comment on attachment 103112 [details] [diff] [review]
patch to nsHTMLEditor.cpp
a=asa for checkin to 1.2 (on behalf of drivers)
Attachment #103112 -
Flags: approval+
Assignee | ||
Comment 18•23 years ago
|
||
fix landed on trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 19•23 years ago
|
||
jfrancis: thanks for fixing this for 1.2 beta.
Comment 20•23 years ago
|
||
is http://bugzilla.mozilla.org/show_bug.cgi?id=174342 a dupe of this?
Comment 21•23 years ago
|
||
*** Bug 174342 has been marked as a duplicate of this bug. ***
Comment 22•23 years ago
|
||
I'm seeing this again in Moz 1.2b (Mozilla/5.0 (Windows; U; Windows NT 5.0;
en-US; rv:1.2b) Gecko/20021016). Occurs on both new messages and replys -
tabbing into the compose window, the first character is eaten, and the second
one jumps down a line.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Michael, the fix landed on the 16th (at night, no less), so of course it's not
in the build you referenced:
Mozilla/5.0 (Windows; U; Windows NT 5.0;
en-US; rv:1.2b) Gecko/20021016)
Re-closing
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 24•23 years ago
|
||
*** Bug 174712 has been marked as a duplicate of this bug. ***
Comment 25•23 years ago
|
||
*** Bug 175148 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
*** Bug 175249 has been marked as a duplicate of this bug. ***
Comment 27•23 years ago
|
||
*** Bug 175393 has been marked as a duplicate of this bug. ***
Comment 28•23 years ago
|
||
*** Bug 173769 has been marked as a duplicate of this bug. ***
Comment 29•23 years ago
|
||
*** Bug 175512 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Summary: First char typed in reply causes caret to jump a line → First char typed in reply causes caret to jump a line [can't type in plain text editor when replying or signature present]
Comment 30•23 years ago
|
||
*** Bug 175444 has been marked as a duplicate of this bug. ***
Comment 31•23 years ago
|
||
*** Bug 175473 has been marked as a duplicate of this bug. ***
Comment 32•23 years ago
|
||
*** Bug 175557 has been marked as a duplicate of this bug. ***
Comment 33•23 years ago
|
||
*** Bug 175665 has been marked as a duplicate of this bug. ***
Comment 34•23 years ago
|
||
*** Bug 175654 has been marked as a duplicate of this bug. ***
Comment 35•23 years ago
|
||
*** Bug 175952 has been marked as a duplicate of this bug. ***
Comment 36•23 years ago
|
||
*** Bug 176033 has been marked as a duplicate of this bug. ***
Comment 37•23 years ago
|
||
*** Bug 176021 has been marked as a duplicate of this bug. ***
Comment 38•23 years ago
|
||
*** Bug 174998 has been marked as a duplicate of this bug. ***
Comment 39•23 years ago
|
||
*** Bug 176039 has been marked as a duplicate of this bug. ***
Comment 40•23 years ago
|
||
*** Bug 176136 has been marked as a duplicate of this bug. ***
Comment 41•23 years ago
|
||
*** Bug 176223 has been marked as a duplicate of this bug. ***
Comment 42•23 years ago
|
||
Confirmed I saw the orininally stated problem with a 10-16 trunk build on linux
and winxp. I also saw the problem when clicking Reply when in a plain text
compose window the text did not display when user started typing. Verified
these are both fixed with a 10-17 trunk build and a a 10-22 branch build even
though this was not mentioned that it was checked into the branch. I will check
though the scenarios in the dups to see if they are similar to the two mentioned
above.
Status: RESOLVED → VERIFIED
Comment 43•23 years ago
|
||
OK, another dup bug 175665 mentions New Msg window with a plain text signature
has the problem. This was the missing criteria to see the problem in a New Msg
window, I did see this and it is fixed too.
Comment 44•23 years ago
|
||
It's NOT fixed, as it's still happing with build 2002101612. It's still happening...
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 45•23 years ago
|
||
chris, see comment 23.
Re-resolving.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 47•23 years ago
|
||
*** Bug 176562 has been marked as a duplicate of this bug. ***
Comment 48•23 years ago
|
||
*** Bug 177073 has been marked as a duplicate of this bug. ***
Comment 49•23 years ago
|
||
*** Bug 177169 has been marked as a duplicate of this bug. ***
Comment 50•23 years ago
|
||
*** Bug 176719 has been marked as a duplicate of this bug. ***
Comment 51•23 years ago
|
||
*** Bug 177108 has been marked as a duplicate of this bug. ***
Comment 52•23 years ago
|
||
*** Bug 177231 has been marked as a duplicate of this bug. ***
Comment 53•23 years ago
|
||
*** Bug 177295 has been marked as a duplicate of this bug. ***
Comment 54•23 years ago
|
||
How do I get myself off this distribution list? I am not a programmer and I get
5-10 of these a day.
Please help...
Comment 55•23 years ago
|
||
*** Bug 177327 has been marked as a duplicate of this bug. ***
Comment 56•23 years ago
|
||
OK. How do I update my version to the new "trunk??" build??? I am seeing this
cpp and guessing it is a C-plusplus file which indicates to me that I would have
to compile to check?
Let me know if there is a way I can check the latest build. I do not mind being
on the "bleeding" edge and testing. In fact, I want to do more.
Thanx,
Jim
jim@leaders.net
Comment 57•23 years ago
|
||
I'm seeing similar in Mozilla 1.2b. I have the original message after my reply,
compose in plain text. When i click Reply or Forward and tab into the message
body, my cursor sits there and flashes, but does not move or do anything as I
type text. I need to actually *click* in the message body before it begins
accepting keyboard input as normal.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 58•23 years ago
|
||
I'm on Windows 2k.
Comment 59•23 years ago
|
||
I've just checked with the latest nightly build (2002102908) and I no longer
experience the bug.
Comment 60•23 years ago
|
||
Jase Roberts: that you see it in 1.2b is because it was fixed _after_ 1.2b.
Reresolving again. See comment 23. (Which was mentioned before.)
Jim Garner: You can download nightly builds of Mozilla (in which this bug is
fixed) from ftp://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk/
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 61•23 years ago
|
||
re-verifying.
Additionally, jim garner: if you want to help out with testing mozilla, this
page serves as a good starting point: http://www.mozilla.org/quality/help/
Status: RESOLVED → VERIFIED
Comment 62•23 years ago
|
||
*** Bug 177754 has been marked as a duplicate of this bug. ***
Comment 63•23 years ago
|
||
*** Bug 177575 has been marked as a duplicate of this bug. ***
Comment 64•23 years ago
|
||
*** Bug 178176 has been marked as a duplicate of this bug. ***
Comment 65•23 years ago
|
||
*** Bug 178231 has been marked as a duplicate of this bug. ***
Comment 66•23 years ago
|
||
Is this related to Bug 82534 (the current most popular)?
Comment 67•23 years ago
|
||
*** Bug 178320 has been marked as a duplicate of this bug. ***
Comment 68•23 years ago
|
||
*** Bug 175935 has been marked as a duplicate of this bug. ***
Comment 69•23 years ago
|
||
*** Bug 178356 has been marked as a duplicate of this bug. ***
Comment 70•23 years ago
|
||
*** Bug 178496 has been marked as a duplicate of this bug. ***
Comment 71•23 years ago
|
||
*** Bug 178505 has been marked as a duplicate of this bug. ***
Comment 72•23 years ago
|
||
do you can investigated if this bug
http://bugzilla.mozilla.org/show_bug.cgi?id=178537 have a relation?
![]() |
||
Comment 73•23 years ago
|
||
*** Bug 178581 has been marked as a duplicate of this bug. ***
Comment 74•23 years ago
|
||
*** Bug 178586 has been marked as a duplicate of this bug. ***
Comment 75•23 years ago
|
||
*** Bug 178712 has been marked as a duplicate of this bug. ***
Comment 76•23 years ago
|
||
*** Bug 178914 has been marked as a duplicate of this bug. ***
Comment 77•23 years ago
|
||
*** Bug 177472 has been marked as a duplicate of this bug. ***
Comment 78•23 years ago
|
||
*** Bug 179640 has been marked as a duplicate of this bug. ***
Comment 79•23 years ago
|
||
*** Bug 179216 has been marked as a duplicate of this bug. ***
Comment 80•23 years ago
|
||
This is still getting a lot of dups. Let's set it Resolved/Fixed rather than
Verified/Fixed so it shows up on the Duplicates list.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 81•23 years ago
|
||
Re-resolving Fixed. Let's leave it unverified until 1.2 ships.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 82•23 years ago
|
||
*** Bug 179811 has been marked as a duplicate of this bug. ***
Comment 83•23 years ago
|
||
*** Bug 180235 has been marked as a duplicate of this bug. ***
Comment 84•23 years ago
|
||
*** Bug 182223 has been marked as a duplicate of this bug. ***
Comment 85•23 years ago
|
||
*** Bug 182361 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•