Download it now!
Bug 128491 - Doubling of menubar after inserting formula in writer (only if LanguageTool is in use)
Summary: Doubling of menubar after inserting formula in writer (only if LanguageTool i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 130085 131161 133129 (view as bug list)
Depends on:
Blocks: Main-Menu
  Show dependency treegraph
 
Reported: 2019-10-31 08:34 UTC by Bernard Decock
Modified: 2020-05-18 13:01 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Double menubar in Writer (23.81 KB, image/png)
2019-10-31 08:34 UTC, Bernard Decock
Details
Idle lower menubar (64.39 KB, image/jpeg)
2019-11-03 08:20 UTC, Bernard Decock
Details
Double menubar in LO 6.3.3.2 (142.34 KB, image/jpeg)
2019-11-06 09:19 UTC, Bernard Decock
Details
LO Writer menu bar duplicates (2.24 MB, image/gif)
2020-02-01 10:11 UTC, Amr Ibrahim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Decock 2019-10-31 08:34:09 UTC
Created attachment 155416 [details]
Double menubar in Writer

Linux mint Cinnamon = 19.2 or Ubuntu 19.10
Clean install
LibreOffice = 6.0.7.3 .. 6.3.2.2

Open LibreOffice
Open new writer-document
Insert object = formula => formula-application opens
     - A double menubar is visible (one from the writer, one from the formula-app
       (no problem sofar)
     - Either enter a formula or none
     - Close the formula-app by clicking outside the formula-panel
=> Writer has a double menubar (I you repeat this operation even a third one is possible)
Close the writer-document => double menubar still present in the general overview
Start new writer-document => double menubar
One has to close LO to get rid of this.
Comment 1 V Stuart Foote 2019-10-31 12:53:45 UTC
Not apparent on Windows builds
Version: 6.3.2.2 (x64)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Bernard Decock 2019-11-03 08:20:03 UTC
Created attachment 155481 [details]
Idle lower menubar
Comment 3 Bernard Decock 2019-11-04 10:30:28 UTC
Well I think I found the culprit. 

Clean install in a VM with version 6.3.2.2. Everything works fine. Then after installing the extension LanguageTool and restarting LO, I can reproduce this error. Bug related to LO or LanguageTool?
Comment 4 Bernard Decock 2019-11-04 10:48:31 UTC
Install LanguageTool => Bug happens
Disable or remove LanguageTool => Ok
Comment 5 Xisco Faulí 2019-11-05 11:43:03 UTC
I believe this might be a duplicate of bug 124391.
Please, try again with LibreOffice 6.3.3.2

*** This bug has been marked as a duplicate of bug 124391 ***
Comment 6 Bernard Decock 2019-11-06 09:18:50 UTC
Using a fresh install of LO 6.3.3.2 gives the same result

Install LanguageTool
Open writer -> insert formula
After inserting => double menubar (lower menubar is always idle)
Comment 7 Bernard Decock 2019-11-06 09:19:37 UTC
Created attachment 155552 [details]
Double menubar in LO 6.3.3.2
Comment 8 Xisco Faulí 2019-11-06 15:38:16 UTC
Hi Samuel, since you fixed bug 124391, could you please try to reproduce this issue ? I can't reproduce it here...
Comment 9 Stanislaus J. Pinasthika 2019-11-29 01:46:47 UTC
Yes, maybe the problem related with the LanguageTools. Try to reproduce with 
Version: 6.3.0.4
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Flatpak
 
and 

Version: 6.4.0.0.alpha1+
Build ID: eeae2032476e8c8645ab438fbb379f3151c8e472
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: kf5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-11-13_06:44:02

my menubar doesn't doubled
Comment 10 Bernard Decock 2019-11-29 17:12:44 UTC
Well, It starts to happen as soon as you try to insert an equation (Math) in a Writer-document.
Comment 11 Stanislaus J. Pinasthika 2019-11-30 01:44:05 UTC
(In reply to Bernard Decock from comment #10)
> Well, It starts to happen as soon as you try to insert an equation (Math) in
> a Writer-document.

yes, I have tried to insert an equation. It doesn't happen
Comment 12 AJ Justin 2019-12-21 15:09:39 UTC Comment hidden (spam)
Comment 13 Xisco Faulí 2020-01-21 12:40:40 UTC
Hi Bernard,
do you reproduce it if you launch LibreOffice from commandline with:
SAL_USE_VCLPLUGIN=gen soffice ?
Comment 14 Bernard Decock 2020-01-21 12:59:34 UTC
(In reply to Xisco Faulí from comment #13)
> Hi Bernard,
> do you reproduce it if you launch LibreOffice from commandline with:
> SAL_USE_VCLPLUGIN=gen soffice ?

In case I start LO with SAL_USE_VCLPLUGIN=gen soffice I'm not able to reproduce this issue. I tried out several cases and times, but I was in no way able to reproduce the issue.

Tested with LO 6.3.4.2
Build ID: 1:6.3.4-0ubuntu0.18.04.1~lo2
Comment 15 QA Administrators 2020-01-22 03:38:53 UTC Comment hidden (obsolete)
Comment 16 Amr Ibrahim 2020-02-01 10:11:29 UTC
Created attachment 157577 [details]
LO Writer menu bar duplicates

See the attached GIF and follow the steps below to reproduce the bug.

0. Start LibreOffice Writer, add the LanguageTool extension and restart LibreOffice
1. Close the text document but not the whole application
2. Re-open a Writer text document
3. Menu bar duplicates each time you close and open a text document

The bug disappears after the LanguageTool extension is deactivated or removed.

LibreOffice version: 6.3.4.2
LanguageTool version: 4.8
OS: Ubuntu 18.04.3 LTS

A bug filed against LanguageTool:
https://github.com/languagetool-org/languagetool/issues/2000
Comment 17 Amr Ibrahim 2020-02-01 10:22:10 UTC
(In reply to Xisco Faulí from comment #13)
> do you reproduce it if you launch LibreOffice from commandline with:
> SAL_USE_VCLPLUGIN=gen soffice ?

I can't reproduce the bug with "SAL_USE_VCLPLUGIN=gen soffice".

Here is the terminal output:
$ SAL_USE_VCLPLUGIN=gen soffice
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Comment 18 Dieter 2020-02-18 08:30:27 UTC
(In reply to Amr Ibrahim from comment #16)
> Created attachment 157577 [details]
> LO Writer menu bar duplicates
> 
> See the attached GIF and follow the steps below to reproduce the bug.
> 
> 0. Start LibreOffice Writer, add the LanguageTool extension and restart
> LibreOffice
> 1. Close the text document but not the whole application
> 2. Re-open a Writer text document
> 3. Menu bar duplicates each time you close and open a text document
> 
> The bug disappears after the LanguageTool extension is deactivated or
> removed.
> 
> LibreOffice version: 6.3.4.2
> LanguageTool version: 4.8
> OS: Ubuntu 18.04.3 LTS
> 
> A bug filed against LanguageTool:
> https://github.com/languagetool-org/languagetool/issues/2000


=> set status to NEW because of this bug confirmation
Comment 19 Dieter 2020-02-18 08:36:26 UTC
*** Bug 130085 has been marked as a duplicate of this bug. ***
Comment 20 Tommy 2020-03-04 07:09:40 UTC Comment hidden (spam)
Comment 21 Amr Ibrahim 2020-03-09 19:19:17 UTC
*** Bug 131161 has been marked as a duplicate of this bug. ***
Comment 22 Timur 2020-05-18 13:01:56 UTC
*** Bug 133129 has been marked as a duplicate of this bug. ***