webodf / WebODF

WebODF - JavaScript Document Engine
http://webodf.org/
786 stars 165 forks source link

Opera compatibility issues #157

Open philipzae opened 10 years ago

philipzae commented 10 years ago

I visited < http://www.webodf.org/demo/ci/webodf-webodf-0.4.2-g0a12b2a70-pr150/editor/localeditor.html > in opera 12.16 (the last version of opera before switching to chromium/blink) and when i click on a line to edit it, i can edit that line, but the cursor appears some 5 to 6 lines below that.

webodf

Text selection wasnt possible as well.

thz commented 10 years ago

is that also the case when not zoomed in our out (right-most control in the toolbar, or browser-zoom)?

philipzae commented 10 years ago

This was with the default zoom that the page loads with. I zoomed the page to the full zoom in the toolbar and the same thing happens.

webodf 2

When testing it out some more, sometimes the cursor appeared above.

webodf 3

thz commented 10 years ago

@philipzae

would you mind testing if caret size is better now in: http://ci.kogmbh.com/deploy/WebODF/webodf-ci-pr155-b161-gfa0cc59b/editor/localeditor.html ? we did not touch the missing selection rectangles yet.

thanks!

philipzae commented 10 years ago

Yes the cursor seems to be appearing correctly now.

While playing with it, i noticed that if the cursor is put in part of a word that is at the end of the line, it will split the word (in the below image, it splits the 'to' word). Found this to happen also in FF 24 but not in Chrome. untitled

Also noticed that by pressing Ctrl+Z (basically undo) or pressing the undo button reloads the page and then starts redoing all the changes (as well as caret location movements) until the last one undo. Not sure if the is the regular behaviour for all browsers, but with Opera, i can see it as if it an animation, and in FF and Chrome, i just see the end result as if it were a screen refresh.

Also noticed that if i press down after placing the caret in the middle of 'What is so exciting about it' line, instead of jumping to the line below (as it does in FF & Chrome), it jumps to the end of the line.

philipzae commented 10 years ago

Did some past browser testing and see that webodf gets rendered in opera 11.60+, though it doesnt function as well in this older version. It would be nice to have a list of minimum supported browser for this project listed somewhere.

philipzae commented 10 years ago

So any updates on this issue. Where can i demo the latest development version of webodf?

adityab commented 10 years ago

Hi @philipzae, you can find the latest build on the WebODF Jenkins service's master branch build list http://ci.kogmbh.com/jenkins/job/WebODF-Master/

At the moment, the latest master build is this http://ci.kogmbh.com/deploy/WebODF/webodf-ci-b134-g2e81cef3/editor/localeditor.html