Writer- Top menu bar problem -closes the program

I have an annoying problem in Writer. Clicking the top menu (File, Edit, etc.) closesim mediately the program. This happens in both standard and safe mode. Disabling/enablng graphics acceleration doesn’t help. This happens on different computers. It may be related to the fact that I upgraded Java to version 21 (I had to). Has anyone encountered this problem?
The rest of the LibreOffice package (i.e.spreedsheet) works Ok.
I tested from version 24.6 to 26.8 on Windows 10 and Windows 11 on different computers.

From 26.2 Enable Skia is mandatory, see Release Notes 26.2#Graphics.
Make sure that in Tools > Options (Alt+F12) > LibreOffice > View that Force Skia software rendering is ticked. If it isn’t, then tick it, OK, and allow LibreOffice to restart. If it is already ticked, do not untick it.
.
You may see if that fixes the 24.6 version too.

1 Like

Heh, would be interesting to see which version was that.

Checking or unchecking Skia software rendering does not solved my problem.
I dont understend why only in the writer, upper menu bar behaves so strangely.

If different versions of LibreOffice crash on different computers, then you should look for a common denominator.

Maybe your anti virus is causing the issue, try adding LibreOffice or soffice.bin to its Allowed list. You might need to add soffice.bin for each different version.

The only common denominator on the computers is Java version 21, and I suspect that’s it. I don’t think this problem existed before the Java update.
The problem is only in writer, the antivirus program would also run other programs, for example calc, but others work OK.
Does anyone have Libreoffice on Windows with Java version 21 installed and Writer works fine?

Java isn’t used in Writer except for Report Writer and maybe mail merge. I switched to Eclipse JRE a while back so cannot test, see Install Java. Maybe you have installed an extension that uses Java?
.
Try disabling extensions: Click *Help > Restart in Safe Mode. In the dialogue that opens, click Configure then Disable all user extensions. Click the button Apply changes and restart.
Does Writer work OK? If it does, then restart LibreOffice to allow extensions to run again. Click Tools > Extensions and check disabling extensions one-by-one until you identify the culprit.

1 Like

Do you use Java in LibreOffice? In any case, try to disable Java in LibreOffice (in OptionsAdvanced), and see if that helps. If it does not, then it’s unlikely that Java (and its upgrade) is the cause. If it does, than maybe the reason is not Java itself, but an extension that is installed in your LibreOffice, that uses Java, and that has a bug exposed with Java upgrade - and then you should file a bug to that extension?

But you wrote that safe mode doesn’t help; and in safe mode, extensions shouldn’t be active…

Hi Mike,
Thanks for the tip. It works ! Finally, it’s not kicking me out.
I had Java enabled as Eclpse Adoptium 21.0.8.
I unchecked it as you suggested, and it worked :slight_smile:
I installed LibreOffice as standard and didn’t enable anything, so Java is enabled by default in Writer.
Thanks a lot for your help.