texstudio
texstudio copied to clipboard
Search/replace tasks taking for so long and constantly "freezing" the computer
Environment
- TeXstudio: 4.3.0
- OS: Windows10
- TeX distribution: miktex
Description
Hi there. I have been using TexStudio for many years, and there has never been any problem. However, in the last year or so, the search & replace tasks are taking an annoying amount of time, with the editor freezing for some seconds every time I must do a search/replace operation. It happens even when I only have one file open. I have seen some related discussions in the forums, but nothing that really helps. Is there any way I can fix that?
Thanks and regards
there needs to be a test case which demonstrates the issue. That means a tex file, some instructions how to see the issue and possibly a screencast. Windows offers tools for that (e.g. snippet tool for screenshots, google for scrrencast & windows)
I had the same problem on Windows 10. Try to use QT6 version of the program, it seems to be quicker for me.
no feedback
Sorry for not providing feedback before, I had some problems recording and uploading the video. Here's what constantly happens to my computer. I have recently upgraded to version 4.3.1 Qt6 and still the same problem.
https://user-images.githubusercontent.com/29042309/187325702-f69e77af-0548-48ba-8064-6792be079543.mp4
@javifcano I noticed that your source .tex
file is located on a portable flash drive. I know that some of them have ridiculously slow reading speed. Do you have the same issue with projects that are located on the same hard drive where your TeXStudio is installed?
is txs portable or installed version ?
If installed, is %appdata%\texstudio\texstudio.ini contain lots of data in Search\Find%20History
?
Does it get better if that key is removed ? If texstudio.ini is removed/renamed ?
Hi there, thanks for your support.
I have TexStudio installed. I tried to copy the source files in the same hard drive C:, but still the same problem.
texstudio.ini contains lots of data within Search\Find%20History, with the search&find history, plus tens of thousands of this weird character Ã. I have removed those lines, but still the same problem.
I haven’t tried to remove texstudio.ini? Should I do it? Is it safe to do it?
Thanks
De: sunderme @.> Enviado: martes, 30 de agosto de 2022 19:53 Para: texstudio-org/texstudio @.> Cc: Javier Cano Cancela @.>; Mention @.> Asunto: Re: [texstudio-org/texstudio] Search/replace tasks taking for so long and constantly "freezing" the computer (Issue #2524)
is txs portable or installed version ? If installed, is %appdata%\texstudio\texstudio.ini contain lots of data in Search\Find%20History ? Does it get better if that key is removed ? If texstudio.ini is removed/renamed ?
— Reply to this email directly, view it on GitHubhttps://github.com/texstudio-org/texstudio/issues/2524#issuecomment-1231982831, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5SNBPSJBPRNTPVUFQAPZTV3ZDCPANCNFSM56GB76MQ. You are receiving this because you were mentioned.Message ID: @.***>
You can remove it but it contains your settings (if you changed something).Renaming allows you to use it again later. Txs needs not to run while you change anything here.
Yes, removing texstudio.ini worked!! I'll try to edit the original file, removing all the unnecessary information but still keeping the necessary settings, but it seems to be what was causing the problem. Thanks and regards
De: sunderme @.> Enviado: martes, 30 de agosto de 2022 22:44 Para: texstudio-org/texstudio @.> Cc: Javier Cano Cancela @.>; Mention @.> Asunto: Re: [texstudio-org/texstudio] Search/replace tasks taking for so long and constantly "freezing" the computer (Issue #2524)
You can remove it but it contains your settings (if you changed something).Renaming allows you to use it again later. Txs needs not to run while you change anything here.
— Reply to this email directly, view it on GitHubhttps://github.com/texstudio-org/texstudio/issues/2524#issuecomment-1232148479, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5SNBM2UBRH4GLOVXFTLBDV3ZXD7ANCNFSM56GB76MQ. You are receiving this because you were mentioned.Message ID: @.***>
It would be interesting to know what in texstudio.ini caused the issue. In case you like to dig.
As you said, it was the log at the Search\Find%20History. Before removing that, the file size was 3.5MB; after, only 20KB. That has made the difference. Now, everything has back to normal: outstanding performance of TexStudio!!
De: sunderme @.> Enviado: martes, 30 de agosto de 2022 23:39 Para: texstudio-org/texstudio @.> Cc: Javier Cano Cancela @.>; Mention @.> Asunto: Re: [texstudio-org/texstudio] Search/replace tasks taking for so long and constantly "freezing" the computer (Issue #2524)
It would be interesting to know what in texstudio.ini caused the issue. In case you like to dig.
— Reply to this email directly, view it on GitHubhttps://github.com/texstudio-org/texstudio/issues/2524#issuecomment-1232196756, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5SNBPNHXTUZQUQOIA67LDV3Z5PZANCNFSM56GB76MQ. You are receiving this because you were mentioned.Message ID: @.***>