[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 steve changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=62 ||196 -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 V Stuart Foote changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=13 ||6762 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 Mike Kaganski changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=14 ||0813 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #97 from Mike Kaganski --- (In reply to Apt from comment #92) > I tested it in the most recent development build of 7.1.3 and ran into the > same issue within the first several tries: I could copy from Notepad and > LO's own clipboard would be empty. I was able to reproduce this locally; and turned out that this was fixed by tdf#140813 on master. I have backported the fix to 7-1 branch now, so hopefully a 7-1 release (7.1.3?) will get the fix, too. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #96 from Apt --- So far I can't replicate it in 7.2. Hopefully it stays that way! Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: d97528da0c70c43fccd3239cbe8e064c3480bba8 CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #95 from Apt --- 1) Writer. 2) Windows 10 clipboard history has been off. 3) Besides LO Writer, basically just Chrome, Notepad, and Windows Explorer. Some background ones include Dropbox, "Logitech Gaming Software", "Radeon Settings". Still testing with LO Dev 7.1.3. After restarting the computer today, I tried replicating the issue and couldn't. But I successfully replicating again while I had Chrome open. Restarted the computer one more time and tried replicating again. Got it to happen again. This time Chrome was not open when the issue occurred. I still have yet to test with 7.2, but I'll do that soon. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #94 from Telesto --- (In reply to Apt from comment #92) > I tested it in the most recent development build of 7.1.3 and ran into the > same issue within the first several tries: I could copy from Notepad and > LO's own clipboard would be empty. I will try it with 7.2 since jasonkres > says it was working correctly on that version. > > Version: 7.1.3.0.0+ (x64) / LibreOffice Community > Build ID: e83670cfb0184aa6719df15546bbd909554491d2 > CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: > win > Locale: en-US (en_US); UI: en-US > Calc: CL To get few things straight: 1) are we talking about Writer or Calc? 2) Is this with or without Windows 10 "clipboard history" turned on? If enabled, what happens if you disable it? 3) If step 2 doesn't deliver: Which application are running in the background? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #93 from Mike Kaganski --- (In reply to Apt from comment #92) > I tested it in the most recent development build of 7.1.3 and ran into the > same issue within the first several tries: I could copy from Notepad and > LO's own clipboard would be empty. Hmm, this is unexpected. The commit mentioned in comment 89 should fix that in 7.1 branch since 7.1.2, and that commit is in the version you used ( see log at https://git.libreoffice.org/core/+log/e83670cfb0184aa6719df15546bbd909554491d2/ ). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #92 from Apt --- I tested it in the most recent development build of 7.1.3 and ran into the same issue within the first several tries: I could copy from Notepad and LO's own clipboard would be empty. I will try it with 7.2 since jasonkres says it was working correctly on that version. Version: 7.1.3.0.0+ (x64) / LibreOffice Community Build ID: e83670cfb0184aa6719df15546bbd909554491d2 CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #91 from Mike Kaganski --- (In reply to jasonkres from comment #90) Thank you! The fix is implementing *your* strategy. You are mentioned as co-author there (hope that's OK). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #90 from jasonkres --- I've verified that the fix corrects the issue (using Comment 78 procedure). Thank you so much Mike! Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: fbaea1013cc5781805254edc8830c1e46f46bd72 CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #89 from Commit Notification --- Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/316bed19cdccde05eba5f6098d301f032df2 tdf#116983 tdf#136175: retry if failed It will be available in 7.1.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 Commit Notification changed: What|Removed |Added Whiteboard|target:7.2.0|target:7.2.0 target:7.1.2 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #88 from Mike Kaganski --- (In reply to steve from comment #86) > Please test windows master build: > https://dev-builds.libreoffice.org/daily/master/current.html ... but only when it's updated to a point after the commit, i.e. after 2021-03-03 10:30:53 UTC. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #87 from steve --- Correct reference to Mike's comment: https://bugs.documentfoundation.org//show_bug.cgi?id=136175#c4 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 steve changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #86 from steve --- Thanks Mike. As per https://bugs.documentfoundation.org//show_bug.cgi?id=116983 "best would be to close also that one, and in case when another problem appears, just have a new clean issue" Please test windows master build: https://dev-builds.libreoffice.org/daily/master/current.html For remaining problems please file a new bug. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #85 from Commit Notification --- Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cf1c835e8016f8f1eefea6d625a913c0ac343a63 tdf#116983 tdf#136175: retry if failed It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 Commit Notification changed: What|Removed |Added Whiteboard||target:7.2.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #84 from jasonkres --- (In reply to Telesto from comment #83) The problem remains in: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 62dff2844b0bf1d1bcb8eb4d6db529ef4a31bee4 CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL As tested using the procedure in comment 78 while the comment 81 attachment 169641 program is running at the same time. Note the problem also reproduces on my particular system as before, even without using that test program to aggravate it further. Other programs are allowed to briefly lock the clipboard. When any of the following Windows APIs give a failure code it has to retry several times in a blocking loop (Microsoft code that I referenced in comment 81 does 10 additional retries with 100ms between each try) or kick off a retry timer to do the retries. LO doesn't do that, so its clipboard code is just not correct and robust. (Dumb Windows design, but it is what it is... probably because the design originated in the cooperative multitasking days when the current task would not normally be switched while it is between the OpenClipboard and CloseClipboard calls.) OpenClipboard OleGetClipboard OleSetClipboard OleFlushClipboard (not guaranteeing this is the complete list...) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #83 from Telesto --- (In reply to b. from comment #82) Fingers crossed that this fix might - even by incident - fixes the issue here: https://gerrit.libreoffice.org/c/core/+/109829 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #82 from b. --- hurray ... !!! this sounds as if after 10 years less 13 days (35499 is the oldest related bug i noted yet) and 61 bugs (i noted yet) someone spoke who knows what he's talking about, @jasonkres: pls. mail me your bank account - !in private! - and be sure to get a 500 bucks price / reward / donation once this problem is solved, @anydeveloper: do the same and get the same once you are the first to provide a working solution, (conditions for developers: the price is paid only once, voluntarily, according to my decision and under exclusion of legal recourse, the solution must be comprehensive and prove itself for 3 months, it must be clearly defined and clearly and comprehensively commented so that it can also be understood by 'half laymen', it must be 'smart' and avoid brutal action as described under 'race conditions'.) special thing i see in the man (or woman?) who spoke: 'not afraid to dive into M$ stuff!', 'race condition' sounds as such might lead to actions like users of a SBS with limited access slots reserving them in the morning and thus blocking others, or like 'if we don't get a response we just knock more often' and if more users do that the system breaks down, imho LO shouldn't act that way, CSMA/CD - https://en.wikipedia.org/wiki/Carrier-sense_multiple_access_with_collision_detection - (in the old days when we did ethernet with antenna cable) was a smart way to deal with such problems ...? happy to see hope ... :-) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #81 from jasonkres --- Created attachment 169641 --> https://bugs.documentfoundation.org/attachment.cgi?id=169641=edit ClipboardTest.cpp code that provokes the problem This is happening because only one application can be within OpenClipboard/CloseClipboard at the same time. LO calls OleGetClipboard which uses OpenClipboard/CloseClipboard internally. Per https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-openclipboard "OpenClipboard fails if another window has the clipboard open." This can probably happen easily as various applications receiving the WM_CLIPBOARDUPDATE notification each try to examine the clipboard simultaneously. This seems to explain why Ctrl+V usually works even when the toolbar/context menu is grayed out. It possibly explains why there are times, although infrequently, when even Ctrl+V does not work. For an example of a workaround implemented by Microsoft, see this code which synchronously retries 10 times with a delay of 100 ms between each attempt. (See https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs) Note that reading the clipboard is not the only susceptible operation; others that LO calls (OleSetClipboard, OleFlushClipboard) can fail too. This coincidental timing sounds less likely, but apparently there are apps that can provoke errors on setting the clipboard too. Sounds like one of them is Windows's Remote Desktop clipboard support, so those may be important to fix as well. Some of the references given below cover this. * Doesn't happen on your system (using my repro procedure from comment 78)? Use the attached ClipboardTest.cpp program. It contains a Sleep(500) during OpenClipboard/CloseClipboard which should be more than enough to provoke the problem. The problem often happens for me even with this sleep is omitted. * Happens on your system? If you use the attached program with the Sleep(500) commented out, it will often print the hwnd of the program causing the problem on your system. Info from others: https://blog.somewhatabstract.com/2012/06/27/when-the-clipboard-says-no/ https://stackoverflow.com/questions/1859102/how-can-i-fix-cannot-open-clipboard-access-denied-errors https://stackoverflow.com/questions/68666/clipbrd-e-cant-open-error-when-setting-the-clipboard-from-net https://bugreports.qt.io/browse/QTBUG-27097 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 --- Comment #80 from Timur --- *** Bug 136631 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 116983] Paste is sometimes deactivated in (context) menu even though text is copied to clipboard and CTRL+V functioning (steps: Comment 0 and Comment 13 and Comment 28 and Comm
https://bugs.documentfoundation.org/show_bug.cgi?id=116983 Timur changed: What|Removed |Added Severity|normal |major Summary|Paste is sometimes |Paste is sometimes |deactivated in (context)|deactivated in (context) |menu even though text is|menu even though text is |copied to clipboard and |copied to clipboard and |CTRL+V functioning (steps: |CTRL+V functioning (steps: |Comment 0 and Comment 13|Comment 0 and Comment 13 |and Comment 28) |and Comment 28 and Comment ||78) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs