Bug 497029

Summary: Notes outputs backwards
Product: [Applications] LabPlot2 Reporter: Dr Liam Mistry <liammistry>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.0.1   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.12
Sentry Crash Report:

Description Dr Liam Mistry 2024-12-04 09:18:40 UTC
Within any of my projects, opening and writing in a "notes" tab (in windows and Mac) has a strange bug where the text is output backwards. 


STEPS TO REPRODUCE
1. Open Labplot2
2. New Note
3. type

OBSERVED RESULT
Text is output backwards, from the left hand corner. 


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Yes
macOS: Yes

ADDITIONAL INFORMATION
Comment 1 Alexander Semke 2024-12-06 10:36:57 UTC
Git commit 43ac6f8255174a6473dc17d5e0d4b0171c860866 by Alexander Semke.
Committed on 06/12/2024 at 07:34.
Pushed by asemke into branch 'master'.

Make the changes in Note undo/redo-able and fix the the text cursor jumping to the beginning of the line when typing in text in the note.
FIXED-IN: 2.12

M  +2    -0    ChangeLog
M  +60   -39   src/backend/note/Note.cpp
M  +10   -16   src/backend/note/Note.h
M  +29   -10   src/frontend/dockwidgets/NoteDock.cpp
M  +7    -2    src/frontend/dockwidgets/NoteDock.h
M  +32   -5    src/frontend/note/NoteView.cpp
M  +3    -3    src/frontend/note/NoteView.h

https://invent.kde.org/education/labplot/-/commit/43ac6f8255174a6473dc17d5e0d4b0171c860866
Comment 2 Alexander Semke 2024-12-06 18:23:05 UTC
(In reply to Dr Liam Mistry from comment #0)
> Within any of my projects, opening and writing in a "notes" tab (in windows
> and Mac) has a strange bug where the text is output backwards. 
Thanks for reporting this issue. We fixed it and the fix is going to be part of the next release 2.12 planned soon.