https://bugs.documentfoundation.org/show_bug.cgi?id=96717

            Bug ID: 96717
           Summary: LO saves first recorded macro as Main regardless of
                    name specified
           Product: LibreOffice
           Version: 4.3.0.4 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: lo_b...@iseries-guru.com

STR 
---

(1 ) Ensure that you have macro recording enabled (Tools > Options >
     Advanced > "Optional Features" > "Enable macro recording (may be
     limited)".  Restart LibreOffice if this is a change.

( 2) Start writer.  Program presents Writer window "Untitled 1"

( 3) Start macro recording (Tools > Macros > "Record Macro").  Observe
     floating window "Record Macro".

( 4) In Writer window "Untitled 1", click in the document area and type
     "asdf".

( 5) In floating window "Record Macro" click <Stop Recording>".
     Program presents dialog "LibreOfficeDev Basic Macros".

( 6) In pane "Save Macro In", click "Untitled 1" 

( 7) In "Macro Name", type "alpha" and click <Save>.  Program closes
     dialog "LibreOfficeDev Basic Macros" and presents dialog "New
     Module" with Name defaulted to "Module1".

( 8) in dialog "New Module" click <OK>.  Program closes dialog and
     returns focus to Writer window "Untitled 1".

( 9) Take menu options Tools > Macros > "Organize Macros" >
     "LibreOfficeDev Basic...".  Program presents dialog
     "LibreOfficeDev Basic Macros".

(10) In pane "Macro From", expand "Untitled 1" > Standard > Module1 and click
on Module1.
     Observed : In pane "Existing Macros In: Modle1" is macro name Main.
     Expected : In pane "Existing Macros In: Modle1" is macro name alpha.
     The macro name Main is selected.

(11) Click <Edit>.  Observe line 17 ...
         args1(0).Value = "asdf"
     ... showing that this is indeed the macro you just recorded.

I made these observations against daily dbgutil bibisect repository
version 2015012024 executing in debian-stretch; and I saw the same
thing in bibisect repository 43all version oldest and in a recent
daily build executing in Windows Vista.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to