Bug 425246

Summary: User defined keyboard shortcuts definition freezes editing
Product: [Applications] kate Reporter: ineuw <ineuw01>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: justin.zobel
Priority: NOR    
Version First Reported In: 19.12.3   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: linux inxi system report
kate configuration files

Description ineuw 2020-08-12 07:03:24 UTC
Created attachment 130810 [details]
linux inxi system report

SUMMARY
User defined keyboard shortcuts definition freezes editing.

STEPS TO REPRODUCE
1. Used Normal without text highlighting.
2. Created a new keyboard shortcuts file named 'ineuw'.
2. Added a single shortcut to activate dynamic word wrap as 'alt+q' instead of the default F10. Dynamic wordwrap was enabled, Static wordwrap was disabled.
3. Exited Kate.

OBSERVED RESULT
Document opens with the text in wrapped mode and the cursor, document navigation, and keyboard are frozen.

EXPECTED RESULT
Wrap/unwrap the text as defined in settings and keep on editing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: qt5?

ADDITIONAL INFORMATION
Comment 1 ineuw 2020-08-12 08:04:56 UTC
Created attachment 130811 [details]
kate configuration files

Kate .config files zipped
Comment 2 ineuw 2020-08-12 08:06:57 UTC
Changing the Default keyboard file assignment from F10 to Alt+q causes no problem.
Comment 3 Justin Zobel 2020-10-27 08:21:42 UTC
Can you explain what you mean by a new keyboard shortcuts file?

Are you referring to Keyboard Shortcut Schemes?

1. I created a new schema with no shortcuts and assigned Alt+Q to Dynamic Word Wrap
2. Used it on a long lined document and confirmed in View > Word Wrap that dynamic was toggling on/off
3. Saved document, closed and re-opened Kate and was able to open and continue editing the document.

Can you please confirm I have followed the steps correctly.

I haven't been able to reproduce the issue.
Comment 4 ineuw 2020-10-27 08:49:48 UTC
(In reply to Justin Zobel from comment #3)
> Can you explain what you mean by a new keyboard shortcuts file?
> 
> Are you referring to Keyboard Shortcut Schemes?
> 
> 1. I created a new schema with no shortcuts and assigned Alt+Q to Dynamic
> Word Wrap
> 2. Used it on a long lined document and confirmed in View > Word Wrap that
> dynamic was toggling on/off
> 3. Saved document, closed and re-opened Kate and was able to open and
> continue editing the document.
> 
> Can you please confirm I have followed the steps correctly.
> 
> I haven't been able to reproduce the issue.

Please close this ticket. I abandoned Kate for other unsuitabilities.