Bug 500521

Summary: LSP "Search and Go to Symbol" dialog doesn't open
Product: [Applications] kate Reporter: michael.goeke
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 24.12.3
Sentry Crash Report:

Description michael.goeke 2025-02-21 13:47:17 UTC
After updating to Tumbleweed 20250216 LSP Client (clangd) "Search and Go to Symbol" (Ctrl+Alt+P) doesn't have any effect.

STEPS TO REPRODUCE
1. Open a c++ File
2. Press Ctrl+Alt+P

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The  dialog should open.

SOFTWARE/OS VERSIONS
Tumbleweed 20250216
Comment 1 Waqar Ahmed 2025-02-25 08:09:11 UTC
Works here, clangd-19, so no idea whats happening on your side. The dialog opening is not directly related to LSP. The dialog should always open if we have a server running for the active document.

So, probably clangd is not running at all for some reason. Check the Output pane for any errors
Comment 2 michael.goeke 2025-02-25 08:58:54 UTC
clangd 19.1.7 is running.

The other functions of LSP are working (go to definition/declaration, symbol list, find reference, ...).

Just "Search and Go to Symbol" does nothing and only the information about LSP server was started is in the output pane.
Comment 3 Waqar Ahmed 2025-02-25 09:27:15 UTC
Are you on kde plasma? wayland?

Please share more info about your system.

Also can you check whether clicking "Compare Branch..." or "Checkout Branch.." buttons open a dialog?
Comment 4 michael.goeke 2025-02-25 14:05:56 UTC
System is plasma 6.3.1 on X

Kate: 24.12.2
KDE Frameworks: 6.11.0
Qt: 6.8.2
openSUSE Tumbleweed (Xcb) - 20250223
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.13.4-1-default

The  "Compare Branch..." or "Checkout Branch.." buttons do not open a dialog.

SVN is used for our project. I tested a simple git project but behavior is the same.
Comment 5 Bug Janitor Service 2025-02-25 15:16:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1734
Comment 6 Waqar Ahmed 2025-02-25 15:24:53 UTC
Git commit 1bbd3ed383303f5ca53b1518cf8a6013f504f1dc by Waqar Ahmed.
Committed on 25/02/2025 at 14:54.
Pushed by waqar into branch 'master'.

Use a normal widget for our HUD dialog

Avoid windowing bugs and be consistent with quickopen/command bar

M  +3    -7    addons/lspclient/gotosymboldialog.cpp
M  +0    -2    addons/lspclient/gotosymboldialog.h
M  +3    -2    addons/lspclient/lspclientpluginview.cpp
M  +4    -1    addons/project/branchcheckoutdialog.cpp
M  +3    -16   addons/project/branchesdialog.cpp
M  +0    -7    addons/project/branchesdialog.h
M  +15   -13   addons/project/gitwidget.cpp
M  +2    -2    addons/project/kateprojectpluginview.cpp
M  +4    -2    addons/project/pushpulldialog.cpp
M  +5    -3    addons/project/stashdialog.cpp
M  +1    -1    addons/project/stashdialog.h
M  +78   -16   apps/lib/quickdialog.cpp
M  +5    -2    apps/lib/quickdialog.h
M  +2    -27   apps/lib/quickopen/katequickopen.cpp

https://invent.kde.org/utilities/kate/-/commit/1bbd3ed383303f5ca53b1518cf8a6013f504f1dc
Comment 7 Waqar Ahmed 2025-02-26 05:25:49 UTC
Git commit 007328185e667ee8d5b46b664dd9c305bf6ce71c by Waqar Ahmed.
Committed on 26/02/2025 at 05:22.
Pushed by waqar into branch 'release/24.12'.

Use a normal widget for our HUD dialog

Avoid windowing bugs and be consistent with quickopen/command bar
(cherry picked from commit 1bbd3ed383303f5ca53b1518cf8a6013f504f1dc)

M  +3    -7    addons/lspclient/gotosymboldialog.cpp
M  +0    -2    addons/lspclient/gotosymboldialog.h
M  +3    -2    addons/lspclient/lspclientpluginview.cpp
M  +4    -1    addons/project/branchcheckoutdialog.cpp
M  +3    -16   addons/project/branchesdialog.cpp
M  +0    -7    addons/project/branchesdialog.h
M  +15   -13   addons/project/gitwidget.cpp
M  +2    -2    addons/project/kateprojectpluginview.cpp
M  +4    -2    addons/project/pushpulldialog.cpp
M  +5    -3    addons/project/stashdialog.cpp
M  +1    -1    addons/project/stashdialog.h
M  +78   -16   apps/lib/quickdialog.cpp
M  +5    -2    apps/lib/quickdialog.h
M  +2    -27   apps/lib/quickopen/katequickopen.cpp

https://invent.kde.org/utilities/kate/-/commit/007328185e667ee8d5b46b664dd9c305bf6ce71c
Comment 8 michael.goeke 2025-03-13 10:02:54 UTC
After the update to tumbleweed 2025031 (Kate 24.12.3) it works again.
THX