LibreOffice v25.2.0.3 64Bit hangs every time when doing a Cut-n-Paste

I was using LibreOffice v24.x without issues.
I installed v25.2.0.3 with the Help pack this morning.
If I start with a new spreadsheet and type in any cell and then try to copy/paste that info into another cell, Calc hangs.
I used:
a) Safe-mode and disabled all user extensions and hardware extensions → same issue
(as far as I am aware I had none installed but I tried this anyways)
b) Safe-mode to Reset to Factory Settings (settings + user profile) → same issue
(as far as I am aware I was using all factory default settings but I tried this anyways)
I redownloaded the binaries and did an Install-Repair → same issue
I retried (a) + (b) after the Install-Repair → same issue

Can someone please help me figure out the cause of this issue ?
Thanks you…

Please check which applications run in the background. Last time I fixed an issue related to clipboard (tdf#148647), it was about an application (MP3Studio YouTube Downloader) that unexpectedly turned out to be a clipboard listener (and had a bug, that resulted in our code misbehaving).

I exited out of all Apps…no luck, but you may be onto something.
I just used Windows Sandbox and installed LibreOffice v25.2.0.3 and Cut-n-Paste worked.
It must be something in my main Win11 Pro v23H2 environment that is the issue.
I tried booting into Win11 Safe Mode with/without Networking and Calc stills hangs when I try a Cut-n-Paste.

Two other things to check:

  1. SystemClipboard in Windows settings. Check if disabling Clipboard history makes a difference (and you may play with other settings there).
  2. Try to define an environment variable SAL_ACCESSIBILITY_ENABLED=0, to check if that’s our accessibility code misbehaving. It got auto-enabled ~recently, and I had some odd things with it. LibreOffice must start only after the setting is defined, to use it.

You may also produce a minidump of the hung soffice.bin, and attach it to a bug report.

1 - Clipboard history was disabled previously
2 - I added the ENV variable then started LibreOffice → same issue
3 - I produced a minidump and tdf#165131 has been submitted.

Thanks for your help on this.

Unfortunately, that’s not a minidump in the bug report, but just a summary.

However, it shows, that the problem is in accessibility code; so I suspect, that the experiment with SAL_ACCESSIBILITY_ENABLED was done incorrectly (could you have launched LibreOffice before setting the variable? maybe you use quicklauncher?)

Could you please:

  1. Make sure that soffice.bin doesn’t run (check Process Monitor);
  2. Launch cmd.exe;
    in the command prompt, type set SAL_ACCESSIBILITY_ENABLED=0Enter;
  3. In the same command prompt, type "C:\Program Files\LibreOffice\program\soffice"Enter (the quotes are important)

I uploaded the mini-dump file as well now in case that helps.

I previously set the ENV variable previously by:

Menu->Control Panel->System->Advanced System Settings->ENV Variables

Then I started LibreOffice and did the Cut-N-Paste and Calc hanged.

I ran through the new steps you sent me: (soffice.bin not running,
launch CMD, set variable and then run office in same window)

That WORKED!

I then removed the ENV variable from the Advanced System Settings and
reran the same test in the same CMD window and it still WORKED!

BUT if I start LibreOffice from my Win11 menu it still hangs. It doesn’t
pickup the ENV variable setting.

P.S. Your instructions are excellent…especially about using the “”
since there is a “space” in the pathname…

I think that setting the env var in the advanced system settings, and then rebooting, might work.

Having the same problem, and followed the steps here (cmd.exe, set SAL_ACCESSIBILITY_ENABLED to 0, run from command prompt). Cut / Paste now works as expected.

I’m guessing this will be addressed in a future update - in the meantime, is there a way to set this variable for the system so i can run from a shortcut (rather than needing to open a command prompt each time)?

Control panel->System->Advanced Settings then add the new setting and set the variable. Then reboot to enable.

Perfect - thanks so much for your quick help. (I was getting ready to set this up in a batch file, but your instructions are far more elegant.)