Bug 405008 - When text is at bottom, window does not scroll down when you press 'Enter'
Summary: When text is at bottom, window does not scroll down when you press 'Enter'
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (show other bugs)
Version: 18.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-03 00:02 UTC by Alexander Potashev
Modified: 2019-03-21 02:16 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 Alexander Potashev 2019-03-03 00:02:08 UTC
SUMMARY
When text is at bottom, window does not scroll down when you press 'Enter'. Happens in the 

STEPS TO REPRODUCE
See https://bugs.kde.org/show_bug.cgi?id=39747 , instead of KWrite follow the steps in the Lokalize's translation editing input box.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Операционная система: Fedora 29
Версия KDE Plasma: 5.14.4
Версия Qt: 5.11.3
Версия KDE Frameworks: 5.54.0
Версия ядра: 4.20.4-200.fc29.x86_64
Архитектура: 64-битная
Процессоры: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Память: 15,4 ГиБ ОЗУ
Comment 1 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 403131

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 2 Simon Depiets 2019-03-19 09:55:55 UTC
I've made some changes to ensure the cursor is always visible
Comment 3 Simon Depiets 2019-03-21 02:16:55 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 403131

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