After updating to Windows 11, opening .txt-files from Windows Explroer is extremely slow.
I mean a situation when Texpad is not running and I double click on a text-file in Explorer.
I just clocked it and it took full 34 seconds. Notepad, on the other hand, opens these instantly.
Also:
I Updated to Texpad 9.52
Updated graphics driver.
Windows is updated.
Very slow opening of txt files from explorer - Windows 11
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Very slow opening of txt files from explorer - Windows 11
I suppose through "right click > open with...", which is not a double click. If yes: does TextPad still need that long when also using "right click > open with..."?
Re: Very slow opening of txt files from explorer - Windows 11
Notepad starts up quicker than TextPad because:
1. It uses an edit control which is already loaded into memory in other contexts.
2. It has a much smaller memory footprint because it has much less functionality.
3. It doesn't have to load its customised state.
4. It only opens one window.
Having said that, on my PC running Windows 11 23H2 with the latest updates, TextPad only takes two or three seconds to be ready for use.
What happens if TextPad is already running when you double click a file in Explorer? Is it opened in the same instance, and how long does it take?
1. It uses an edit control which is already loaded into memory in other contexts.
2. It has a much smaller memory footprint because it has much less functionality.
3. It doesn't have to load its customised state.
4. It only opens one window.
Having said that, on my PC running Windows 11 23H2 with the latest updates, TextPad only takes two or three seconds to be ready for use.
What happens if TextPad is already running when you double click a file in Explorer? Is it opened in the same instance, and how long does it take?
Re: Very slow opening of txt files from explorer - Windows 11
Double-click indeed. My txt-files are associated with Textpad.
Right click → Open with... same result
Re: Very slow opening of txt files from explorer - Windows 11
Thanks for your reply. Yeah, I knew Notepad opens a bit faster in any case, thanks for the details of why.bbadmin wrote: ↑Fri Oct 11, 2024 3:38 pm Notepad starts up quicker than TextPad because:
1. It uses an edit control which is already loaded into memory in other contexts.
2. It has a much smaller memory footprint because it has much less functionality.
3. It doesn't have to load its customised state.
4. It only opens one window.
Having said that, on my PC running Windows 11 23H2 with the latest updates, TextPad only takes two or three seconds to be ready for use.
It opens the file instantly, in the same instance. Should have mentioned this in my first post.What happens if TextPad is already running when you double click a file in Explorer? Is it opened in the same instance, and how long does it take?
I made some more testing. Delay happens only after a reboot. If Texpad has been opend earlier during active Windows session it opens normally, 1-2 seconds. But after a reboot it takes +30 seconds.
Re: Very slow opening of txt files from explorer - Windows 11
And you surely don't have any additional "security" software installed which guards over programs/processes and maybe even gives windows of such programs a red frame? Such a software could also first "scan" a program to be started, resulting in such a long processing time (which you only experience as delay).
Re: Very slow opening of txt files from explorer - Windows 11
I have Avast. It did not interfere like this in Windows 10. You think it behaves differently in Windows 11? I'll test soon.AmigoJack wrote: ↑Fri Oct 11, 2024 5:43 pm And you surely don't have any additional "security" software installed which guards over programs/processes and maybe even gives windows of such programs a red frame? Such a software could also first "scan" a program to be started, resulting in such a long processing time (which you only experience as delay).
Re: Very slow opening of txt files from explorer - Windows 11
I tested disabling Avast right after reboot. Same delay.
I somewhat suspected it could be anti-virus related because Textpad opens in normal time if it is started from a Shortcut or Start menu. There is delay only when I open a text-file from File explorer.
I wrote in earlier reply it went back to normal behauviour after Textpad had been opened once.
This time it had to be opened and closed twice, after which opening time is normal.
I somewhat suspected it could be anti-virus related because Textpad opens in normal time if it is started from a Shortcut or Start menu. There is delay only when I open a text-file from File explorer.
I wrote in earlier reply it went back to normal behauviour after Textpad had been opened once.
This time it had to be opened and closed twice, after which opening time is normal.
Textpad indeed had a red border. I wrote another post of this. Fixed it by changing Textpad theme..."security" software installed which guards over programs/processes and maybe even gives windows of such programs a red frame?
Re: Very slow opening of txt files from explorer - Windows 11
Windows is very busy running background processes after a reboot, so that could be a reason for slow file opening. What's it like if you wait until Windows reaches a quiescent state before double clicking a file? You can check for that by starting Task Manager with Ctrl+Shift+Esc and watching for CPU and memory usage to reach a steady state. On my PC, TextPad then opens a file in less than 3 seconds.