List Info

Thread: Document is loaded in a background window




Document is loaded in a background window
user name
2006-01-20 06:45:31
Andreas Schlüns wrote:

<snip>

> 
> This feature(!) was requested by the community ... but
may be sligthly 
> different from the scenario you describe 
> 
> a)
> The old bahviour of OOo was to call
Frame.getContainerWindow().toFront() 
> after loading of the document was finished.
> 
> b)
> But some poeple requested to change that. The reason:
> If you load a big document (which needs several seconds
or minutes) ... 
> may be the user select another window of its desktop
and may be started 
> working on it. But then these poeple was displeased by
the OOo window, 
> which interrupts working on the other window.
> 
> So the request was the following one:
> 
> OLD CODE:
> 
> loadComponentFromURL()
>     window = createWindow()
>     load()
>     window.toFront()
> 
> NEW CODE:
> 
> loadComponentFromURL()
>     window = createWindow()
>     window.toFront()
>     load()
> 

After looking into the code I must correct myself.
The mentioned fix was tried, but disabled afterwards.
So the current behaviour of the master will be:

loadComponentFromURL()
     window = createWindow()
     load()
     window.toFront()

BTW: Issue ID for the community request was #19976#.

Regards
Andreas

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )