Open Bug 629788 Opened 13 years ago Updated 2 years ago

Cannot type in a Google Docs document in a Thunderbird tab

Categories

(Thunderbird :: Toolbars and Tabs, defect)

x86
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: chris, Unassigned)

References

()

Details

(Whiteboard: [needs debug per comment 8])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

When editing a Google Docs document in a Mozilla Thunderbird tab the keyboard does not work. The cursor flashes and text (on an existing document) can be highlighted. Keyboard entry is completely broken. The issue affects the newest version of the Google Docs editor and DOES NOT affect the old version. Th old version was recently discontinued by Google so there is no workaround to this issue.

Reproducible: Always

Steps to Reproduce:
1. Open Thunderbird
2. Install an add-on to load Google Docs in a tab (such as as G-Hub Lite)
3. Open a Google Document
4. Attempt to type in the document
Actual Results:  
I was unable to type in the document.

Expected Results:  
I expected to be able to type in the document.
Since this is a problem with an extension, I'd usually close this bug "invalid" (i.e., not a Thunderbird bug but a 3rd-party issue) and refer you to the author
of the add-on. Judging from https://addons.mozilla.org/thunderbird/addon/59195
it appears though that you are the author of that add-on yourself, correct?

In that case, you'll need to be more specific which parts of Thunderbird or the editor (assuming that you refer to the editor library provided by Mozilla Core) you are using for your add-on, and where you suspect the error(s).
Is it a particular type of google document that can't be edited? I had a play around and only found one document that I couldn't edit for some reason.
It is only a Document, and only a document that was created in the Google Docs editor (all new documents. Google recently remove the option to create documents using the old editor).

Presentations, Spreadsheets, Forms, and Drawing all work properly. It is ONLY documents that do not function properly.
(In reply to comment #3)
> It is only a Document, and only a document that was created in the Google Docs
> editor (all new documents. Google recently remove the option to create
> documents using the old editor).
> 
> Presentations, Spreadsheets, Forms, and Drawing all work properly. It is ONLY
> documents that do not function properly.

Should have read "and only a document that was created in the NEW Google Docs Editor". Documents created in the old editor are editable and work fine. This is because documents created in the old editor continue to load in the old editor (for now anyways).
I'm still missing the point how a change in the Google Docs editor relates to Thunderbird; which Mozilla-based component are you talking about?
(In reply to comment #5)
> I'm still missing the point how a change in the Google Docs editor relates to
> Thunderbird; which Mozilla-based component are you talking about?

The add-on opens Google documents in a content tab. At that point you're browsing in a very similar way, but not quite the same as Firefox.

Assuming that the Google Docs can be edited correctly with Firefox, then in theory there shouldn't be any difference with Thunderbird.

However, it appears there is a difference with Thunderbird, which we'll need to track down.
Ok, thanks. Maybe cc Ehsan for Core/Editor dependencies?
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is almost certainly some editor binding missing from Thunderbird.  Since this bug is not even present in the core thunderbird, I'm afraid I can't devote any time in debugging this.

But if somebody is willing to debug this, they can start by setting a breakpoint on nsHTMLEditorEventListener::KeyPress, see if that breakpoint is hit when typing into that google document, and stepping through code to see what's failing if the breakpoint is hit.

If somebody comes up with the result of this, I can probably help them with a patch or something!
Keywords: qawanted
Whiteboard: [needs debug per comment 8]
Keywords: qawanted
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.