Bug 19624 - docs.google.com is very confused by copy/paste in Safari 4dp
Summary: docs.google.com is very confused by copy/paste in Safari 4dp
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoogleBug
Depends on:
Blocks:
 
Reported: 2008-06-17 16:27 PDT by Eric Seidel (no email)
Modified: 2011-05-24 22:56 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-06-17 16:27:19 PDT
docs.google.com is very confused by lists

1.  Open a new doc
2.  Type "-test" and hit return
3.  Copy "-test" and paste it on the next line (notice how it has indented this line as though it were a list
3.  Try and paste it above the first "-test".

It seems if your copy buffer has a newline in it, the paste gets *very* confused, and scrolls the document down to the bottom and doesn't actually paste.
Comment 1 Eric Seidel (no email) 2008-06-17 16:29:11 PDT
Wow.  Turns out you don't actually need to do anything resembling a list.  Just type "test" and then copy and paste it a bunch.  Eventually docs.google starts acting very strange.
Comment 2 Justin Garcia 2008-06-17 17:00:23 PDT
(In reply to comment #0)
> docs.google.com is very confused by lists

You say "lists" but you don't mention in your steps to reproduce where you are creating lists.

> 3.  Copy "-test" and paste it on the next line (notice how it has indented this
> line as though it were a list

I can't reproduce this.  Are you copying just "-test" or "-test\n"?  If I copy "-test" plus the line break and then paste it on the second line I get strange behavior, but not what you describe.  When I:

Create a new document
Type "foo"
Press return
Select All
Copy
Paste on the second line

Everything disappears, including the caret.  Can't reproduce in other editors.
Comment 3 Ryosuke Niwa 2011-05-24 22:56:37 PDT
Google Docs no longer uses native editing API so we can't reproduce this bug anymore.