You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/01/17 11:57:59 UTC

[Issue 126794] New: using shell command causes application errors

https://bz.apache.org/ooo/show_bug.cgi?id=126794

          Issue ID: 126794
        Issue Type: DEFECT
           Summary: using shell command causes application errors
           Product: Base
           Version: 4.1.2
          Hardware: Mac
                OS: Mac OS X 10.10
            Status: UNCONFIRMED
          Severity: Major
          Priority: P5 (lowest)
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: info@csitn.de

this is a OpenOffice Base issue that was observed with 
Version 4.0.1 and 4.1.2
on OSX 10.6.8 and 10.10.5.


Using a macro with a string like

shell("/Applications/Firefox.app/Contents/MacOS/firefox",1,"http://" &
browser_dispatch_url)

or 

shell("/Applications/Mail.app/Contents/MacOS/Mail",1,"mailto:" &
email_dispatch_url)


where 

dim browser_dispatch_url as string
dim email_dispatch_url as string

it happens that after using the makro the application ran within the makro will
not start any longer from the gui.

It still starts by using the makro.



To solve the issue it was necessary to completely uninstall and reinstall the
application.

It did happen with FireFox, OSX Mail, OSX Safari.


When starting the application from GUI, the Error is like "application is
defected"



A second phenomen that was observed:

It is that each windowstyle (0,1,2,3,4,6,10) 

'Windowstyle
'    1 - The program receives the focus and is started in a normal-sized
window.
'    2 - The program receives the focus and is started in a minimized window.
'    3 - The program receives the focus and is started in a maximized window.
'    4 - The program is started in a normal-sized window, without receiving the
focus.
'    6 - The program is started in a minimized window, the focus remains in the
current window.
'    10 - The program is started in full screen mode.

shows the same appearance: The proggram doesn't receive the focus and is
started in full screen mode. 

If the program is already running, an error is displayed, that it wasn't
possible to start the program twice.

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

--- Comment #4 from Christoph Scheungraber-Bollweg <in...@csitn.de> ---
Thank you for the answer and solution.

It works with both, URL and mail address.
Under OS X it is necessary to add the open command.

shell("open http://" & browser_dispatch_url)
and 
shell("open mailto:" & email_dispatch_url)
are working.

Thanks a lot!

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

--- Comment #2 from Christoph Scheungraber-Bollweg <in...@csitn.de> ---
another strange thing happening:

There is no change in the appearance of the error after restarting the Mac.

But after moving the complete concerned programs folder to the trash and
recovering it from there, the program starts from the GUI again.

This was first observed with OS X Mail on the computer running OS X 10.6.8 some
days ago, but didn't seam to be part of any solution then and now with firefox
under 10.10.5.

Sorry, I can't imagine the relations that may be involved.

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #3 from oooforum <oo...@free.fr> ---
Why use an app to open URL or send a mailto command?
Try just a Shell("your_url")

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

orcmid <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orcmid@apache.org

--- Comment #6 from orcmid <or...@apache.org> ---
(In reply to oooforum from comment #5)
> Next time, you can post directly this kind of question on the support forum:
> https://forum.openoffice.org/en/forum/viewforum.php?f=20
> It's better than the issue tracker system.

Please. It is better to cross-link with forums than to just close or leave
dangling.  

If someone takes this to the Forums, please cross-link with this issue.

Best of all is being able to trace these things across where they arise.

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

Christoph Scheungraber-Bollweg <in...@csitn.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |info@csitn.de

--- Comment #1 from Christoph Scheungraber-Bollweg <in...@csitn.de> ---
Created attachment 85253
  --> https://bz.apache.org/ooo/attachment.cgi?id=85253&action=edit
screenshot

This is a screenshot of the window appearing after a program was concerned. It
says: You can't open program FireFox, because it is possibly defected or
incomplet.

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

[Issue 126794] using shell command causes application errors

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126794

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT_AN_ISSUE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from oooforum <oo...@free.fr> ---
Next time, you can post directly this kind of question on the support forum:
https://forum.openoffice.org/en/forum/viewforum.php?f=20
It's better than the issue tracker system.

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