HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-28-2007, 01:03 AM
George Valkov
 
Posts: n/a
Default Windows Picture and Fax Viewer

I noticed that when I try to open a picture from my desktop, Windows Picture
and Fax Viewer shows immediately, indicating the "Generating Preview..."
status for about 7 seconds, and there is extreme disk activity all the time.
After that the picture is displayed.

The same happens every time I click on a picture file, to open it.

I decided to investigate what is wrong, so I used Sysinternals Process
Explorer to pause the process during "Generating Preview...", then I
examined the stack, but only found genuine Microsoft DLLs, the active thread
was using some file system filter which was causing the disk activity.

Then I examined what files were accessed using Sysinternals Process Monitor.
I was astonished to find that Windows Picture and Fax Viewer succeeded to
scan all directories on all hard-disks (I have more than 300 000 files and a
lot of directories) in just 7 seconds!

But why on Earth would it do so? What a bad design from Microsoft! - I asked
it to show me a picture, but it scanned all directories on all disks - every
single one was in the log of Process Explorer!

A little more investigation and I found that this problem will only occur,
if in the same directory where the picture is, there are one or more
shortcuts that point to deleted target.

Gotcha! Windows Picture and Fax Viewer was trying to repair my shortcuts!
This is not part from Explorer, but the Picture Viewer DLL it self. I can
show the File Open or File Save dialog box from any program, then show all
files on the desktop, right-click a picture and select Preview -- and it
will scan all directories on all disks trying to repair the missing
shortcuts.

This is not a good design. Windows should only ask me about broken shortcuts
when I click on them, not when I click on other files. Yes, right... it
didn't ask me, it just consumed resources in the background.


Reply With Quote
Sponsored Links
  #2  
Old 08-28-2007, 01:34 AM
Alias
 
Posts: n/a
Default Re: Windows Picture and Fax Viewer

George Valkov wrote:
> I noticed that when I try to open a picture from my desktop, Windows Picture
> and Fax Viewer shows immediately, indicating the "Generating Preview..."
> status for about 7 seconds, and there is extreme disk activity all the time.
> After that the picture is displayed.
>
> The same happens every time I click on a picture file, to open it.
>
> I decided to investigate what is wrong, so I used Sysinternals Process
> Explorer to pause the process during "Generating Preview...", then I
> examined the stack, but only found genuine Microsoft DLLs, the active thread
> was using some file system filter which was causing the disk activity.
>
> Then I examined what files were accessed using Sysinternals Process Monitor.
> I was astonished to find that Windows Picture and Fax Viewer succeeded to
> scan all directories on all hard-disks (I have more than 300 000 files and a
> lot of directories) in just 7 seconds!
>
> But why on Earth would it do so? What a bad design from Microsoft! - I asked
> it to show me a picture, but it scanned all directories on all disks - every
> single one was in the log of Process Explorer!
>
> A little more investigation and I found that this problem will only occur,
> if in the same directory where the picture is, there are one or more
> shortcuts that point to deleted target.
>
> Gotcha! Windows Picture and Fax Viewer was trying to repair my shortcuts!
> This is not part from Explorer, but the Picture Viewer DLL it self. I can
> show the File Open or File Save dialog box from any program, then show all
> files on the desktop, right-click a picture and select Preview -- and it
> will scan all directories on all disks trying to repair the missing
> shortcuts.
>
> This is not a good design. Windows should only ask me about broken shortcuts
> when I click on them, not when I click on other files. Yes, right... it
> didn't ask me, it just consumed resources in the background.
>
>


Use something like Crap Cleaner to clean out your temp files and this
behavior will disappear. Why, I haven't a clue.

--
Alias
To email me, remove shoes
Reply With Quote
  #3  
Old 08-28-2007, 06:17 AM
Kelly
 
Posts: n/a
Default Re: Windows Picture and Fax Viewer

Hmm, interesting....have sent it on.

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm



"George Valkov" <a@b.com> wrote in message
news:u4%232UbQ6HHA.1148@TK2MSFTNGP05.phx.gbl...
>I noticed that when I try to open a picture from my desktop, Windows
>Picture
> and Fax Viewer shows immediately, indicating the "Generating Preview..."
> status for about 7 seconds, and there is extreme disk activity all the
> time.
> After that the picture is displayed.
>
> The same happens every time I click on a picture file, to open it.
>
> I decided to investigate what is wrong, so I used Sysinternals Process
> Explorer to pause the process during "Generating Preview...", then I
> examined the stack, but only found genuine Microsoft DLLs, the active
> thread
> was using some file system filter which was causing the disk activity.
>
> Then I examined what files were accessed using Sysinternals Process
> Monitor.
> I was astonished to find that Windows Picture and Fax Viewer succeeded to
> scan all directories on all hard-disks (I have more than 300 000 files and
> a
> lot of directories) in just 7 seconds!
>
> But why on Earth would it do so? What a bad design from Microsoft! - I
> asked
> it to show me a picture, but it scanned all directories on all disks -
> every
> single one was in the log of Process Explorer!
>
> A little more investigation and I found that this problem will only occur,
> if in the same directory where the picture is, there are one or more
> shortcuts that point to deleted target.
>
> Gotcha! Windows Picture and Fax Viewer was trying to repair my shortcuts!
> This is not part from Explorer, but the Picture Viewer DLL it self. I can
> show the File Open or File Save dialog box from any program, then show all
> files on the desktop, right-click a picture and select Preview -- and it
> will scan all directories on all disks trying to repair the missing
> shortcuts.
>
> This is not a good design. Windows should only ask me about broken
> shortcuts
> when I click on them, not when I click on other files. Yes, right... it
> didn't ask me, it just consumed resources in the background.
>
>



Reply With Quote
  #4  
Old 08-28-2007, 07:43 AM
George Valkov
 
Posts: n/a
Default Re: Windows Picture and Fax Viewer

Thank You!

"Kelly" wrote:
| Hmm, interesting....have sent it on.
|
| --
|
| All the Best,
| Kelly (MS-MVP/DTS&XP)
|
| Taskbar Repair Tool Plus!
| http://www.kellys-korner-xp.com/taskbarplus!.htm
|
|
|
| "George Valkov" <a@b.com> wrote in message
| news:u4%232UbQ6HHA.1148@TK2MSFTNGP05.phx.gbl...
| >I noticed that when I try to open a picture from my desktop, Windows
| >Picture
| > and Fax Viewer shows immediately, indicating the "Generating Preview..."
| > status for about 7 seconds, and there is extreme disk activity all the
| > time.
| > After that the picture is displayed.
| >
| > The same happens every time I click on a picture file, to open it.
| >
| > I decided to investigate what is wrong, so I used Sysinternals Process
| > Explorer to pause the process during "Generating Preview...", then I
| > examined the stack, but only found genuine Microsoft DLLs, the active
| > thread
| > was using some file system filter which was causing the disk activity.
| >
| > Then I examined what files were accessed using Sysinternals Process
| > Monitor.
| > I was astonished to find that Windows Picture and Fax Viewer succeeded
to
| > scan all directories on all hard-disks (I have more than 300 000 files
and
| > a
| > lot of directories) in just 7 seconds!
| >
| > But why on Earth would it do so? What a bad design from Microsoft! - I
| > asked
| > it to show me a picture, but it scanned all directories on all disks -
| > every
| > single one was in the log of Process Explorer!
| >
| > A little more investigation and I found that this problem will only
occur,
| > if in the same directory where the picture is, there are one or more
| > shortcuts that point to deleted target.
| >
| > Gotcha! Windows Picture and Fax Viewer was trying to repair my
shortcuts!
| > This is not part from Explorer, but the Picture Viewer DLL it self. I
can
| > show the File Open or File Save dialog box from any program, then show
all
| > files on the desktop, right-click a picture and select Preview -- and it
| > will scan all directories on all disks trying to repair the missing
| > shortcuts.
| >
| > This is not a good design. Windows should only ask me about broken
| > shortcuts
| > when I click on them, not when I click on other files. Yes, right... it
| > didn't ask me, it just consumed resources in the background.
| >
| >
|
|


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Picture & Fax Viewer Zelda4 Microsoft Office 1 06-14-2007 07:41 PM
Windows Picture Viewer for Windows Vista Mr.Ricno Windows Vista 5 06-13-2007 09:04 PM
how do i set microsoft picture viewer as my default picture viewe KEN Microsoft Office 1 04-26-2007 08:19 PM
Bug in Windows Picture and FAX Viewer (XP SP2) JohnC Windows XP 0 03-29-2007 03:39 PM


All times are GMT. The time now is 12:56 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger