Issue 82650

Summary: Extension Manager should get closed automatically after installation of an extension
Product: General Reporter: bettina.haberer
Component: uiAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, mdxonefour
Version: OOo 2.3 RC3Keywords: usability
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description bettina.haberer 2007-10-16 09:43:49 UTC
You want to install an extension, typical scenario: 
-Open a browser,
-in the browser you select an *.oxt-file,
-double click it or select 'Install' in the context menu to install it,
-the installation starts with the automatically opened Extension Manager,
-if you now open the Office or open a document (via explorer or browser), you
get the message: 'Either another instance of OpenOffice.org is accessing your
personal settings or your personal settings are locked. Simultanous access can
lead to inconsistencies in your personal settings. Before continuing, you should
make sure user 'xyz' closes OpenOffice.org on host 'host name'. Do you really
want to continue?'

Where does this message come from? This message does not help the user, it
confuses. Remove this message and instead close automatically the Extension
Manager. The user didn't start this dialog, it should not block further actions,
the user starts.
Comment 1 bettina.haberer 2007-10-16 09:44:17 UTC
Set target to 2.4.
Comment 2 joachim.lingner 2007-10-16 10:12:26 UTC
The message is necessary because unopkg accesses the same settings as the
office. The message is the same when one starts two instances of the office from
different machines (both use the same user settings!).
Comment 3 joachim.lingner 2007-10-18 15:00:27 UTC
Scenario 1: 
Installation successful. Extension Manager of OOo was not open. 
=> Extension Manager dialog closes automatically.

Scenario 2:
Installation successful. Extension Manager of OOo was already open.
=> Extension Manager dialog remains open.

Scenario 3:
Installation failed.
=> Extension Manager dialog remains open.

jl@bh: Can we agree on this behavior? Actually in scenario 1 the Extension
Manager dialog need not be shown it would be sufficient to show the progress
dialog. Only when something goes wrong then it could be displayed.However, that
would require some more work.
Comment 4 bettina.haberer 2007-10-18 16:48:57 UTC
It is significantly better, if the Extension Manager dialog does not open at all
in case an installation is not started from within the Office.

Scenario 1:
-The Extension Manager was not opened by the user;
-the user starts the installation of an extension (system);
-the Extension Manager does not open in this case;
-the installation is successful or it fails, the status is readable in both
cases in the Download and Install dialog;

Scenario 2: 
-The Extension Manager was opened by the user;
-the installation starts;
-the installation is successful or it fails, the status is readable in both
cases in the Download and Install dialog;
-> The Extension Manager remains open, as the user opened it and might want to
start a next action in this dialog.
Comment 5 joachim.lingner 2007-10-19 07:06:56 UTC
@bh
There is NO "Download and Install" dialog for the system integration. Then
simply the EM opens, asks the user if he/she wants to proceed, progress dialog,
done. 
Comment 6 joachim.lingner 2007-10-19 07:10:12 UTC
Also if you refer to the web based update, the "Download and Install" dialog
shows only the results of the "automatic" updates. The browser should only be
started after the user closes the "Download and Install" dialog.
But actually this issue is not about this enhancement.
Comment 7 bettina.haberer 2007-10-24 09:58:11 UTC
There is no context of your last comment to this issue. Exactly that is
described in the spec. 
Comment 8 bettina.haberer 2007-10-29 15:37:27 UTC
Yes, that's right, one does not get the dialog 'download and install' in that
case. Instead the progress bar appears and in case an error occurs, the
appropriate error message comes up.

I will make a change to the scenario 2 I described:
-The Extension Manager was opened by the user;
-the installation via browser or e.g. windows explorer starts;
-the installation is successful or it fails, in case it fails, an error message
appears;
-> The Extension Manager gets closed. In case the user has started an action in
the Extension Manager, that action gets done before the automatic close of the
Extension Manager. Although this step is not elegant this helps to avoid forcing
the user to close this dialog himself before the installation can continue.  
Comment 9 joachim.lingner 2007-11-14 07:28:33 UTC
A first discussion showed that this problem is not trivial. An idea is to allow
concurrent execution of unopkg. There is also the case when unopkg gui was
started first and then OOo.
Comment 10 joachim.lingner 2008-05-21 09:14:25 UTC
Retargeting to 3.1.
Comment 11 joachim.lingner 2008-12-09 14:57:01 UTC
retargeting
Comment 12 joachim.lingner 2009-07-16 11:35:44 UTC
Retargeted to 3.x