| Summary: | When programming in golang an output window pops up with many error messages that hinders typing resulting in pressing the same key multiple times to get a character through (e.g. pressing { many times which generates errors msgs and missed keystrokes) | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Oma <bugreport> |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 21.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/commit/d8e96f06c2d251a5d92c66cf71d3b9d989814ba5 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
A lot of this is fixed in the latest release. If you can, please upgrade to 22.12 and see if there are issues still. Besides for the 'output' pane popping up, it can be configured in Settings - Behavior. A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1052 Git commit a77f106849c522cec1b1c9495b5d22f5afdd55f0 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 01/01/2023 at 14:38. Pushed by cullmann into branch 'master'. lsp: Downgrade window/logMessage to MessageType::Log Some servers do a lot of logging and some of those log messages are Errors. These errors are not meant to interrupt the user, they should just be _logged_. Some servers e.g., gopls is completely unusable with Kate without this Related: https://github.com/golang/go/issues/33467 M +17 -1 addons/lspclient/lspclientpluginview.cpp https://invent.kde.org/utilities/kate/commit/a77f106849c522cec1b1c9495b5d22f5afdd55f0 Git commit d8e96f06c2d251a5d92c66cf71d3b9d989814ba5 by Waqar Ahmed. Committed on 02/01/2023 at 07:48. Pushed by waqar into branch 'release/22.12'. lsp: Downgrade window/logMessage to MessageType::Log Some servers do a lot of logging and some of those log messages are Errors. These errors are not meant to interrupt the user, they should just be _logged_. Some servers e.g., gopls is completely unusable with Kate without this Related: https://github.com/golang/go/issues/33467 (cherry picked from commit a77f106849c522cec1b1c9495b5d22f5afdd55f0) M +17 -1 addons/lspclient/lspclientpluginview.cpp https://invent.kde.org/utilities/kate/commit/d8e96f06c2d251a5d92c66cf71d3b9d989814ba5 |
SUMMARY *** When programming in golang an output window pops up with many error messages that hinders typing resulting in pressing the same key multiple times to get a character through (e.g. pressing { many times which generates errors msgs and missed keystrokes) *** STEPS TO REPRODUCE 1. Install Kubuntu 22.04 2. Install Golang from repositories (ver 1.8.X at the time of writing) 3. start coding in go and the output console starts showing LSPServer errors. OBSERVED RESULT Partial autocompletion happens but keystrokes get missed when these LSPserver errors start getting generated and slows things down. EXPECTED RESULT Auto completion or keywords/code structure (e.g. {} ) and so on. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Linux 5.15.x / Plasma 5.24.7 (available in About System) KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION This may not help but I am very new to both KDE / Kudbuntu and Golang in general - I'm using everything almost as is out of the box. Below is an example of the most common error that pops-up for me. There are others but I could not capture them all. ``` 2022/12/01 10:08:32 DocumentSymbols failed: invalid pos URI=file:///home/tiny/go/src/cnv-chr-ren-file-extract-subtitle-spltup-file-denGO2riverNile-upload2ORG-Archive/dengo2rvrnile.go 2022/12/01 10:08:59 DocumentSymbols failed: invalid pos URI=file:///home/tiny/go/src/cnv-chr-ren-file-extract-subtitle-spltup-file-denGO2riverNile-upload2ORG-Archive/dengo2rvrnile.go 10:08:32 LSP Server Error go@/home/tiny 10:08:59 LSP Server Error go@/home/tiny ```