Re: [Geary] paste with formatting not working if copied from Firefox



I see the same thing. It's not the same as 730495, but I suspect it has the same root cause: we're relying on WebKit to handle copy-and-paste operations, and it doesn't always do what we want it to.

During a copy-and-paste operation, the source and sink have to agree on a data format that they both support. I suspect that Firefox and Chrome offer different rich text formats. Since Chrome is related to WebKit, they can agree on a rich text format for the paste. However, Firefox and WebKit can't agree, and so we fall back to plain text.

I'm a bit surprised by this, honestly. I'd have thought that both would just use HTML as their rich text format. I guess that would have been too sensible.

Robert


On Mon, May 25, 2015 at 5:22 AM, Federico Bruni <fede inventati org> wrote:
Hi all

Can anyone confirm this small issue?

Copied from Chrome..

and pasted with right-click:
Bug 714000 - Save remote inline image
and pasted with Shift-Ctrl-V:
Bug 714000 - Save remote inline image

Copied from Firefox (version 38.0.1)...
and pasted with right-click:
Bug 714002 - Save inline image sent via a data: URI

and pasted with Shift-Ctrl-V:
Bug 714002 - Save inline image sent via a data: URI

Now trying in detached window:

Bug 730495 - inline composer: weird behaviour of paste

I don't know if the issue above is related...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]