Issue 15809 - Headless mode doesn't work after loading a defect document
Summary: Headless mode doesn't work after loading a defect document
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: steffen.grund
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 17005
  Show dependency tree
 
Reported: 2003-06-19 11:26 UTC by carsten.driesner
Modified: 2003-07-04 15:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Defect documents to reproduce this problem (157 bytes, application/octet-stream)
2003-06-19 11:27 UTC, carsten.driesner
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.