To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71439
                 Issue #|71439
                 Summary|com.sun.star.scanner.ScannerManager makes OOo to hang 
                        |up from a BeanShell script
               Component|api
                 Version|OOo 2.0.4
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|jmarton





------- Additional comments from [EMAIL PROTECTED] Fri Nov 10 16:01:40 -0800 
2006 -------
I'm facing some serious problems when trying to use the ScannerManager
service from a BeanShell script (inside OOo Draw). Maybe a reproducible deadlock
situation.

OOo version: stable, 2.0.4 (english version OOo, WinXP Prof SP2 Hun)
OOo SDK: stable, 2.0.4

I have a Logitech QuickCam Sphere webcam (driver version 9.5). As I
acquire an image from Insert/Picture/Scan/Request, the image is taken
and inserted into the drawing.

As I try to achieve the same result from a BeanShell script (attached), OOo
hangs up upon ScannerManager.startScan(...) call. Details follows:

What I want is to replace an image object (having name prefix of
"photofield_") in my OOo draw document in script-runtime.

The script I wrote is attached, but it does not work.

As I open a draw that have an image object named like "photofield_" and
try to run the script, I can select the source
(xScannerManager.configureScanner(...)). After the selection is made,
the startScan(...) call makes OOo to hang up.

It can be killed using the task manager, but after restarting OOo (but
not the OS), the menu-path (Insert/Picture/Scan/Request) also does not work.

Upgrading the Logitech webcam driver to v10 did not solve the problem. The same
behavior holds using a Canyon CNCAM21 webcam.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to