QodeAssist icon indicating copy to clipboard operation
QodeAssist copied to clipboard

QtCreator not responding with automatic FIM

Open miemoe opened this issue 8 months ago • 8 comments

Sometimes QodeAssist FIM starts, gets no results and blocks QtCreator It is not easy to reproduce the bug. I'm using Codestral with the version 0.5.11 of QodeAssist. Sometimes it proposes nice text, that I take (press TAB) and then I go into the code and start changening. The e.g. by pressing enter in the code line, where I want to change something, keeping the to be replaces code for an idea, how to adapt.

Expected behavior I should still propose possible solutions

Screenshots QtCreator is not responding (greyed out on Windows), but the FIM Q is still visible. However it is not animated.

Is there something, what I could add to this issue to help to find the culprit. In the last 10 Minutes it happened 2 times (and 5 Minutes of this was getting to restart QtCreator ...)

miemoe avatar Apr 28 '25 12:04 miemoe

hm, interesting bug, thank you

Palm1r avatar Apr 28 '25 13:04 Palm1r

QodeAssist-v14709337734-QtC16.0.1-Windows-x64.7z.zip

I reverted commit with new merging logic, please try

Palm1r avatar Apr 28 '25 13:04 Palm1r

I'll give it a try today. Let's see, if there is any change.

Edited some text. No crash until now, even though FIM jumps in during editing. As I don't know, how to produce the problem in the first place: this is just a statistical feedback.

miemoe avatar Apr 29 '25 11:04 miemoe

I sometimes face with overrange qringbuffer in networking, maybe this is root cause indeed

Palm1r avatar Apr 30 '25 06:04 Palm1r

Still blocking from time to time.

Image

The "Q" is not animated anymore, the window cursor is "spinning" all the time. QtCreator does not come back.

The "Q" is sitting in front of all windows. Used Process Explorer to gain more insignt. QtCreator is running on one kernel in endless loop?

Image

miemoe avatar Apr 30 '25 10:04 miemoe

Yeah, looks problem with networking, I will try to improve that as soon as possible. Unfortunately I don't see another suggestion, sorry

Palm1r avatar Apr 30 '25 11:04 Palm1r

I made improvements with connection, maybe it will fix current problem

Palm1r avatar May 01 '25 13:05 Palm1r

I'll try it tomorrow.

miemoe avatar May 01 '25 18:05 miemoe