Summary: | Selecting a folder by typing its initial letter doesn't scroll the view to the folder | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Arne Babenhauserheide <arne_bab> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | finex, martien.friedeman, pano_90, sayakb |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Arne Babenhauserheide
2008-12-29 14:44:15 UTC
using r902024, I've found two different behaviour: 1) if one icon is already selected and you type the first chars of an icon which is outside the current view, dolphin select the new icon and it scrolls to the right icon. 2) if no icon are selected, the new icon is selected, but dolphin doesn't scroll. *** Bug 179567 has been marked as a duplicate of this bug. *** Like it has been described on bug #179567, pressing the first char twice will scroll the view. @FiNeX: I tried to reproduce your behavior from comment #1 on trunk but don't get an issue for point 2 (-> scrolling works, I'm using r905633). I tried to reproduce it in the icons view and the details view, no item has been selected and I pressed a letter from an invisible item. Could you give me a hint what I'm doing wrong? Thanks! I'm using r905373 with Qt 4.4.3. 1) start dolphin (when you start it, it should be selected any file) 2) switch to icon view (if not yet active) 3) resize the window in order to have the vertical scrollbar 4) click between two icons to be sure that no file are selected 5) click on the small green "+" on the first file (so you've only one file selected) 6) type the first char of a hidden icon If the first char identify univocally a file, the file will selected (you can read it on the status bar) but the view doesn't scroll. If the first char is shared by more filenames, pressing twice it will select the second file (of all the files which starts with it) and the view will be scrolled. Thanks I could reproduce the issue. I was not aware that the issue only occurs if one item is selected (in comment #2 I interpreted the description of the issue the other way). SVN commit 906179 by ppenz: QAbstractItemView::scrollTo() may get called by QListView::keyPressEvent(), so m_enableScrollTo (which is checked in DolphinIconsView::scrollTo()) must be enabled before. This fixes the issue that the autoscrolling does not work if exactly one item is selected and an invisible item should get focused because of a key press. BUG: 179049 M +1 -1 dolphiniconsview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=906179 The fix is perfect, thanks Peter! *** Bug 179744 has been marked as a duplicate of this bug. *** Thank you very much for the fast fix, Peter! *** Bug 448049 has been marked as a duplicate of this bug. *** |