https://bugs.freedesktop.org/show_bug.cgi?id=70883

          Priority: medium
            Bug ID: 70883
          Keywords: regression
          Assignee: [email protected]
           Summary: "uno: copy" via the dispatcher does not work when a
                    button has focus
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 4.1.2.1 rc
         Component: BASIC
           Product: LibreOffice

Created attachment 88142
  --> https://bugs.freedesktop.org/attachment.cgi?id=88142&action=edit
Spreadsheet with a macro

Hello

Context : a macro launched via a command button to copy a range of cells.

The problem arises when a button has the focus. In this case the copy is
irrelevant that the macro is launched via the button or otherwise (menus,
shortcut).

The attached spreadsheet contains:
- A macro "Disp" that copies A1:A3 to C1.
- A button that launches the macro.

When you open the spreadsheet the button has focus. Start macro without
clicking the button, but through the menus (macro> run, or macro> organize>
Run). It does not work (move and selection are but not copy).

Click on the sheet (anywhere) then restart the macro via menus: everything
works as many times as you want (change the range A1:A3 to check).

There is a workaround (use the copy method of a sheet) but this is an annoying
regression because the feature is widely used, especially by beginners.

Set to "New" because reproduced (qa-fr) :
- 4.0.5 Windows 7 32b
- 4.1.1 W8/64
- 4.1.1.2/Ubuntu 12.04
- 4.1.2.1 W/XP
- 4.1.2.3/W8.1/64 

Regards
Pierre-Yves

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

Reply via email to