Bug Hunting Session
Bug 106731 - No indication macro is read-only
Summary: No indication macro is read-only
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Error-Messages
  Show dependency treegraph
 
Reported: 2017-03-23 21:49 UTC by Katarina Behrens (CIB)
Modified: 2019-09-20 07:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katarina Behrens (CIB) 2017-03-23 21:49:02 UTC
Description:
I can't believe this hasn't been filed yet, but I haven't found any related ticket, so here we go:

Steps to Reproduce:
1. Tools > Macros > Organize Macros > Libreoffice Basic
2. Click 'Libreoffice Macros' in the tree-list on the left 
3. In the same tree-list, pick a macro from any of those system-wide modules, for example Gimmicks.Autotext 

(it is important to try with system-wide macros and not with user-defined or document-specific ones, otherwise you won't see the misfeature)

4. Click 'Edit'
5. Try to edit the source code



Actual Results:  
Nothing happens. Macro is read-only. That wouldn't be an issue, but user really has no way of knowing that this is the case.

Expected Results:
A yellow-ish info bar ("this document is read-only") would appear, just like for normal documents. Or it would be indicated in another suitable way that it is futile to try to edit this macro


Reproducible: Always

User Profile Reset: 

Additional Info:


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
Comment 1 Cor Nouws 2017-03-23 22:01:36 UTC
yeah, cool, isn't it ;)