Bug 478465

Summary: KateCompletionWidget incorrectly hides the search field
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: kndevl
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, waqar.17a
Priority: NOR    
Version First Reported In: 5.246.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: gammaray on kate

Description kndevl 2023-12-13 04:11:45 UTC
Created attachment 164126 [details]
gammaray on kate

I am not sure if this is specific to ktexteditor or one of its components. I first noticed this issue in Kate.

Reproducible with Archlinux kde-unstable repo: https://archlinux.org/packages/kde-unstable/x86_64/ktexteditor/ with kate built from master. This is not an issue on kf5 based kate on arch main repos.

Steps: Run kate and open the config dialog

Observed behavior: KateCompletionWidget (owned by KateConfigDialog) hides the search field in the config dialog. Please ignore the red outline around the widget because that's how gammaray paints the selected widget.

I think the reason is KateCompletionWidget should not be visible by default and be only made visible when the user starts typing into the search field. Toggling the visible checkbox in gammaray fixes it.

Attached a picture of gammray running on kate
Comment 1 Waqar Ahmed 2023-12-14 08:20:12 UTC
Can you pull the latest master and try again? I think I fixed this last week.
Comment 2 kndevl 2023-12-14 08:21:25 UTC
Sure! Latest master of ktexteditor right?
Comment 3 Christoph Cullmann 2023-12-18 18:52:07 UTC
That seems to be fixed in master, yes.