Bug 400208 - Current message is not selected when filtering/unfiltering it
Summary: Current message is not selected when filtering/unfiltering it
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 16:11 UTC by Simon Depiets
Modified: 2019-01-29 16:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Depiets 2018-10-23 16:11:35 UTC
SUMMARY
When the current message is excluded by a filter, it is then not selected once the filter is removed, thus the "Next message" button will default to the first item (position in the file is lost for Next/Previous buttons)

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Simon Depiets 2019-01-22 05:59:29 UTC
Git commit 00a63db6f5f9dd354a63c897f40bc010c280786b by Simon Depiets.
Committed on 22/01/2019 at 05:57.
Pushed by sdepiets into branch 'master'.

Set the proper entry index in catalog after a filter is applied

M  +18   -4    src/cataloglistview/cataloglistview.cpp
M  +2    -0    src/cataloglistview/cataloglistview.h
M  +4    -4    src/cataloglistview/catalogmodel.cpp
M  +4    -4    src/cataloglistview/catalogmodel.h

https://commits.kde.org/lokalize/00a63db6f5f9dd354a63c897f40bc010c280786b
Comment 2 Simon Depiets 2019-01-29 16:24:05 UTC
Git commit 689e28142b9e2f50f34a0e9c7a69416335af1e59 by Simon Depiets.
Committed on 29/01/2019 at 16:38.
Pushed by sdepiets into branch 'Applications/18.12'.

Set the proper entry index in catalog after a filter is applied

M  +18   -4    src/cataloglistview/cataloglistview.cpp
M  +2    -0    src/cataloglistview/cataloglistview.h
M  +4    -4    src/cataloglistview/catalogmodel.cpp
M  +4    -4    src/cataloglistview/catalogmodel.h

https://commits.kde.org/lokalize/689e28142b9e2f50f34a0e9c7a69416335af1e59