Issue 73968 - Opening a password protected file looses focus after loading
Summary: Opening a password protected file looses focus after loading
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 103223 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-01-29 09:31 UTC by helge.delfs
Modified: 2013-09-12 19:00 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description helge.delfs 2007-01-29 09:31:28 UTC
Create a new writerdocument and enter some text->Open a password protected
writer document, This document doesn't get loaded in foreground but in background
Comment 1 philipp.lohmann 2007-02-08 12:41:01 UTC
pl->hde: cannot reproduce on Windows or Gnome (checked oof680m5 and src680
m202). More details please. 
Comment 2 helge.delfs 2007-02-09 14:47:07 UTC
HDE->PL: This was found on solaris x86 with gnome desktop
Comment 3 philipp.lohmann 2007-02-19 14:13:42 UTC
pl->as:
contrary to earlier comments this can be easily reproduced on a KDE; test was on
vnc viewer connecting to vnc server on alaaf-z1.

as far as i can see it works like this:

- user tries to open password protected file (e.g. using recent file menu)
- frame for new document gets shown
- password dialog opens
-> pasword dialog has the old document as parent (which is decided in
uui/source/iahndl.cxx)

The fact that the password dialog opening has the focus and is transient for the
old document (in vcl language the dialog has the old document as parent) cause
the window manager to bring the old document to front. Actually i think it would
be more logical anyway if the password dialog had the new frame as parent since
it belongs to the new document.

Please have a look.
Comment 4 andreas.schluens 2007-07-24 12:34:50 UTC
.
Comment 5 christoph 2007-11-26 16:10:12 UTC
Added another issue which seems to be similar.

http://framework.openoffice.org/issues/show_bug.cgi?id=83984 (Opening a password
protected document from the OS blocks opening more documents until password
dialog is confirmed)
Comment 6 andreas.schluens 2007-11-27 13:55:24 UTC
Sorry ... but both tasks are not related.

Issue 83984 is reasoned by the fact that our command line cant handle multiple
request at the same time. So it's not related to the password dialog only.

Issue 73968 is reasoned by the fact that the password dialog gets the wrong
parent frame/window. Thats completely different.
Comment 7 andrew 2008-06-04 04:35:48 UTC
I see this with 3.0 Beta on 64-bit Fedora 9. I am not using a 64-bit build, just
the standard 32-bit.

Adding myself to the CC list.
Comment 8 stefan.baltzer 2009-03-27 19:36:12 UTC
SBA->TM: I believe AS not involved in this any more.
Please have a look and reassign approprieately.
Put myself on c/c.
Comment 9 stefan.baltzer 2009-03-27 19:42:23 UTC
*** Issue 99885 has been marked as a duplicate of this issue. ***
Comment 10 stefan.baltzer 2009-03-27 19:43:34 UTC
Adjusting target accirding to issue 99885.
Comment 11 stefan.baltzer 2009-03-27 19:50:12 UTC
Wrong. The other one was NOT a dupe. Thus target of this one back to 3.x

SBA->HDE: Please comment on the state and urgency of this one from your current
findings concerning Automation hinderances of this. Thx.
Comment 12 jwt 2009-03-28 08:16:01 UTC
Currently the behaviour seems to be correct for me (Oo.o 2.4.1 on Debian
Squeeze) with one exception.  If I try to open a password protected document
from the open dialogue of the quickstarter the password dialogue appears on the
current screen but the focus is not on it.  Hence, if I start typing the
password without remembering to click on the dialogue or its tab nothing happens.
Comment 13 zurd3 2009-05-20 16:00:47 UTC
I just installed the new Ubuntu 9.04 with OpenOffice 3.0.1 (Build 9379) and this
bug is still here. Just open an openoffice spreadsheet (no password), wait for
it to load, open another one (password protected, no need to go into recent
documents, just double-click on it), then the password dialog will not appear,
it will be hidden in the first file you opened. Quite annoying!
Comment 14 jwt 2009-05-20 17:08:30 UTC
Yes, I am now on OpenOffice 3.0.1 and the problem seems to be back how it was.
Comment 15 Olaf Felka 2009-07-01 10:40:17 UTC
*** Issue 103223 has been marked as a duplicate of this issue. ***