Description: When I intend to paste some text from an external source (for example, a webpage or the WhatsApp app) into a Writer document, LibreOffice creates a new document and the text is pasted there. Steps to Reproduce: 1. From a external source, I select and copy some text. 2. I open LibreOffice and I create a new Writer document. 3. I right-click on the document and I click on 'Paste'. Actual Results: Nothing seems to happen on my current document, but then you notice that another document has been created in the background with the text I've just pasted. Expected Results: I expect the text to be pasted in my current document. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.4.2 (X86_64) Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded
I've just realized that the second Writer document is created not because of the pasting, but because I double-clicked on 'Create Writer Document'. If I simply click, only a document is created. Is this a new behaviour? I think I've always double-clicked in this situation. In any case, this doesn’t explain why the text is pasted not on the current document.
This reminds me of a previous issue that I reported here: https://bugs.documentfoundation.org/show_bug.cgi?id=163280
In LibreOffice 26.02 beta 1, a double-click on 'Create Writer Document' opens only one document as usual, so this issue doesn't happen. Version: 26.2.0.0.beta1 (X86_64) Build ID: 620(Build:0) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded
(In reply to David García from comment #3) > In LibreOffice 26.02 beta 1, a double-click on 'Create Writer Document' > opens only one document as usual, so this issue doesn't happen. > Also on Linux. I think we can close this bug, double click is fixed. Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 7cbc16bf6e115d2aaabe9b9b20edd66a5c597571 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Even if the double click is fixed, this doesn’t explain why the text was pasted not on the current document.
Probably the focus was in the second document. But this situation won't happen anymore, when double click is fixed?
The focus was on the first document: at least, all I could see on my screen was the first document. The second document was behind, and yet, the text was pasted there. Give the fact that, with the double click fixed, there's only one document, there's no chance for this issue to happen again.