To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104396
                 Issue #|104396
                 Summary|bringing the window of a hidden document to front resu
                        |lts in empty window
               Component|framework
                 Version|DEV300m55
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mav
             Reported by|mst





------- Additional comments from m...@openoffice.org Fri Aug 21 10:17:26 +0000 
2009 -------
the following sequence of code leads to the display of a dead, empty window:

        PropertyValue[] loadProps = new PropertyValue[1];
        loadProps[0] = new PropertyValue();
        loadProps[0].Name = "Hidden";
        loadProps[0].Value = new Boolean(true);

        xModel = 
util.DesktopTools.getCLoader(m_xMSF).loadComponentFromURL(file, "_blank", 0,
loadProps);

    501         XTopWindow xTopWindow =
    502                 (XTopWindow) UnoRuntime.queryInterface(
    503                 XTopWindow.class,
    504                
xModel.getCurrentController().getFrame().getContainerWindow());
    505 
    506         xTopWindow.toFront();


either it should be impossible to display the window of a hidden document, or
the document should un-hide itself when it is asked to display.

---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to