Bug 403131

Summary: Position of cursor not shown anymore
Product: [Applications] lokalize Reporter: Freek de Kruijf <freekdekruijf>
Component: editorAssignee: Simon Depiets <sdepiets>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, shafff
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: File ~/.config/lokalizerc

Description Freek de Kruijf 2019-01-12 10:02:34 UTC
SUMMARY
LEDs in edit window do not light up and position of cursor not shown anymore

STEPS TO REPRODUCE
1. Edit a .po file
2. Position of cursor not shown anaymore, which used to be displayed
3. 

OBSERVED RESULT
No cursor position displayed

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 18.12.0
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Comment 1 Simon Depiets 2019-01-24 09:30:46 UTC
I cannot reproduce this, could you send over your ~/.config/lokalizerc file
Comment 2 Freek de Kruijf 2019-01-24 22:07:33 UTC
Created attachment 117648 [details]
File ~/.config/lokalizerc

file ~/.config/lokalizerc.kde150 pointed to by ~/.config/lokalizerc
Comment 3 Simon Depiets 2019-03-19 09:42:56 UTC
Git commit 53bc45aeddf3e9af0265cb1b502b2571c0afcd71 by Simon Depiets.
Committed on 19/03/2019 at 09:40.
Pushed by sdepiets into branch 'master'.

Ensure the cursor is visible after a text operation
Related: bug 404169, bug 405008

M  +4    -9    src/catalog/catalog.cpp
M  +4    -8    src/catalog/gettext/gettextstorage.cpp
M  +2    -4    src/catalog/ts/tsstorage.cpp
M  +2    -4    src/catalog/xliff/xliffstorage.cpp
M  +1    -1    src/common/flowlayout.h
M  +1    -1    src/editorview.cpp
M  +1    -3    src/lokalizemainwindow.cpp
M  +1    -1    src/mergemode/mergecatalog.cpp
M  +14   -9    src/xlifftextedit.cpp
M  +1    -0    src/xlifftextedit.h

https://commits.kde.org/lokalize/53bc45aeddf3e9af0265cb1b502b2571c0afcd71
Comment 4 Simon Depiets 2019-03-19 09:55:36 UTC
I've made some changes to ensure the cursor is visible at all times, if that doesn't work could you try with a clean .lokalizerc (for instance no custom font)
Comment 5 Simon Depiets 2019-03-21 02:16:56 UTC
Git commit 6c6f78e8948687b440f379eefae8a7af53709b00 by Simon Depiets.
Committed on 19/03/2019 at 13:35.
Pushed by sdepiets into branch 'Applications/19.04'.

Ensure the cursor is visible after a text operation
Related: bug 404169, bug 405008

M  +4    -9    src/catalog/catalog.cpp
M  +4    -8    src/catalog/gettext/gettextstorage.cpp
M  +2    -4    src/catalog/ts/tsstorage.cpp
M  +2    -4    src/catalog/xliff/xliffstorage.cpp
M  +1    -1    src/common/flowlayout.h
M  +1    -1    src/editorview.cpp
M  +1    -3    src/lokalizemainwindow.cpp
M  +1    -1    src/mergemode/mergecatalog.cpp
M  +14   -9    src/xlifftextedit.cpp
M  +1    -0    src/xlifftextedit.h

https://commits.kde.org/lokalize/6c6f78e8948687b440f379eefae8a7af53709b00