By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 146 - Konqueror file filter bar doesn't refresh properly
Summary: Konqueror file filter bar doesn't refresh properly
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.11 [Trinity]
Hardware: Other Linux
: P5 enhancement
Assignee: Michele Calgaro
URL:
Depends on:
Blocks: R14.0.1
  Show dependency treegraph
 
Reported: 2009-12-31 00:00 CST by Timothy Pearson
Modified: 2015-01-15 21:49 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Pearson 2009-12-31 00:00:14 CST
When using the KDE file filter bar, under certain folder refresh conditions the filter is incorrectly removed; i.e. the text is still present in the filter bar, but all files (not just the filtered ones) show up in the file viewer window.  Removing and adding a character from the filter string (to force a refresh) resolves the issue temporarily.
Comment 1 Timothy Pearson 2010-03-26 02:21:33 CDT
Fixed in SVN revision 1107600.
Comment 2 Timothy Pearson 2010-05-04 02:32:15 CDT
There is still somewhat improper behaviour when a file is added/renamed.  Specifically, if a file is renamed to something other than the text in the filter bar, it still shows up in the window.  Conversely, when renaming the file to include the text in the filter bar the newly renamed file does not show up.

In both cases hitting F5 cleanly fixes the problem, so the filter probably just has to be called on file add/rename.
Comment 3 Timothy Pearson 2010-05-05 20:11:29 CDT
Mostly fixed in SVN revisions 1123403 and 1123404.
Comment 4 Darrell 2013-05-22 20:09:10 CDT
Is this report still valid?
Comment 5 Darrell 2013-08-17 13:06:22 CDT
Is this report still valid?
Comment 6 Michele Calgaro 2014-03-02 22:40:20 CST
Bug still open.
To reproduce it:
1) add a filter string
2) rename a visible file so that it does not match the filter string any more
3) notice that the file is still displayed

Also another bug is with file/folder names that are numbers.
To reproduce it:
1) create a folder called 01 and one called 02
2) add a filter expression as "2". Nothing happens. Same if we use "t" or "b" for example. But using "a" or "c" will hide those folders.
Comment 7 Michele Calgaro 2014-12-31 09:55:05 CST
The filter functionality seems to be quite broken actually.
Single character filter expressions do funny things and even longer expressions sometimes do not hide all correct files.
Comment 8 Michele Calgaro 2015-01-04 21:11:03 CST
In Icon view mode the problem does not seems to happen: filter works fine.
In Multicolumn mode view, the filter works, but there are several empty places left between visible items (i.e. visible items are not "compacted" together).
In list view mode of any type (including tree view and text view) the filter does funny things.
Comment 9 Michele Calgaro 2015-01-04 21:13:21 CST
Forgot to add that it looks like the bug is somewhere in TDEListViewSearchLine and TDEIconViewSearchLine's updateSearch() functions.

I have assigned the bug to myself, but it seems it is not possible to change the bug status to ASSIGNED.
Comment 10 Michele Calgaro 2015-01-08 22:18:37 CST
As an update, the bug in multicolumn mode view is in tqt3/src/iconview/qiconview.cpp in the function makeRowLayout. Working on it in the spare time.
Comment 11 Michele Calgaro 2015-01-08 22:47:38 CST
Multicolumn mode filtering fixed in commit 38e12d6 (trunk) and 6d346d4 (r14.0.x).
Comment 12 Michele Calgaro 2015-01-13 19:01:17 CST
After further debugging, I discovered the search plugin in listview mode is actually working ok. The catch is that it searches through all visible columns, not just the column with the file name.
Since the TDEListViewSearchLine is used in several parts in TDE, I have filed bug 2313 to add search options to the Konqueror search plugin and I am closing this bug.
Comment 13 Michele Calgaro 2015-01-13 19:08:29 CST
Ups, seems I have spoken too early.
When renaming items from a different konqueror view or CLI, the filtered view  does not update the visible items correctly. Adding/removing items seems to be ok though.
Comment 14 Michele Calgaro 2015-01-15 21:49:01 CST
Fixed in commits bf0861b, 064539d (master) and b78e619, b98e5a4 (r14.0.x).