Bug 174344 - Filtering problem, wrong suggestion in results
Summary: Filtering problem, wrong suggestion in results
Status: RESOLVED UNMAINTAINED
Alias: None
Product: adept
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Rockai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 15:33 UTC by Danas
Modified: 2013-09-21 04:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Adept screeshot search results 1 (79.71 KB, image/jpeg)
2008-11-06 15:20 UTC, Danas
Details
Another example (81.18 KB, image/jpeg)
2008-11-06 15:21 UTC, Danas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danas 2008-11-05 15:33:45 UTC
Version:           3.0 Beta 4 (Sheldon) (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-7-generic

Eg. if you type gnome in search in result you get Kmix. Or if you type Kpilot, You will get million or packages, but none called kpillot.
Comment 1 Danas 2008-11-05 15:52:21 UTC
Actually I need to add that filltering works fine if none of state and requested icon are selected.
Comment 2 Peter Rockai 2008-11-06 14:41:43 UTC
Sorry, I can't reproduce here. Searching for kpilot makes it the first hit, actually. When disabling installed packages, or upgradable packages, it is still the first hit. Obviously, as I do not have it installed, when not showing installed packages, it does not appear...

Maybe you could elaborate in more detail about what is the problem? Thank you.
Comment 3 Jan Schneider 2008-11-06 15:05:23 UTC
I'm not sure if this the same as Danas reported, but the filtering returns hundreds of unrelated results, rendering it useless. 
I get kpilot as the first, whether I search for all states or not. But I still get all kind of other stuff, e.g. stuff like gdb, wget, git or any other random packages. It almost looks like the filter is just re-ordering the results, moving the most relevant to the top, but keeping all packages listed that match the currently selected states. But since there is no status line with the number of currently listed packages, this is just a guess.
Comment 4 Danas 2008-11-06 15:20:40 UTC
Created attachment 28359 [details]
Adept screeshot search results 1
Comment 5 Danas 2008-11-06 15:21:06 UTC
Created attachment 28360 [details]
Another example
Comment 6 Peter Rockai 2008-11-06 16:47:31 UTC
Sorry, but this does not demonstrate a bug. It is the intended behaviour. No, it does not list all packages, only those that somehow relate to your query. Yes, there is lots of rubbish down the list. Just use the first page (maybe a few) or so, like you do with google. Thank you.
Comment 7 Jan Schneider 2008-11-06 17:06:37 UTC
Intended? How is git related to kpilot? Because a common 5th-level dependency is LSB? If you really think this is the intended behavior, then please remove the search function completely. It's useless.
Comment 8 Peter Rockai 2008-11-06 18:29:33 UTC
Thank you for your helpful comments, Mr. Schneider. Now please go away.
Comment 9 Danas 2008-11-14 17:22:11 UTC
I think it should be reopened. I think your Idea is good, but you should limit results somehow. Even google sometimes returns 0 results. Now it is very difficult to work with adept manager.
Few examples: Just wanted to install Lithanian KDE language package.Type lithuanian, result: Lithuanian, catalonian, spanish, polish, etc, all existing languages in KDE. (Try to type it in google, you will not get to the page about spanish).
Another example: I tried gnome. Just for one week. Now I want to remove all gnome related packages I'm typing gnome, selecting olny installed packages. Results: a lot of packeges including KMIX, KNetwork manager, kopete and other KDE packages. Again try to type gnome in google, you never get link to Kopete webpage. 

So something is realy wrong now in adept manager at the moment. 

Comment 10 Danas 2008-12-08 10:48:38 UTC
I want to remind about his bug again. I'm using Adept 2-3 times per week and getting disappointed more and more. Now, because of filtering problems I'm use more often console, than adept package manager. I like Kubuntu and I want to help you to improve it. So check out few more cases about filtering. 
Hope you will reconsider to improve that 'google like' filtering behavior

1.I was trying to see are kipi-plugins installed. In results kipi-plugins was the last in results (according comment #6 it should be first), so filtering does not work as it suppose to work.
2. I tried to install xbmc from third-party repository. Unfortunately adept didn't found this package at all. From console it was not problem to install it. Again, even after installing it, adept was unable to show it, of course it showed a lot of garbage. So its definatly a problem in filtering third-party packages.

And there are many more cases when it was impossible to use adept to find package.  I'm sorry but I need to agree with Jan Schneider comment that filtering at the moment is totally unusable.
Comment 11 Danas 2008-12-13 11:36:06 UTC
We had a discussion about new version of adept in kubuntu forums so I decided to give a try again. 
I had to debug my Intel video driver according https://wiki.ubuntu.com/X/Backtracing
So 2 packaged need to be installed: xserver-xorg-core-dbg, libgl1-mesa-dri-dbg, First one was in place 15, second was not in list at all.
Please don't say that it is intended behaviour! :)
Comment 12 kioftes 2009-01-11 12:31:15 UTC
Same problem here....a search for nvidia in adept produces less than half of the results than an apt-cache search in terminal....for example, no nvidia-180 package was found in adept (however all the previous versions were there) but all of them found with apt-cache.
Comment 13 Jekyll Wu 2013-09-21 04:43:20 UTC
Adept has been in the unmaintained state for a few years.  Use muon[1] as replacement .

[1] https://launchpad.net/muon