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

Nick <nalong...@sbcglobal.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Macro hangs after executing |Macro hangs after executing
                   |uno:GoToEndOfData           |uno:GoToEndOfRow

--- Comment #6 from Nick <nalong...@sbcglobal.net> ---
I've down some more chasing dwon what's occuring. The "Hanging" is occurring on
the Call of the second macro when it tries to execute
dispatcher.executeDispatch(document, ".uno:GoToEndOfRow".

I found the problem starts in the Call of the first macro after the execution
of 
dispatcher.executeDispatch(document, ".uno:GoToEndOfRow"

I stopped the execution after the first execution and found that although the
macro doesn't "Hang", the "End" key on the keyboard was not working! Ergo the
second execution is trying to do something that the keyboard can't even do.

FYI, Ctrl + End still does work.

I then have to reboot the computer to get the "End" key to work as it should.

I have access to a Linux computer to see what happens with that OS but that
will take some time.

Regarding stephane.guil...@libreoffice.org comments I found I could eliminate
that error by inserting
dim document, dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
in the called macro.
Note: I never had to do that before.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to