ardagnir / pterosaur

All firefox text fields are vim.
GNU Affero General Public License v3.0
772 stars 30 forks source link

gmail bug #19

Closed gilesorr closed 9 years ago

gilesorr commented 9 years ago

2014-11-25:
FF v33.0
latest vimbed
latest Pentadactyl nightly build (Pentadactyl's stable build only goes up
to FF v30)
latest Pterosaur
Ubuntu 14.04 "Trusty"

Backspace in gmail editor in insert mode (almost?) always causes cursor to reset to 1,1 position (top left corner of the editor). Not having that problem with the github issue tracker window, although it's driving the load through the roof on an unloaded i7 and it's still extremely laggy.

ardagnir commented 9 years ago

When you press the backspace key in gmail are you getting any errors in the browser console? (view with Control-Shift-J)

gilesorr commented 9 years ago

The critical part - generated on backspace - is the Exception towards the end (this time I was finding that I couldn't backspace to remove a selected block, nothing happened). I thought the rest might be helpful.

This isn't exactly what you asked for as it's not what placed the cursor top-left, but it did generate an error that may point you to the issue. If you need me to do a more exact replication of the initial problem, let me know.

 -----

Date: Wed Nov 26 2014 07:14:03 GMT-0500 (EST) Full Message: Unix error 2 during operation makeDir on file /home/giles/.pentadactyl/info/default (No such file or directory) A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'? See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Date: Wed Nov 26 2014 07:14:04 GMT-0500 (EST) Full Message: Unix error 2 during operation makeDir on file /home/giles/.pentadactyl/info/default (No such file or directory) "vim --servername pterosaur_e80eee1d --remote-expr "Vimbed_UpdateText(1, 1, 1, 1, 0)"" pterosaur.js:747 "vim --servername pterosaur_e80eee1d --remote-expr "Vimbed_UpdateText(31, 1, 31, 1, 0)"" pterosaur.js:747 "vim --servername pterosaur_e80eee1d --remote-expr "Vimbed_UpdateText(23, 1, 23, 1, 0)"" pterosaur.js:747 "vim --servername pterosaur_e80eee1d --remote-expr "Vimbed_UpdateText(22, 86, 23, 1, 0)"" pterosaur.js:747 [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.removeEditActionListener]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://dactyl/bootstrap.jsm -> resource://dactyl/util.jsm :: trapErrors :: line 1654" data: no] util.jsm:1378 trapErrors@resource://dactyl/util.jsm:1654:19 onBlur@resource://dactyl-content/events.js:580:0 wrappedListener@resource://dactyl-content/events.js:225:16 threadYield@resource://dactyl/util.jsm:1546:0 run@resource://dactyl/io.jsm:481:16 system/<@resource://dactyl/io.jsm:554:22 withTempFiles@resource://dactyl/io.jsm:578:22 system@resource://dactyl/io.jsm:516:0 updateTextbox @file:///home/giles/.pentadactyl/plugins/pterosaur/pterosaur.js:749:6 update @file:///home/giles/.pentadactyl/plugins/pterosaur/pterosaur.js:125:8

ardagnir commented 9 years ago

Both the gmail backspace bug and the performance problems should be fixed in the unstable 0.9 branch. Even if they are, I'll be leaving this bug open until 0.9 becomes stable.

ardagnir commented 9 years ago

Pterosaur has been updated to 1.0. This bug should be fixed in master now.