Bug 111979 - Checkboxes don't appear in LO GUI
Summary: Checkboxes don't appear in LO GUI
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 07:52 UTC by Mamoth
Modified: 2017-12-05 10:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of a GUI window (Tools > Options) in which there should be checkboxes by they don't appear. (106.68 KB, image/png)
2017-08-23 07:52 UTC, Mamoth
Details
Result of the "apt-cache search libreoffice" command (21.34 KB, text/plain)
2017-08-23 14:59 UTC, Mamoth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mamoth 2017-08-23 07:52:21 UTC
Created attachment 135746 [details]
Example of a GUI window (Tools > Options) in which there should be checkboxes by they don't appear.

Hello. 
Since I did the last update of LO (through the updating system of the OS - Linux Mint 17.3 with Cinnamon) and now have version 5.4.0.3 of LO, I have a major bug :

None of the checkboxes of the user interface appear any more.
It is therefore impossible to check if they are checked or to check/uncheck them.

This affect all LO components as far as I can see.
LO is the only piece of software with which this happens on my operating system.

This is highly annoying for work as it prevents me from doing a lot of tasks.

I didn't have such problem till the last update.
Comment 1 Julien Nabet 2017-08-23 08:43:34 UTC
For the test, could you try the different renderings?
1) gtk
SAL_USE_VCLPLUGIN=gtk && soffice --writer


2) gtk3
SAL_USE_VCLPLUGIN=gtk3 && soffice --writer

3) kde
SAL_USE_VCLPLUGIN=kde4 && soffice --writer

4) generic
SAL_USE_VCLPLUGIN=gen && soffice --writer
Comment 2 Mamoth 2017-08-23 09:05:56 UTC
Hi. 
I am ready to try the different renderings, but I need more explanations as how to do this.
You provided bits of command lines, it seems, but how do I use them ?
Comment 3 Julien Nabet 2017-08-23 09:25:12 UTC
Use terminal and just type these commands, eg:
SAL_USE_VCLPLUGIN=gtk && soffice --writer

This one initializes the env var "SAL_USE_VCLPLUGIN" with gtk and, if it's ok (meaning of "&&"), it'll launch Writer (soffice --writer)
The lifetime of this env var "SAL_USE_VCLPLUGIN" is just for the whole line.

About soffice, it's the main binary of LO and calling it with --writer parameter will launch Writer.
Comment 4 Mamoth 2017-08-23 09:44:37 UTC
Hi.

I tried the four commands you provided (after checking the default value of the environment variable SAL_USE_VCLPLUGIN with the command "echo $SAL_USE_VCLPLUGIN" which returned nothing).
They all worked but produced the exact same result : I have no checkbox appearing in the GUI in none of them. Actually, the GUI looks exactly the same in all cases. I don't know if this is supposed to be.
Comment 5 Julien Nabet 2017-08-23 10:02:30 UTC
If you don't have kde env or other window managers, it's normal you got the same display.

I wonder if it could be a package dependency pb on Mint.
Could you attach the result of apt-cache search libreoffice?
I'm thinking about packages with keyword like "gtk", "gtk3", "integration" or "desktop".
Comment 6 Mamoth 2017-08-23 14:59:37 UTC
Created attachment 135750 [details]
Result of the "apt-cache search libreoffice" command

Here you go !
Comment 7 Julien Nabet 2017-08-23 15:13:53 UTC
Could you install (if not already installed) these packages for the test?
libreoffice-gnome
libreoffice-gtk2 
libreoffice-gtk3

Then test:
1) without rendering
2) with rendering =gtk2
3) with rendering =gtk3

if it fails, install libreoffice-kde (perhaps it'll download other packages, like qt ones).
then test with rendering=kde4
Comment 8 Mamoth 2017-08-23 16:20:00 UTC
Hi.
I just installed libreoffice-gnome, libreoffice-gtk2 (this one was automatically installed with the previous one), and libreoffice-gtk3.

So results : now the checkboxes appear everytime now (for each one of the four command lines you provided but also when I launch LO directly through the Cinnamon's main menu (.i.e. with command : libreoffice --writer %U).

Thanks !

FYI, I get the following message :
"(process:6231): WARNING **: require a newer gtk than 3.10 for theme expectations"
Comment 9 Julien Nabet 2017-08-23 16:45:52 UTC
Great it works!

Even if it's solved for you, it could be interesting you submit a bug on Linux Mint except the bug has been fixed on last Linux Mint 18.2
Comment 10 Mamoth 2017-08-23 21:37:17 UTC
How do you know it's been fixed in LM 18.2 ? Was it referenced ?
Comment 11 Julien Nabet 2017-08-24 09:59:31 UTC
(In reply to Mamoth from comment #10)
> How do you know it's been fixed in LM 18.2 ? Was it referenced ?

Sorry, I forgot the "if", I meant:
it could be interesting you submit a bug on Linux Mint except "IF" the bug has been fixed on last Linux Mint 18.2
Indeed, I don't know if the bug has been submitted or not.

Sorry again for the confusion.
Comment 12 Timur 2017-08-24 14:44:05 UTC
Mamoth, I see a bug https://bugs.launchpad.net/linuxmint/+bug/1636996 so please comment there on your experience. 

I guess https://bugs.launchpad.net/linuxmint is for bugs on Mint but I don't see it's being used for solutions. What a pity for such a fine distro.
Comment 13 Timur 2017-08-24 14:58:49 UTC
I'm not sure this is Mint bug, or it's from Ubuntu. 
https://launchpad.net/ubuntu/+source/libreoffice
Anyway, there are also other common problems without libreoffice-gnome.
Comment 14 Adolfo Jayme Barrientos 2017-08-25 05:25:21 UTC
The half-backed icon theme Linux Mint bundles with LibreOffice is causing this, and is not bundled by Ubuntu…
Comment 15 Mamoth 2017-11-14 16:58:47 UTC
Hello.


The bug is back ...

I have upgraded the system to Linux Mint 18 and now have LO 5.4.1.2 and it's there again.
But this time, libreoffice-gnome, libreoffice-gtk2 and libreoffice-gtk3 are already installed.

The same symptom occurs with all the various renderings :
1) gtk
SAL_USE_VCLPLUGIN=gtk && soffice --writer

2) gtk3
SAL_USE_VCLPLUGIN=gtk3 && soffice --writer

3) kde
SAL_USE_VCLPLUGIN=kde4 && soffice --writer

4) generic
SAL_USE_VCLPLUGIN=gen && soffice --writer
Comment 16 Xisco Faulí 2017-11-15 09:48:24 UTC Comment hidden (obsolete)
Comment 17 Mamoth 2017-11-15 13:23:41 UTC
I downloaded the latest stable version (5.4.3.2) for installation.

But it did not replace my current version. It installed another version but without saying a word during installation. This is ridiculous. 

Anyway, I have now two versions of LO on my computer and yes, the bug does not appear with version 5.4.3.2 while it is there with 5.4.1.2 .
Comment 18 Xisco Faulí 2017-11-15 14:18:25 UTC
(In reply to Mamoth from comment #17)
> I downloaded the latest stable version (5.4.3.2) for installation.
> 
> But it did not replace my current version. It installed another version but
> without saying a word during installation. This is ridiculous. 
> 
> Anyway, I have now two versions of LO on my computer and yes, the bug does
> not appear with version 5.4.3.2 while it is there with 5.4.1.2 .

I guess the problem should be reported to the Mint project instead.
Closing as RESOLVED NOTOURBUG
Comment 19 Mike Kaganski 2017-12-05 10:22:45 UTC
(In reply to Mamoth from comment #17)
> I downloaded the latest stable version (5.4.3.2) for installation.
> 
> But it did not replace my current version. It installed another version but
> without saying a word during installation. This is ridiculous. 

Just a note.

When you download and something without your package manager, it's normal that the program not managed by the manager knows nothing about the managed installation. The managed installation is prepared and built for your package manager by a dedicated team (not TDF, although from same sources), and is distro-specific with some integration features absent in generic package (it even has different build id). They go to different paths, and don't break each other. So it's not "ridiculous"; doing the opposite way would be.

I assume that your 5.4.3.2 is from libreoffice.org site. SO that's TDF-supplied package.

If you wanted to keep using your package manager (and benefit from its update process), you could use this ppa: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa