Created attachment 133349 [details] File with BOM-symbol SUMMARY Global clipboard is not working in files with UTF BOM character STEPS TO REPRODUCE 1. Open attachment file in Kate 2. Select and copy the text 3. Paste it in any external application OBSERVED RESULT Nothing has been pasted EXPECTED RESULT Selected text has to be pasted SOFTWARE/OS VERSIONS Windows: Windows 10 x64 ADDITIONAL INFORMATION The problem is only with UTF encoded files with BOM-character. If I open any other non-Unicode file, I will be anle to copy and paste the text to other application using global (system) clipboard.
Created attachment 133350 [details] ZIP-file with txt example
That seems very strange, given we remove the BOM internally from the text. Could you try with some more recent version, e.g. either the nightly here https://kate-editor.org/get-it/ or the last one from the Windows Store?
(In reply to Christoph Cullmann from comment #2) > That seems very strange, given we remove the BOM internally from the text. > > Could you try with some more recent version, e.g. either the nightly here > > https://kate-editor.org/get-it/ > > or the last one from the Windows Store? kate-21.12.3-1589-windows-msvc2019_64-cl.exe The same - the text cannot be copied to clipboard.
kate-master-1678-windows-msvc2019_64-cl.exe - the text is not copied to clipboard either.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hmm, yes, strange, I can paste again in Kate but not in e.g. Edge.
*** Bug 477449 has been marked as a duplicate of this bug. ***
Still happens, strange...
Hmmm, tried it again, it doesn't happen if the file is proper utf-8, the test file seems to contain invalid characters.
svchost.exe (PID = 4164) identified C:\Windows\system32\rundll32.exe as Unrestricted using path rule, Guid = {791bea38-439d-4a10-add2-e836fd9052be} that contains interleaved bad chars that just break other apps, notepad just filters them out on open, don't think that is better.