Apache OpenOffice (AOO) Bugzilla – Issue 87565
Basic IDE: Run Macro does not show all documents in list
Last modified: 2017-05-20 11:33:26 UTC
1 - Create a simple Writer or Calc document. 2 - File > Properties > Description > Title : write something 3 - Store. 4 - Reopen. 5 - Tools > Macros > Run Macro You can see in the left side the Title property instead of the file name. If you open several documents having the same title, they are undistinguishable. Regression from 2.3.1.
setting regression keyword :-(
Same bug in the Organizer for Python, for BeanShell, for JavaScript. But OK for Basic organizer. Same bug in Tools > Personalize, most tabs: see the control "Save in..." at bottom.
Precision: What is described in Tools > Macros > Run Macro is a regression from 2.3.1. The same display bug in Organizer for JavaScript, BeanShell, Python, exists already in version 2.3.1. Only in the Organizer you can see more than one document in the left part of the window.
Tried to reproduce what I 'think' the problem is. However, I only see one document in the left pane on 2.4 and 2.3.1, but the name does change. So what I really need here is the following: What EXACTLY did you do to create the problem. One document should NEVER be a problem. What EXACTLY is the problem? When you go to record a macro you cannot save it, or does it get saved to the 'wrong' document? Or do you want consistency across versions? At the present time, I cannot confirm this problem as being an actual problem we need to spend resources fixing that need to be dedicated to the 3.0 release. Downgrading priority and setting fix version to OOoLater, for now. James McKenzie
OK, I try it again, with documents and pictures. Next attachments: - A Writer and a Calc document : they don't have macros! you don't need macros to see the bug. The important thing is : they have a text in the Title property. The same text for both, to make it more clear. - snapshot of the Macro selector obtained by Tools > Macros > Run macro - snapshot of the macro selector for BeanShell and for Javascript - snapshot of the macro selector for Basic Now compare the snapshots. The Basic snapshot is the only one giving enough information to see which document is which.
Created attachment 52771 [details] Writer doc with a title
Created attachment 52772 [details] Calc doc with the same title
Created attachment 52773 [details] Tools > Macros > RunMacro
Created attachment 52774 [details] Tools > Macros > BeanShell macros
Created attachment 52775 [details] Tools > Macros > JavaScript macros
Created attachment 52776 [details] Tools > Macros > .. Python macros
Created attachment 52777 [details] Tools > Macros > ... Basic Macros. Compare with others.
The question is whether the new behaviour is better or worse than the old one ... For instance, in OOo 2.3.1, open three documents, say /tmp/document.odt ~/document.odt /tmp/document.ods In the organizer dialogs, you will see (text icon) document (text icon) document (spreadsheet icon) document That is, all three documents will have the same entry name, too. So, no matter which way we do it, we do it wrong for a certain class of use cases. The question is which hurts more ... The main problem I see from your screen shots is that both the Text and the Spreadsheet document have the same icon - this is the only thing which I'd consider a bug worth fixing.
I remembered that, years ago, the Title property appeared as the title of the Writer or Calc window. I opened the same documents with version 1.1.5, see next attachment. You can see that in 1.1.5 the Title property of the document is consistently used in the main window and in the Basic dialog. In Version 2.0 the main window was changed to display only the filename (because the display of 1.1.5 generated complaints). The Run Macros and other macro dialogs were also displaying the filename. That was consistent. Now: The main window (Calc, Writer) still displays only the filename. If there is a title, the title is displayed in the dialogs. If there is no title, the filename is displayed. This is not consistent, and disturbing for the user. The Title property is not so visible as the filename. You choose a document from its filename, not from its title. The "recent documents" list contains filenames, not titles.
Created attachment 52779 [details] Basic organizer in version 1.1.5, same documents
I'm really undecided what's the best behavior here, so I am also not sure whether this is actually a bug. fs->tm: It's your issue at the moment, I suggest assigning it to a user experience engineer for decision making. fs->bmarcelly: you might want to raise the issue in the discuss@ux.openoffice.org list, where the user experience people live ...
SBA: This issue has a target set but is still in state of "Unconfirmed". Please re-check with OOo 3.0 or younger if it is (still) valid. Then confirm it or set an appropriate resolution. Thank you.
Retested with OOo 3.0.0 (300m9). It's OK with Basic, Beanshell, Javascript, Python organizers : the documents are listed with their complete name, e.g. WriterIZ87565.odt CalcIZ87565.odt So there is no ambiguity. But there is a problem with the Run Macro dialog: only the document at front is listed, not the other opened OpenOffice documents. See next attachment RunMacro-300m9.png And if you are in the IDE, for example in the module of a document macro, the Run Macro dialog does not even list any document ! See other attachment RunMacroIDE-300m9.png So the issue is not yet resolved. I don't have rights to confirm it, so I keep it unconfirmed. But it's easy to confirm.
Created attachment 57550 [details] Run Macro dialog sees only the top document
Created attachment 57551 [details] Run Macro dialog sees no document from the IDE
Changed version : OOo 300m9
Testet in a 3.3.1 on Win. The original problem doesn't occur anymore. The "Run Macro"-Dialog shows filename instead of title. So this is fixed and no regression anymore. For discussing or/and fixing the second mentioned behaviour this issue is reassigned. TM->JJ: please have a look and decide who has to take care of this issue as far as JSK isn't available anymore. Thanks in advance.
JJ->TBO: Please have a look regarding the second mentioned behaviour "Run Macro dialog sees no document from the IDE". Thanks
Always nice to have two problems reported in one issue; I confirm the 'Run Macro' behaviour and will change the title respectively; No regression, same behaviour is in/since OOo 2.3.0 @AB: is there any reason for this behaviour or is it just a bug? Here is now a summary of the problem: - Open 2 Documents - In Basic IDE call: Tools - Macro - Run Macro -> In the library list the 2 documents do not appear, which is expected - close dialog - switch to one of the documents - call: Tools - Macro - Run Macro -> In the library list only the current document does appear, where both would be expected This would be consistent with other dialogs, like: Tools - Macros - Organize dialogs... where always all documents are listed.
Reset assigne to the default "issues@openoffice.apache.org".