Menu

Slow window paint (after alt+tab)

2007-06-27
2012-11-13
  • Nobody/Anonymous

    I often reference two windows quickly with alt+tab and have been noticing that Notepad will take a long time to respond and display.  I thought it may be having too many tabs open at once but I closed all others and the issue still occurs.  Any hints?

     
    • Nobody/Anonymous

      Yes I am also primarily opening from network shares.

       
    • Anonymous

      Anonymous - 2007-06-27

      Yeah, I've noticed that too. Checking this using ProcMon shows many of these calls:

      120107    2:21:40.5865804 PM    notepad++.exe    3444    CreateFile    C:\Windows\CSC\v2.0.6\namespace\divebomb    NAME NOT FOUND    Desired Access: Read EA, Write EA, Read Attributes, Write Attributes, Delete, Read Control, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

      Not sure why there is so much going on with C:\Windows\CSC\v2.0.6\namespace.

      Seems that for every file open these calls are made, introducing a several second delay for every file. Checking with no file open confirms this: the window is almost (re)painted immediately.

      Now, when I opened only local txt files it also works fast. Are you opening files from a network share?