To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42262
                  Issue #:|42262
                  Summary:|IntroWindow::Show is very slow due to configuration
                          |access
                Component:|gsl
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|ssa
              Reported by:|cd





------- Additional comments from [EMAIL PROTECTED] Tue Feb  8 03:10:29 -0800 
2005 -------
We lose about ~500ms showing the splash screen, because VCL must access many
configuration files (VCL.xcu,FontSubstitution.xcu,Common.xcu,...). 
There is a special window class called IntroWindow which should prevent this,
but it doesn't work.

See the following stack, where a PostUserEvent needs a default window and
creates a "real" window which starts the configuration access.

        vcl680mi.dll!Window::ImplInit(Window * pParent=0x00000000, __int64 
nStyle=0,
SystemParentData * pSystemParentData=0x00000000)  Line 941      C++
        vcl680mi.dll!ImplBorderWindow::ImplInit(Window * pParent=0x00000000, 
__int64
nStyle=0, unsigned short nTypeStyle=8, SystemParentData *
pSystemParentData=0x00000000)  Line 1815        C++
        vcl680mi.dll!ImplBorderWindow::ImplBorderWindow(Window * 
pParent=0x00000000,
SystemParentData * pSystemParentData=0x00000000, __int64 nStyle=0, unsigned
short nTypeStyle=8)  Line 1850  C++
        vcl680mi.dll!WorkWindow::ImplInit(Window * pParent=0x00000000, __int64
nStyle=0, SystemParentData * pSystemParentData=0x00000000)  Line 133 + 0x33     
C++
        vcl680mi.dll!WorkWindow::WorkWindow(Window * pParent=0x00000000, __int64
nStyle=0)  Line 182     C++
>       vcl680mi.dll!ImplGetDefaultWindow()  Line 272 + 0x2b    C++
        vcl680mi.dll!Application::PostUserEvent(unsigned long & 
rEventId=31990896,
const Link & rLink={...}, void * pCaller=0x00000000)  Line 1154 + 0x5   C++
        vcl680mi.dll!ImplHandleGetFocus(Window * pWindow=0x01e63cd8)  Line 1893 
+ 0x2a  C++
        vcl680mi.dll!ImplWindowFrameProc(void * pInst=0x01e63cd8, SalFrame *
pFrame=0x01e81d38, unsigned short nEvent=10, const void * pEvent=0x00000000) 
Line 2423 + 0x9 C++
        vcl680mi.dll!SalFrame::CallCallback(unsigned short nEvent=10, const 
void *
pEvent=0x00000000)  Line 309 + 0x2c     C++
        vcl680mi.dll!ImplHandleSalObjSysCharMsg()  Line 4116 + 0xa      
        vcl680mi.dll!SalFrameWndProc()  Line 5652       
        vcl680mi.dll!SalFrameWndProcW()  Line 5830 + 0x15       
        user32.dll!77d48709()   
        user32.dll!77d487eb()   
        user32.dll!77d70494()   
        user32.dll!77d4b368()   
        user32.dll!77d70494()   
        user32.dll!77d4b3b4()   
        ntdll.dll!7c90eae3()    
        user32.dll!77d494e3()   
        user32.dll!77d4c75c()   
        user32.dll!77d4b7ab()   
        user32.dll!77d4b2a1()   
        user32.dll!77d4b23c()   
        user32.dll!77d4c9e0()   
        user32.dll!77d70494()   
        vcl680mi.dll!SalFrameWndProcW()  Line 5837 + 0x12       
        user32.dll!77d48709()   
        user32.dll!77d487eb()   
        user32.dll!77d70494()   
        user32.dll!77d4b368()   
        user32.dll!77d70494()   
        user32.dll!77d4b3b4()   
        ntdll.dll!7c90eae3()    
        user32.dll!77d4e5e8()   
        vcl680mi.dll!WinSalFrame::SetAlwaysOnTop()  Line 2072   
        vcl680mi.dll!WinSalFrame::ToTop()  Line 2088 + 0xb      
        vcl680mi.dll!Window::ImplToTop(unsigned short nFlags=0)  Line 3594      
C++
        vcl680mi.dll!Window::ImplStartToTop(unsigned short nFlags=0)  Line 3698 
C++
        vcl680mi.dll!Window::Show(unsigned char bVisible='', unsigned short 
nFlags=0)
 Line 6254      C++
        vcl680mi.dll!Window::Show(unsigned char bVisible='', unsigned short 
nFlags=0)
 Line 6276      C++
        spl680mi.dll!desktop::SplashScreen::start(const rtl::OUString & 
aText={...},
long nRange=100)  Line 150      C++
        soffice.exe!desktop::Desktop::OpenSplashScreen()  Line 2524 + 0x5a      
C++
        soffice.exe!desktop::Desktop::Main()  Line 1305 C++
        vcl680mi.dll!SVMain()  Line 264 C++
        soffice.exe!_sal_main()  Line 105       
        [EMAIL PROTECTED]()  Line 97 + 0x20     
        soffice.exe!WinMainCRTStartup()  Line 390 + 0x1b        C
        kernel32.dll!7c816d4f()         
        ntdll.dll!7c915b4f()    
        kernel32.dll!7c8399f3()         

We have to show the splash screen as soon as possible, so this is big
performance hit for this special target.

---------------------------------------------------------------------
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