We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Bug in the LibreOffice graphical interface [closed]

asked 2020-11-14 14:59:58 +0200

Rj.G gravatar image

updated 2021-06-10 11:10:49 +0200

Alex Kemp gravatar image

I recently updated the Lubuntu operating system to version 20.10; it comes with LibreOffice pre-installed. Often - if not always - , whether when creating a new document or editing an existing one, when inserting formulas, when inserting OLE Objetcs, or even when inserting frames, the LibreOffice window becomess unconfigured and makes using the program somewhat impossible; again, it always happens.

Here is some images of the before: C:\fakepath\screen1.jpg

Now, in the formula editor: C:\fakepath\screen2.jpg

After exiting the formula editor, the entire interface is unconfigured: C:\fakepath\screen3.jpg

Even when returning to the program suite's central access, or opening other programs of the suite, the error persists: C:\fakepath\screen4.jpg

The only alternative is to restart the program. Even if you start tn in safe mode, the error continues; in some cases, the error appears as soon as the program is opened. I've already downloaded LibreOffice from the Ubuntu repository, I've downloaded it from the official website, and the same error happens.

Note: in the case of these images, LibreOffice is in the dark theme due to the customization of the operating system, but the error has happened since when I formatted the PC.

In previous versions, this problem did not usually occur; in fact, I don't remember it happening just once. Before, I used Lubuntu 19.10, and LibreOffice, if i remember correctly, was in version 6.X.X. here is the information about the LibreOffice I use:

Version: Build ID: 00(Build:2) CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: qt5+cairo Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.0.2-0ubuntu1 Calc: threaded

In advance, I thank you for your time and reconsideration.

(edited by ajlittoz to make images visible)

(This edit wouldn't have been necessary if you'd added your images with the "slide" tool which is specifically intended for images; the "upload" tool is for sample files -- PLEASE, take a minimum time to hover over the icon to display the tooltips)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2021-06-10 11:12:09.399489


And what is the intention of your post? This sounds like you want to report a bug. If that assumption is true - you are wrong here: Turn to https://bugs.documentfoundation.org/

Opaque gravatar imageOpaque ( 2020-11-14 15:08:21 +0200 )edit

To make sure there is no configuration error (LUbuntu uses the LXQt desktop environment, a descendant of LXDE, based on Qt widgets), start LO from a terminal with command


Does it still occur?

If not, which packages of libreoffice-x11, libreoffice-gtk3, libreoffice-kf5 are installed? Or any other of this kind? Your version tells a VCL for qt5 is active but I doubt LXQt also relies on KDE Plasma framework (because it isn't KDE anyway).

Report using either an edit of your question or a comment. Don't use an answer which is reserved for solutions.

ajlittoz gravatar imageajlittoz ( 2020-11-14 15:41:04 +0200 )edit

If your upgrade in fact was a migration from the old Lubuntu release to a new version (not touching existing user data) it may be worth to reset your LibreOffice user profile, if libreoffice --safe-mode doesn't show the behavior.

Opaque gravatar imageOpaque ( 2020-11-14 16:11:33 +0200 )edit

Well, I have no practice in this type of thing, but I will try to do my best:

Of the LibreOffice packages that have been listed, 15 are installed, including "libreoffice-gtk3", "libreoffice-qt5", and if of interest, "libreoffice-style-breeze" and "libreoffice-style-colibre ";

As for the startup tips, the error disappeared when typing "SAL_USE_VCLPLUGIN = gen soffice" in the terminal; however, typing "libreoffice --safe-mode" in the terminal had no effect;

Rj.G gravatar imageRj.G ( 2020-11-14 16:27:07 +0200 )edit

In fact, I did not upgrade the system: I formatted from scratch, with no relevant changes in relation to the initial settings of the operating system;

Note: I don't know if that English is really right;

Rj.G gravatar imageRj.G ( 2020-11-14 16:32:07 +0200 )edit

In fact, I did not upgrade the system

=> Executing libreoffice --safe-mode was useless at all and that's why my comment begun with If ...

Opaque gravatar imageOpaque ( 2020-11-14 16:44:47 +0200 )edit

Well, whether it works or not I don't know; I have no idea how LO works in its modules and packages. But it is good to know ... in fact, what is safe mode for?

Rj.G gravatar imageRj.G ( 2020-11-14 16:58:45 +0200 )edit

Safe mode allows to start LibreOffice with a temporary and fresh user profile (not using an existing user profile). This way you could make a decision, whether your personal LibreOffice user profile could cause a problem (but since you installed from scratch, you got a new user profile anyway. Hence this test was "useless"). The problem determination procedure is:

  • Test using --safe-mode whether problem is still present or not
  • If it is gone in --safe-mode reset your user profile to factory settings
Opaque gravatar imageOpaque ( 2020-11-14 17:05:21 +0200 )edit

Thanks to your explanation, I think I understood a little better about safe-mode and about desktop-managers; good to know better about how to recognize the types of errors based on the signal they give; in fact, safe-mode would not solve this problem;

Rj.G gravatar imageRj.G ( 2020-11-14 18:40:24 +0200 )edit

3 Answers

Sort by » oldest newest most voted

answered 2020-11-14 18:35:56 +0200

Rj.G gravatar image

@Opaque, @ajlittoz, thank you for your help; based on what was treated, I believe I have found the cause of the error: it was not in the "libreoffice-gtk3" package, but in the "libreoffice-qt5" package; I deleted this last package, and now everything seems to be working normally; nor did you need to change the "exec" command in the .desktop application file to "SAL_USE_VCLPLUGIN = gen soffice% U" or to "SAL_USE_VCLPLUGIN = gen soffice --writer% U".

I will make a record of the bug at the URL they indicated: 'https://bugs.documentfoundation.org/'

edit flag offensive delete link more


Well, I cannot close that question with my own answer; I imagine that another has to do it;

Rj.G gravatar imageRj.G ( 2020-11-14 18:53:52 +0200 )edit

Strange, I would have thought that LXQt would require package libreoffice-qt5. libreoffice-gtk3 is for the GNOME (and derivative) widgets. Unless LUbuntu maintainers customised somehow the desktop manager.

ajlittoz gravatar imageajlittoz ( 2020-11-14 19:07:48 +0200 )edit

In fact, there is some confusion between these conventions and packages .. at least, the problem has been identified (apparently)...

Rj.G gravatar imageRj.G ( 2020-11-14 19:40:42 +0200 )edit

To close with a golden key, I checked LO version - which is on another laptop with Lubuntu 19.10 -, and confirmed that this "libreoffice-qt5" package was not present in that version; on the other hand, the "libreoffice-jdk3" package already accompanied the older version;

Rj.G gravatar imageRj.G ( 2020-11-14 20:05:55 +0200 )edit

"LO-jdk3" is a Java engine needed by some DB-connectors in Base.

This Qt/GTK+ conflict should be reported to LUbuntu maintainers. I don't think LO developers per se can do something. Fill-in a bug report. If the blame should be put on LUbuntu packagers, they will tell and close the bug.

ajlittoz gravatar imageajlittoz ( 2020-11-14 20:29:50 +0200 )edit

I did what I knew how to do; I don't know if it was really appropriate, but I believe I did the right thing to divulge that information. Follow the link to view the record in the Lubuntu community: https://discourse.lubuntu.me/t/bug-in...

Also follow the link to see the record in the documentfoundation: https://bugs.documentfoundation.org/s...

Rj.G gravatar imageRj.G ( 2020-11-14 23:09:17 +0200 )edit

I had a look at the reports. A point which might be important: you quoted the version information AFTER the fix. VCL= displays gtk3 whereas initially (with the issue) it was qt5 which ringed bells in my head. Developers may not be able to reproduce the problem with gtk3 which IMO is the base widget library used to develop LO, i.e. the most checked, debugged and observed interface, in other words deemed reliable.

You should add a remark about it.

ajlittoz gravatar imageajlittoz ( 2020-11-15 07:55:56 +0200 )edit

answered 2020-11-14 17:05:00 +0200

ajlittoz gravatar image

updated 2020-11-14 17:05:57 +0200

It appears there is some sort of incompatibility between the widgets used by the desktop manager (LXQt) and those commanded by LO.

I am not familiar with LXQt and don't know if they are pure Qt widgets or more elaborate ones. Under KDE, the interface layer to install is libreoffice-kf5 because KDE adds to the Qt widgets. Under GNOME or MATE, the interface layer is libreoffice-gtk3. I have no idea about libreoffice-qt5. It might be something specially brewed by LUbuntu maintainers.

Try again after removing libreoffice-gtk3 (though I doubt it causes conflicts, but who knows?). Launch LO the traditional way (double clicking on an icon or with a start menu).

If trouble still persists, modify the launcher for LO in the application menu. Again, not familiar with LXQt, but some right-click on the start or application menu should grant you access to configuration of this menu. Look at the command associated with LO. It should be something like soffice %U or soffice --writer %U and similar for other components. Prefix these command so that they read SAL_USE_VCLPLUGIN=gen soffice %U or SAL_USE_VCLPLUGIN=gen soffice --writer %U.

CAUTION! There are no spaces around =.

Forward the issue to LUbuntu site and its maintainers.

Note: libreoffice-style-xxx contain only theme files. They are not relevant for this problem.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

edit flag offensive delete link more


I am your basic LibreWriter user. Nothing fancy BUT am unable to print. Print preview appears on the screen but no print button. I have tried everything!!! HELP!

PatriciaAgger gravatar imagePatriciaAgger ( 2020-11-14 17:34:58 +0200 )edit

@PatriciaAgger: this remark is not related at all with the present question. Ask your own independent question. Read these guidelines and try to formulate yoour question in useful terms.

As is, it is "I have a problem" and is not likely to receive relevant answers. A minima, name your OS and mention LO version. State precisely the context: what you did to arrive to the dead-end screen. You "tried everything" [you know about] and we probably know more. So, even if this is obvious to you, describe your attempts.

ajlittoz gravatar imageajlittoz ( 2020-11-14 17:44:52 +0200 )edit

answered 2020-12-05 18:09:46 +0200

Hynerian gravatar image

It's a Lubuntu packaging mistake: https://bugs.launchpad.net/ubuntu/+so...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-11-14 14:59:58 +0200

Seen: 382 times

Last updated: Dec 05 '20