Bug 1554489 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Vipul from comment #3)
> (In reply to Mirko Brodesser (PTO until 5th of August) from comment #2)
> > Can confirm the behavior for current Firefox Nightly.
> > 
> > The difference in behavior is new to me. But as I've just started getting familiar with serialization recently, I can't exclude this is a known problem.
> > 
> > Note that when manually selecting and copy-pasting the text, the endline characters are kept.
> 
> No, its not. Manually selecting and copy-pasting the text don't work.
On Ubuntu 18.04 with current Nightly, this works. The copied text is the following:
```
#!/usr/bin/env python3

def copy():
    print("This is a bug")
    print("Can't copy text from editor as it is")

copy()

void copy(){
    printf("This is a bug");
    printf("...");
}
```
Which OS are you using?

> 
> > It needs to be further analyzed, what exactly happens when the "Copy source to clipboard" button is clicked.
(In reply to Vipul from comment #3)
> (In reply to Mirko Brodesser (PTO until 5th of August) from comment #2)
> > Can confirm the behavior for current Firefox Nightly.
> > 
> > The difference in behavior is new to me. But as I've just started getting familiar with serialization recently, I can't exclude this is a known problem.
> > 
> > Note that when manually selecting and copy-pasting the text, the endline characters are kept.
> 
> No, its not. Manually selecting and copy-pasting the text don't work.

On Ubuntu 18.04 with current Nightly, this works. The copied text is the following:
```
#!/usr/bin/env python3

def copy():
    print("This is a bug")
    print("Can't copy text from editor as it is")

copy()

void copy(){
    printf("This is a bug");
    printf("...");
}
```
Which OS are you using?

> 
> > It needs to be further analyzed, what exactly happens when the "Copy source to clipboard" button is clicked.

Back to Bug 1554489 Comment 4