Summary: | Left/Right arrow behavior wrong (brief mode): doesn't navigate columns but changes directory | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | Gennady Uraltsev <gennady.uraltsev> |
Component: | general | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alex.bikadorov, gennady.uraltsev, krusader-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 2.5.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krusader/991d28b4c9d14d860583cffd2b778d0f46c4f528 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | The git bisect log |
Description
Gennady Uraltsev
2016-12-28 07:44:52 UTC
I have done some extra investigating. Apparently the code for handling the key strokes relevant to this question is in the file Panel/krview.cpp while the code relevant to brief view is in Panel/krinterbriefview.cpp In particular the code responsible for the classical behavior in brief view (i.e. navigating columns) starts starting from line 145 of "Panel/krinterbriefview.cpp" in function void KrInterBriefView::keyPressEvent(QKeyEvent *e) but it never gets executed! The code that DOES get executed is in function bool KrView::handleKeyEventInt(QKeyEvent *e) starting from line 645 of "Panel/krview.cpp" I am no expert in programming but may it be that the KrInterBriefView class should override the function in KrView? Git commit 991d28b4c9d14d860583cffd2b778d0f46c4f528 by Alexander Bikadorov. Committed on 29/12/2016 at 17:28. Pushed by abikadorov into branch 'master'. FIXED: [ 374238 ] Handle left/right arrow key press in brief view (previously filtered by search bar). Quickfix. It is maybe better to remove the filtering in KrSearchBar and instead get all key events from KrView. Bug came with 374238. M +16 -6 krusader/Panel/krinterbriefview.cpp M +2 -0 krusader/Panel/krinterbriefview.h https://commits.kde.org/krusader/991d28b4c9d14d860583cffd2b778d0f46c4f528 Thanks for the detailed report. The behaviour change was clearly unintended. Fixed now. Thanks a lot! I really rely on Krusader. It is a great piece of software. I appreciate your effort! |