Bug 445079 - Inactive cursor on session restore if document has folding
Summary: Inactive cursor on session restore if document has folding
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: 21.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 15:22 UTC by Juris
Modified: 2024-10-31 22:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juris 2021-11-06 15:22:09 UTC
SUMMARY

With a session active when document has folding enabled (some parts folded) upon opening a saved session text cursor is in weird sate - does not respond to keyboard movements etc. Only clicking mouse in text region or pressing Shift-Tab "focuses" text area and keyboard movement resumes normally.

STEPS TO REPRODUCE
1. Have a saved session in editor
2. Fold some parts of documents (can be shell script, markdown, asciidoc ... have not tried every possible format)
3. Close editor
4. Open editor and restore session

OBSERVED RESULT

Cursor is inactive and does not respond to most keys. This happens if folding state is saved for given document. If document has no folding, then issue is not observed.

EXPECTED RESULT

Upon session restoration cursor is active in editing area and does not require any additional actions (like mouse clicking) to get to working state.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION

Reproduced on 2 different systems with Arch Linux.
Comment 1 Christoph Cullmann 2024-10-31 22:36:27 UTC
Tried that with 24.08, works fine for me.