Page 1 of 2

Help: "Error in the message queue"

Posted: Sat Jan 11, 2025 12:30 am
by Cleverson
Hello,
I'm getting a dialog box which says "Error in the message queue", with an OK button. When I click OK, AkelPad closes. I'm not sure if the wording is exactly that, because I'm using AkelPad in Brazilian Portuguese. Is it a known bug?
I haven't yet found the exact steps to reproduce the bug, but it seems to occur when I cut some text, though not each time I do it.
In my previous machine, I was using AkelPad 4.9.8 on Windows 11, and this error didn't happen. Now I have a new machine running the latest Windows 11 and the new AkelPad 4.9.9.

Thanks for any help.

Re: Help: "Error in the message queue"

Posted: Sun Jan 12, 2025 5:28 pm
by Instructor
Can you write what code in queue error message shown in test version x86 / x64?

Re: Help: "Error in the message queue"

Posted: Mon Jan 13, 2025 12:46 pm
by Cleverson
Thanks, I'm waiting for the error to appear again.

Re: Help: "Error in the message queue"

Posted: Tue Jan 14, 2025 2:44 pm
by Cleverson
OK, the error occurred; the message is:
Error in message queue (1400).

For context, it occurred when I closed a file. the file is small, only 36 bytes, and was'nt modified. I'm not sure whether this is the same error that occurs in the stable version, since this test version didn't close when I press OK on the error dialog. In the stable version, AkelPad closes.
Just now after the error, I opened the same file again, then closed it, and the error didn't occur this time.

Re: Help: "Error in the message queue"

Posted: Tue Jan 14, 2025 5:26 pm
by Instructor
1400 is ERROR_INVALID_WINDOW_HANDLE
In the stable version, AkelPad closes.
Code was changed. AkelPad will not close on error.

We can monitor the error: does it occur only when a window is closed.

Re: Help: "Error in the message queue"

Posted: Tue Jan 14, 2025 6:02 pm
by Cleverson
In fact, It may be window related. Now it occurred again, right when I pressed alt+tab on my keyboard to change from AkelPad to another application. But it's really random. I went back to AkelPad, then changed to another application again using alt+tab, and no error this time.

Re: Help: "Error in the message queue"

Posted: Tue Jan 14, 2025 6:08 pm
by Instructor
Can you send/share you akelpad folder (with settings in ini)?

Re: Help: "Error in the message queue"

Posted: Tue Jan 14, 2025 7:25 pm
by Cleverson

Re: Help: "Error in the message queue"

Posted: Wed Jan 15, 2025 6:38 am
by Instructor
Access denied on link.

Re: Help: "Error in the message queue"

Posted: Wed Jan 15, 2025 11:56 am
by Cleverson
Sorry; I've just given you access now.

Re: Help: "Error in the message queue"

Posted: Wed Jan 15, 2025 2:19 pm
by Instructor
This is AkelFiles folder. Need root AkelPad folder with AkelPad.ini file.

Re: Help: "Error in the message queue"

Posted: Wed Jan 15, 2025 3:50 pm
by Cleverson
OK, here is the link; access granted already:
https://drive.google.com/file/d/1H2Z7BJ ... sp=sharing

Re: Help: "Error in the message queue"

Posted: Wed Jan 15, 2025 5:08 pm
by Instructor
Checked. Nothing suspicious.

May be you have some resident software that hooks messages, such as translator, keyboard corrector, etc?

Re: Help: "Error in the message queue"

Posted: Thu Jan 23, 2025 2:07 pm
by Cleverson
Just FYI, I'm still trying to determine the cause of this problem. when I restart my system, it stops happening for a while. It appears to start again when the system suddenly re-arranges the windows in the desktop. Such re-arrangement appears to be caused by Microsoft Teams, an app I don't like at all, but unfortunately is required by my employer for online meetings.

Re: Help: "Error in the message queue"

Posted: Mon Jan 27, 2025 1:34 pm
by Instructor
At least AkelPad now doesn't close when an error occurs.