Bug 74848

Summary: EDITING: Greyed-out menu bug when trying to insert formula
Product: LibreOffice Reporter: Alexander Karatarakis <alex.karatarakis>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jbfaure, miguelangelrv
Priority: medium    
Version: 4.2.0.4 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description Alexander Karatarakis 2014-02-11 16:38:02 UTC
Problem description: 
When attempting to insert a formula, sometimes the following happens:

1) The first time I click "Insert" there are a lot of grayed-out menu entries, including "Object". I click somewhere else to leave because I cannot select "Object". 
2) The second time I click "Insert", "Object" is selectable, but the entries inside "Object" are all grayed-out. I click somehwere else again.
3) The third time I click "Insert", I can select "Object"->"Formula" properly. 

Current behavior:
I cannot insert formula without visiting "Insert" thrice.

Expected behavior:
This is not just for formulas, but other entries under "Insert" should not be grayed out in the first place. 


More info:
I insert formulas within text or inside the fn-F3 generated boxes. It is unclear to me exactly when this happens, but it occurs very very frequently as part of my normal work-flow. My documents generally contain text and formulas, occasionally a few figures as well. While writing text and I try to insert a formula, sometimes this happens but other times not (mostly it does unfortunately). 

I know this is not enough to go on, but I was hoping someone has more information or pointers that can shed more light. 

              
Operating System: Ubuntu
Version: 4.2.0.4 release
Comment 1 Alexander Karatarakis 2014-02-11 16:39:54 UTC
This has been around since earlier version of libreoffice, so its not a recent regression.
Comment 2 m_a_riosv 2014-02-11 20:12:13 UTC
Hi Alexander, thanks for reporting.
I have never seen this issue neither windows or Linux.
Please try resetting the user profile, sometimes solves strange issues.
https://wiki.documentfoundation.org/UserProfile
Comment 3 Alexander Karatarakis 2014-02-11 21:31:27 UTC
Just performed a reset and the same thing still occurs. 
I am currently in the process of writing a lot of text (dissertation) so I can keep testing this - I get it quite frequently even though I cannot pinpoint the cause through observation.

Additional info: 
I found a way to reproduce this fairly consistently. While in formula-editing if I exit formula-editing and afterwards quickly click somewhere in the text and hit Insert, I get grayed-out entries. Furthermore, it looks like these are the same grayed-out entries which appear in the Insert menu if a formula is selected (if a formula is selected then this is the expected behavior).
Comment 4 Alexander Karatarakis 2014-02-12 23:41:36 UTC
I got suspicious and tried to work under LXDE (Lubuntu). It seems that this bug does NOT occur there. My previous report was for Ubuntu with Unity. I suspect that the problem is with the Unity integration. 
As such, I am not sure if this is the right bugzilla.
Comment 5 QA Administrators 2014-09-03 21:32:51 UTC Comment hidden (obsolete)
Comment 6 Alexander Karatarakis 2014-09-08 09:50:43 UTC
Currently on LibO 4.2.6.3 under ubuntu 14.04 (with unity) and the issue is the same. Note again that this still does not occur under LXDE, so I would guess it has something to do with the LibO-unity interaction.
Comment 7 Jean-Baptiste Faure 2014-09-13 06:25:44 UTC
I have sometimes the same problem with LibreOffice under Unity when I click on a menu, several entry are greyed out. Generally it's enough to open the next menu and go back to the desired menu to get all available entries.

That said, I do not have a clear scenario to reproduce the problem, it seems to depends on the machine activity.

I just created a new clean Unity session on my PC, will see if I still reproduce the problem in a session without residues from gnome (various species), xfce and old parameters from bugged Unity (since Ubuntu 11.10).

Best regards. JBF
Comment 8 QA Administrators 2015-10-14 19:56:56 UTC Comment hidden (obsolete)
Comment 9 Alexander Karatarakis 2015-11-02 01:19:45 UTC
Still an issue in 5.0.2 under Ubuntu 14.04 64-bit (with Unity).
Comment 10 QA Administrators 2016-11-08 12:02:14 UTC Comment hidden (obsolete)
Comment 11 Jean-Baptiste Faure 2016-11-11 09:33:30 UTC
Never seen this issue with LO ≥ 5.1 under Ubuntu / Unity with GTK3 backend.

Closing as WorksForMe. Please, feel free to reopen if you disagree.

Best regards. JBF
Comment 12 Alexander Karatarakis 2016-11-25 06:19:45 UTC
Just got around to retesting this.
It appears to no longer be an issue :).