Open Bug 1065842 Opened 5 years ago Updated 4 years ago

caret becomes invisible and hangs at it's place when stepping through mathematical formula with arrowright key

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.26 Branch
x86
All
defect
Not set

Tracking

(Not tracked)

People

(Reporter: jgamleus, Unassigned)

References

Details

(Keywords: regressionwindow-wanted, reproducible)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29
Build ID: 20140904220358

Steps to reproduce:

caret disappears in text containing mathematical formulas


Actual results:

in Composer
add the text 'hello'
with Insert, Mathematical formula... insert '\sqrt{x_1}'
add the text 'hoi'
moving the caret over 'hello' in the editor, the caret shows
moving the caret over \sqrt{x_1}, the caret shows
entering the caret in 'hoi', the caret disappears

entering from the other side gives also wrong results




Expected results:

the caret should stay visible when the caret enters the text 'hoi'
Severity: normal → major
Component: General → Composer
Summary: mathematical formula → caret disappears when exiting mathematical formula
Severity: major → normal
Attached file Sample document.html
REPRODUCIBLE with unofficial (from <http://seamonkey.callek.net/contrib/>)  en-US SeaMonkey 2.44a1  Mozilla/5.0 (Windows NT 6.1; x64; rv:47.0)  Gecko/20100101 Firefox/47.0 Build 20160208090255  (Default Classic Theme)  on German WIN7 64bit:

0. download sample document → Launch Composer from Browser via composer icon 
   in Status Bar
1. Menu 'File  → Open →  sample document'
   » caret flashes at the right end of contents
2. Mouxe click into "xxx"
   » caret flashes somewhere in "xxx"
3. [arrowright] on key board several times to move caret to the right
   » every key press moves caret 1 character to the right, also in formula
   Bug: last visible caret position is right from "1", next [arrowright]
        will make caret invisible.
There are some additional strange move-carret-effects, I will do additional research later.

Also REPRODUCIBLE with  English SeaMonkey 2.44a1  (X11; Linux x86_64; rv:47.0)  Gecko/20100101 Firefox/47.0 Build 20160208023510   (Default Theme) on VirtualBox Ubuntu 14.04 LTS
Keywords: reproducible
OS: Windows XP → All
Possibly related:
"Bug 987028 - Cursor keys in not visible inside nsMathMLChar operators"
"Bug 565185 - Caret dissapears in a contenteditable=true div with nested mathml formula in it"
See Also: → 987028, 565185
My test results with older SeaMonkey Versions (WINDOWS) and sample document

a) 2.33.1: Insert Math AVAILABLE. LaTeX formula in sample document 
        shown correctly
        Caret problem DOES EXIST
b) 2.26.1: No Insert Math available. LaTeX formula in sample document 
        shown correctly.
        Caret problem DOES EXIST
c) 2.16: No Insert Math available. LaTeX formula in sample document 
        shown correctly
        No caret problem
d) 2.5:  No Insert Math available. LaTeX formula in sample document 
        shown correctly.
        No caret problem
e)2.0:  No Insert Math available. Latex formula in sample document NOT 
        shown correctly, LaTeX source code shown.
        No caret problem (of course)

f) Conclusion (b,c): Problem appeared somewhen between 2.16 and 2.26.1
g) Conclusion (a,b): Problem is not related to Insert Math Dialog
Version: SeaMonkey 2.29 Branch → SeaMonkey 2.26 Branch
h) also REPRODUCIBLE with TB 47.0a1 (2016-02-09)
i) Caret does ont really vanish, but becomes invisible a it's place:
   In step 3 immediately after the caret becomes invisible type "qwertzuiop" with
   a rightarrow after each charakter.
   source snippet before: 
           <annotation encoding="TeX">\sqrt{x_1}</annotation>
   after:  <annotation encoding="TeX">qwertzuiop\sqrt{x_1}</annotation>

There are lots of similar problems in composer and also in browser with cursor navigation (F7), I haven't a clue how to find the best entrance for fixing this because it's not clear whether thy really have the same roots (Bug 565185 already was in rv:1.9.3a5pre) Gecko/20100511 Minefield/3.7a5pre ...)

NEW for now because other
Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 78128
Summary: caret disappears when exiting mathematical formula → caret becomes invisible and hangs at it's place when stepping through mathematical formula with arrowright key
You need to log in before you can comment on or make changes to this bug.