Issue 15809

Summary: Headless mode doesn't work after loading a defect document
Product: General Reporter: carsten.driesner
Component: codeAssignee: steffen.grund
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 Beta2   
Target Milestone: OOo 1.1 RC   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 17005    
Attachments:
Description Flags
Defect documents to reproduce this problem none

Description carsten.driesner 2003-06-19 11:26:19 UTC
The Office has a special argument called "-headless" to support external
scripting without user interaction. After loading a defect document the headless
mode gets internally disabled. From that point on the Office can show dialogs
which kills external scripting.
Comment 1 carsten.driesner 2003-06-19 11:27:25 UTC
Created attachment 6993 [details]
Defect documents to reproduce this problem
Comment 2 carsten.driesner 2003-06-19 12:13:07 UTC
CD: There is a bug in the framework project, where we call
Application::EnableDialogCancel( sal_True ) to suppress for a short
time all dialogs. Afterwards the code calls
Application::EnableDialogCancel( sal_False ) which kills the headless
mode. We have to save the old value and restore afterwards to support
the headless mode.
Comment 3 carsten.driesner 2003-06-19 17:03:16 UTC
CD: Reviewed and approved by MBA.
Comment 4 carsten.driesner 2003-06-26 07:43:25 UTC
.
Comment 5 carsten.driesner 2003-06-26 07:49:25 UTC
CD->SG: Please verify my bugfix. You should use the attached document
to check it.
Comment 6 steffen.grund 2003-06-26 10:40:45 UTC
- fixed -
Comment 7 steffen.grund 2003-06-26 13:16:01 UTC
Checked on Windows and Solaris and works -> verified.
Comment 8 steffen.grund 2003-07-04 15:39:23 UTC
SG: checked again on Windows and Solaris with Office srx645_m9s3 and
works -> closed.