Repository navigation
Fix #467: Paste as HTML collapses white spaces - #469
Conversation
|
Note: this depends on eclipse-jdt/eclipse.jdt.ui#320, otherwise copying code from the editor will not store HTML in clipboard. Note: I know this is late. But copy HTML to clipboard did not exist before 2022-12, it is a new feature. You can see screenshots for all the tests. No case got worse, in most cases things improved, and in some cases they stayed the same. I am preparing a summary of what cases where fixed and what cases were not. |
Legend for the issues I tried to fix:
Legend for results:
|
|
Note: LibreOfficeWriter is same for me as without the patch (no indentation), also looking on your screenshots I don't see any improvement. |
Yes, this is also what I see. This is why the summary says "same (bad)" in the first 2 columns. My theory (right now) is that the LibreOffice support for HTML clipboard is poor. But even without LibreOffice, I home that the improvements are worth landing? |
|
I've checked LibreOffice with Java code copy-pasted from Chrome and Firefox from 3 different websites that had Java code with syntax highlighting, from Google Docs, Google Slides, GMail. And to summarize: no HTML pasting worked when pasting in Impress, no matter where it came from. Didn't even preserve colors or fonts. Copy from Writer, paste to Impress
Copy from Impress
So there is no way to test HTML. TLDR: looks like the HTML clipboard support is relatively poor in LibreOffice. I also realized that my argument above about "a lot of cells saying better" is not necessarily fair. I didn't test all of them to make a point against LibreOffice, but to make sure they work. |
|
This change seems quite good. Please add a commit that increases version by +0.0.1 and we'll try to have it merged early after 4.26 is released. |
|
Thank you. Is there a place where I can read about what goes in each Eclipse stage (Mx, RCx)? Anyway, would be good if I can get familiar with the rules, so that I don't waste people time asking for reviews on issues that don't have a chance to make it. Especially at the time when everybody is busy with the last weeks before the release. Thank you very much, |
|
Thanks, It still does not clarify much, as "project lead or PMC vote on the bug report" explains the process, but not the rules. But I know a bit more than before :-) Thank you! |
|
Usually in RC phases, only the regressions compared to latest releases are considered as important enough. |
|
Got you! Thanks! |
|
Thank you! |
Tested on Win 11, MacOS Ventura 13.0.1, Debian 10.
Tested Gmail, Google Docs, Google Slides:
Tested platform native apps:
Screenshots for everything here: https://mihai-nita.net/eclipse_swt_467/