Bug 511318 - LSP Client plugin out of order messages
Summary: LSP Client plugin out of order messages
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 13:27 UTC by qclab
Modified: 2025-10-29 13:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
LSP log snippet (1.45 KB, text/plain)
2025-10-29 13:27 UTC, qclab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qclab 2025-10-29 13:27:12 UTC
Created attachment 186290 [details]
LSP log snippet

SUMMARY
LSP Client plugin displays error messages on typing.


STEPS TO REPRODUCE
1.  Open a Go project with the LSP server installed and the LSP Client plugin enabled.
2.  Ensure options 'Show notifications from LSP server' and 'Highlight symbol under cursor' are enabled.
3.  Place cursor at the end of a line in a Go file.
4.  Type repeatedly.

OBSERVED RESULT
An error message from the LSP server is displayed.

EXPECTED RESULT
No error message is displayed.

SOFTWARE/OS VERSIONS
Kate: 25.11.70
KDE Frameworks: 6.19.0
Qt: Using 6.9.2 and built against 6.9.2
Windows 10 Version 22H2
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.19045


ADDITIONAL INFORMATION
Server logging shows 'textDocument/documentHighlight' sent before 'textDocument/didChange'. The client is therefore requesting highlight information on part of the document model it has not yet sent to the server.