-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lintalist 1.9.9 freezes/crashes after a while #145
Comments
Thanks for the report. That isn't supposed to happen of course 😿 It doesn't crash for me, and when it did in the past it was usually a problem of it being stuck in a loop or a faulty plugin causing a memory leak. So do you notice that it happens after you've used specific snippets and/or bundles? If you do, posting such a snippet would be helpful. Do you use it in a dropbox or similar folder or just from a normal folder on your computer or thumb drive? Perhaps you can post your |
To answer your questions:
Thank you. |
I've used your setup all day and it kept on working with the lintalist.exe that comes with the download. I do see you are using colors for the bundles I'll try to look into it some more and see if I can spot something. |
Today I've not used Lintalist (I had a meeting in another city). I've just started my pc. I will change the color setting. I'll keep you informed. |
That sounds like a memory leak / stuck in a loop problem as I mentioned earlier. Strange. Another thing you could try is to update the lintalist.exe - I've downloaded it for you[1] - lintalist.exe is the 32bit latest version of AHK, lintalist64.exe the 64-bit version. If you can run the 64-bit you need to rename it to lintalist.exe. You can copy it over the current lintalist.exe [1] You can also download them yourself here https://www.autohotkey.com/download/ (download the zip, in the zip there are two U(nicode) versions, 32 and 64bit. |
Thank you. Yesterday I removed all lintalist files (except settings.ini) and the bundles and reinstalled linstalist from scratch. Still crashing. (Changed also DisplayBundle=2 --> DisplayBundle=0) |
No problems till yet. |
No problems. The 64-bit Lintalist version resolved the problem. Thank you. |
Still strange that the 32bit version crashes. But if it no longer occurs when using the 64bit there probably is no error in the Lintalist code so I'll close the issue. From the next update I'll release both 32 and 64 bit versions. |
64bit available https://github.com/lintalist/lintalist/releases/tag/v1.9.10 |
Hello, my Lintalist doesn't crash anymore but I noted that after a while it doesn't work anymore as if the app is sleeping. I had no problem before installing 1.9.9. |
Does it still respond to the tray menu or is that also completely unresponsive? |
It respond to the tray menu. |
If you select the top tray menu item (the bold lintalist + version number item) does it open the Search Gui? If it does, does it then respond again to open/close search? |
The first question: (Lintalist 1.9.10) --> yes it does open the Search Gui |
I mean does it toggle open + close search if you press capslock and esc after that, is it response again after that? Is there a problem with shorthand or shortcut or just the opening of the search window and selecting a snippet? |
Hi, |
Ah I see - what probably happens is that you use a hotkey to paste a snippet and after that the shorthand stops working. For one reason or another it doesn't jump back in the checktyped loop which tracks what is being typed and thus sees any defined shorthands. Using Hotstring() as noted in #144 will fix this as it will no longer rely on the loop, thanks for the feedback. |
Are you sure? I can use the shorthand many times but after a while when I don't use it (approx. 10 minutes I noted today), it doesn't work anymore. |
Not entirely sure about the exact reason, but I recall something similar with #52 (choice plugin) and this sounds like it. Background: There is an always running loop https://github.com/lintalist/lintalist/blob/master/lintalist.ahk#L323 that tracks what you type, but somehow when you use it it jumps out but doesn't jump back in afterwards as it should. As that loop will be removed at some point and replaced by native AHK Hotstrings it should go away. I have only started a small experiment, nothing major yet and I want to publish it as a beta first - I'll tag this issue when I've done so (could be a little while though). If it is really problematic you could add a hotkey to lintalist.ahk here https://github.com/lintalist/lintalist/blob/master/lintalist.ahk#L350 winkey-F12 for example |
Hello, I'm still using |
I haven't addressed the issue yet I'm afraid |
Hello, found the new release. |
I've started some experiments with Hotstrings() but that won't be ready for a while as it is rather complicated to replace (long story but shorthand and hotkey share some code which needs to be sorted out as well) |
Am I the only one who has this problem? Anyway, I wish you all a Happy Easter. |
All I can think of is adding a extensive debug function that logs every "action" and saves it to a log file every few minutes - and once it fails it may show "something" - I can't replicate it so I'm in the dark. |
Phew... I can't imagine I'm the only one. People who test this program and see that it doesn't work won't probably write in github like me. They just won't use it. |
Just so you know - the latest update didn't address this issue, just updates for updating/restarting lintalist. |
As mentioned sometimes reloading doesn't help, could it be that for one reason or another the shorthand is actually disabled? Perhaps worth checking the variable when you press the reload shortcut - if it says "ShorthandPaused: 1" it is disabled which means it simply ignores what you type. #F12::
MsgBox ShorthandPaused: %ShorthandPaused%
Reload
Sleep 1000
Return I doubt it is the cause but it just sprung to mind. |
yes yes, that's what you've told me in a previous message |
ShorthandPaused is not disabled. As you wrote months ago, you would try to fix the hotstrings issue . I was hoping the next version would fix it and as you said I could use "#F12::Reload" in the meantime. Two versions have already passed and my hotstrings still do not work without using Reload and sometimes 2x Reload in succession. That's why I'm thinking about entering the hotstrings in Autoit. What I find strange is that it worked great in 1.9.9 or the version just before (I can't remember the release nr.). Have been using Lintalist for years and hotstrings never gave problems until 2 or 3 versions ago. |
There is now a development branch which now uses hotstrings here: Backup your bundles if you want to try it out :) Curious to hear if it also stops working or if by using hotstrings the issue has been resolved. |
I'm sorry but I removed all hotstrings after 5 months of reloading lintalist before each hotstring use. |
You could try with one you use often and you'd notice soon enough if it stops. But I don't blame if you don't have the time of course. |
I don't think I'll switch my hotkeys back to Lintalist again but I just want to thank you for the development of Lintalist and will check it out. |
I just fixed a bug which didn't make it start at all so you're actually in luck for not trying it out directly :) Here is are "release" versions with lintalist.exe included just in case you'd like to try: As a thought: perhaps the cause isn't lintalist/autohotkey - but if you are using other programs with hotkeys/hotstrings/keyboard-'thing' there simply might be a conflict of "who monitors it" in such cases there may not be a workable solution and on just omit using one or the other app. |
Ah. same lintalist.exe file. True that I always have an autoit file active but years ago I deciced to remove all hotstrings to put them in Lintalist. Never had problems till 5 months ago when I upgraded Lintalist to version.... (I didn't touch my autoit file 5 months ago). I'll disable my autoit file the next days in order to test lintalist. |
No problems till now :) |
Hi, Tried to use the hotstring I added, 15 - 20 times these 3 days. The only thing I noted (when I used my clipmanager) that the hotstring was added to the clips. I hope you can do something with my info. |
Thanks for the feedback. I've noticed a few oddities myself so further works needs to be done. Short shorthands (dd for example) do work but only erase what has been typed (the dd) but don't send the snippet the first time around. A bit hit and miss. Lintalist always uses the clipboard, this is mostly helpful for large(r) text - and formatted text - and not so much for shorter typos (abuot -> about) yet - I will probably introduce some settings to let the user set a "length" where it should just use the standard autohotkey feature (everything below 15 chars for example and NOT having a plugin) - when a plugin is used I will probably always use the clipboard method. |
Out of curiosity: do you happen to use virtual desktops? I don't myself but observed "hotstrings stop working" when I saw someone else use it, just wondering if it was related to this. If so I might try it for a while myself and see what happens. |
Hello, No I don't use virtual desktops. |
Thank you for the feedback :) Still trying to find the cause.... |
This issue is one I experience as well. Recently shared Lintalist with a few friends at work and they're experiencing same. Pretty frustrating since the ultimate utility for the text expansion is time saving. It's still time saving to expand a three line text snippet by way of restarting, but it's harder to get buy-in with this bug. Happy to do any testing to try to resolve. Lintalist 64-bit [I think? notice how procexp reports 32-bit, could the problem be 32-bit getting bundled as 64?] running as admin: Other details, in case relevant: Running from a onedrive directory I also use VirtuaWin for virtual desktops, and Clipjump [an autohotkey program] but I've used that config in the past with no issue and the other users who are experiencing the same issue are not using any of that software. They're also on win10 latest with the latest 64-bit version as offered. Love your program, love showing it to people, would super love to help get this fixed if possible :) Huge thanks for all the amazing work! |
Just to add: I re-downloaded the latest version, unpacked to a non-watched-by-OneDrive directory, and it's showing as a 64-bit app. Will run this way and report back if issues are cleared up, or not. |
Just to report back with the latest version unpacked and it showing a 64-bit exe I no longer have this issue myself. |
Thanks for the feedback - if you do spot a pattern if/when it stops - do let me know! |
I've installed Lintalist 1.9.9.
As before Lintalist starts at windows startup.
Never had any problem with previous versions of Lintalist.
But now.. the first 20/30 minutes Lintalist works as always but after a while it stops working and when I move with my mouse over the Lintalist icon in the system tray the icon disappears.
(It doesn't stop working after I do a certain action)
I don't have AHK installed.
When I reclick on Lintalist.exe it works again.
The text was updated successfully, but these errors were encountered: