ptoye wrote:Thanks very much (again) for that link - it's a really good explanation. But I notice that it uses the term "lazy" to describe programmers who don't handle the "X" icon properly. As opposed (presumably) to "lazy" users who prefer a single click on the "X" icon to the 2 clicks on File|Exit,....
It was, of course, interspersed with personal opinion, but his point was that Best Practice would be to hook the X to the same block of (clean exit) code that is called by File > Exit. Which would enable all of us lazy users (self included

) to use the X without fear of problems. (Never heard of any until this thread, TBPH.)
ptoye wrote:.... which has disappeared from Firefox in Version 9 anyway
Lazy developers?
You'd think they'd update that Help section accordingly, wouldn't you?
and been replaced by the Firefox box at the top left.
I'll have to look at that F-box sometime. The X always works, but I prefer the longer-vetted 3.6.x branch to the new-every-two-months thing. Less troublesome.

IMHO. YMMV.
And I found the problem by shutting down by accident, so the distinction between the "X" box and File|Exit didn't apply. I'd assume that shutdown is closer to "X" than to File|Exit, and possibly even more drastic. But I'm not a Windows programmer - my few brushes with the API have been fairly disastrous.
I'm not a Windows programmer either, thank goodness

, but if we're talking about either a hard machine shutdown or a TaskMgr process shutdown, IIUC the main issues are killing without being able to save changes (config and otherwise), doing what needs to be done with cached stuff (in general memory and the specific blocks for the program or process), save data or entries since last save (e. g., text doc; adding to your whitelist and killing before clicking "OK"), etc.
This is supposed to be bad if the stuff involved is system stuff, but Windows has gotten a lot more resilient, probably because of extending NTFS, a "journaling" file system, from the business-only line into the consumer line, mostly by merging the two. (Win 98 = FAT. Win 2000 = NT 5 = NTFS. Win XP = NT 5.1 -- it says so in my useragent string, down below, and in yours, NT 6.1 -- = NTFS also.) Being a tweaker, I've crashed a few times, and sometimes had to do hard shutdowns, but *so far*, never caused any damage. Maybe boot once to boot-selection screen, then try again to normal boot. BSOD now BSOTA? (Blue Screen Of Try Again?) Not recommending it, of course!!!
But this brings the subject back too: why is it hanging in the first place? I'll look at Alan Baxter's links (I seem, perversely, to work from the bottom up).
Note that one of the tips @ Alan's lnk says,
"A problematic extension can cause the problem..."
which
may not be NoScript. Strange as it sounds, another extension (written by a much lazier developer than Signore Maone

) may cause a conflict with NS -- we've seen it many times. Hence, the usual advice is to try
Standard Diagnostic.
If you want to shortcut that, create a clean
profile from scratch, install *only* the latest NS, and then see if the issue persists. If not, then it's likely that the culprit was another extension. Add them back one by one until you can reproduce the issue. If they all work fine, then it was probably a corruption in the profile itself. There are ways to deal with that, but if the new profile works with all extensions, why bother? Set your preferences manually rather than copying possibly corrupted files, and if all is still good, import your bookmarks. (Hoping the bookmarks file wasn't corrupted!)
If a clean profile and only NS still causes the issue, consider seriously the possibility of malware. As Alan's link also says,
Interactions between certain Internet security software (firewall, anti-virus software) is reported to cause the issue on some systems.
Who are your AV and firewall providers? If the machine scans completely clean with your current AV, try MalwareBytes Anti-Malware and others.
And no shame if it does. I've detected several infections in friends' machines just from e-mail they sent me, and saw one in that of a friend with a Master's in CSci. It can happen to *anyone*.
(Well, *almost* anyone. IMHO, code that isn't there can't hurt you, so I just threw away 95% of Windows. %windir% runs about 195 MB. *Also* NOT recommended - undocumented.)
