Bug 512945

Summary: Text in the raw markdown preview is not re flowed correctly when resizing the window
Product: [Applications] ghostwriter Reporter: Mathis Paquet <mathispaquet362>
Component: generalAssignee: megan.conkle
Status: REPORTED ---    
Severity: normal CC: mathispaquet362
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The window in full screen
The window when resized

Description Mathis Paquet 2025-12-04 16:08:38 UTC
Created attachment 187338 [details]
The window in full screen

SUMMARY
When the width of the raw markdown editor (the left panel) changes, the text is re arranged in a weird way. The line wrapping is done incorrectly on half the lines.

STEPS TO REPRODUCE
1. Type some paragraphs in ghostwriter 
2. Resize the application window

OBSERVED RESULT
The line wrapping is done incorrectly.

EXPECTED RESULT
The lines in the paragraph should be wrapped correctly

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4090 Laptop GPU

ADDITIONAL INFORMATION
Comment 1 Mathis Paquet 2025-12-04 16:09:07 UTC
Created attachment 187339 [details]
The window when resized