Bug 123589

Summary: Beanshell editor: Remove close button from toolbar
Product: LibreOffice Reporter: Samuel Mehrbrodt (allotropia) <samuel.mehrbrodt>
Component: sdkAssignee: elshreif <ahmedtota29>
Status: RESOLVED FIXED    
Severity: normal CC: mentoring, samuel.mehrbrodt
Priority: medium Keywords: difficultyBeginner, easyHack, skillJava, topicUI
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard: target:6.3.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 97639    

Description Samuel Mehrbrodt (allotropia) 2019-02-20 07:54:18 UTC
The Beanshell Editor has a "Close" button in the toolbar.
This button can be removed as the window already has a close button.

The code is in scripting/java/com/sun/star/script/framework/provider/beanshell .

You find the Beanshell Editor via Tools->Macros->Organize Macros->Beanshell. Create a library, then a macro, then you can edit it which gets you into the Beanshell Editor.
Comment 1 Commit Notification 2019-02-24 06:59:35 UTC
EL-SHREIF committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/ca8eef6be3e45b934879780e847d6ef4faba857a%5E%21

tdf#123589 Removing close button from toolbar in Beanshell editor

It will be available in 6.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.