Community Forums

Home » Vuze Forums » Open Development


Thread: Feature Request: search in more columns


Thread Locked This thread is locked - replies are not allowed.


Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 27 - Pages: 1 - Last Post: Jun 8, 2012 1:21 PM Last Post By: soger
soger

Posts: 42
Registered: 11/01/11
Feature Request: search in more columns
Posted: Nov 1, 2011 5:29 AM
Click to report abuse...
In the "My torrents" tab if I start typing a filter bar appears and the list only shows torrents which's name contains the string I typed. This is nice but it would be even nicer if more columns were checked. What I would like is the following three: User comment, Name, Tracker Name.
Thank you.
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Nov 1, 2011 8:37 AM   in response to: soger in response to: soger
Click to report abuse...
There is a hidden feature that allows you to search on tracker host and download state by prefixing the expression with

t:
st:

For example, to filter by trackers with a 'q' in their name use

t:q

The download state is done on an integer state value (haha) with 100 meaning error adn 70 meaning stopped (for example)

st:100

Anyway, what if I added another one

c:

for comments.

this would give you the ability to search on any one of those attributes, but not combined. I don't really want to change the default behaviour of searching on the name.

Would this be any use?
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: Dec 7, 2011 10:15 AM   in response to: soger in response to: soger
Click to report abuse...
Sorry for my late response, I was waiting for an email alert, I thought I would get one automatically...
Anyway, what you are suggesting works for me. I've already tried "t:" and it is nice. Adding "c:" would be very good.
I don't really need to combine these, for example my comments are very short notices like "no sub" or "w 35:00" meaning that I watched 35 minutes from this movie and typing "c:w " would find these.
Thank you.
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: Dec 13, 2011 3:26 PM   in response to: soger in response to: soger
Click to report abuse...
I've upgraded today to Vuze 4.7.0.2 but the c:searchterm does not work for me.
Was it added?
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Dec 13, 2011 4:14 PM   in response to: soger in response to: soger
Click to report abuse...
Missed 4702 - I just added it to the next beta: 4703_B02 available from dev.vuze.com shortly
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Dec 26, 2011 7:47 AM   in response to: parg in response to: parg
Click to report abuse...
parg, can you, please, make work tracker search term (t:) more useful? Really need that. There are more multitracker torrents, so, when I, for example, type "t:rutracker", outputs not really true is, because lots of torrents of "rutracker" term is inside in multitracker torrents, that contains another trackers in addition to "rutracker".

Maybe you make a combined terms, something like "t:rutracker, retracker" to filter torrents handled by rutracker.org in multitracker torrents, if this possible and correct?

Thanks.
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Dec 27, 2011 8:09 AM   in response to: fields in response to: fields
Click to report abuse...
hmm, I can understand that you want to search all the trackers for a multi-tracker torrent but I don't understand your example

when you say '"t:rutracker, retracker' are you asking to search for both 'rutracker' and 'retracker' in the tracker list?

how about if I change it so that t:<search-term> will match any download that has <search-term> in one of the trackers listed for it?
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Dec 27, 2011 9:41 AM   in response to: parg in response to: parg
Click to report abuse...
Yep, please. I'll take a look at this, if it works.
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Dec 27, 2011 9:48 AM   in response to: fields in response to: fields
Click to report abuse...
it's in the next beta - B04 when built in the next day or so
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Dec 29, 2011 12:18 AM   in response to: parg in response to: parg
Click to report abuse...
I think it works, parg. Thanks a lot to you! You're the Best. Only missing is a count of founded torrents via searching prefix. Can you make that, please?

And another thing. There is new cool feature - selective IP-filtering. Why clicking to menu item "Enable IP Filter" has no effect on column "IP Filter Enabled"? Feature is unfinished?
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Dec 31, 2011 1:13 AM   in response to: soger in response to: soger
Click to report abuse...
parg?
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jan 4, 2012 5:41 PM   in response to: fields in response to: fields
Click to report abuse...
hey up

You're asking for some kind of visual indicator for the number of matches that the search expression is making?

For me the 'ip filter enabled' column entry turns from a tick to a cross when I change it - what are you seeing? Is it showing the graphics correctly? I've sometimes seen problems with people who've changed their fonts (or something)
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Jan 4, 2012 10:11 PM   in response to: parg in response to: parg
Click to report abuse...
parg wrote:
hey up

You're asking for some kind of visual indicator for the number of matches that the search expression is making?


Exactly. Would be?
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jan 5, 2012 10:44 AM   in response to: fields in response to: fields
Click to report abuse...
check next beta

how's the per-torrent ip filter column issue? is it showing a tick or a cross? or just some square?
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Jan 5, 2012 10:55 AM   in response to: parg in response to: parg
Click to report abuse...
Showing square and clicking on it has no any visual affect.
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jan 5, 2012 11:33 AM   in response to: fields in response to: fields
Click to report abuse...
darn it, sounds like you have a non-unicode font for some reason - I guess I could look into using an image instead of a character
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Jan 7, 2012 12:43 AM   in response to: parg in response to: parg
Click to report abuse...
Thanks, parg, for fixing IP Filter Enabled column. I just want asking, should be IP Filter enabled state switched by clicking on icons? And one another question, what is RegEx search mode, what is advantage of that mode?
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jan 7, 2012 8:52 AM   in response to: fields in response to: fields
Click to report abuse...
At the moment you need to right click and use the 'advanced' context menu for changing the ip filter state. I thought of adding 'click to change' but thought that it'd make it easy to accidentally change the state which might be a bad thing.

The regular-expression mode allows you more control over the searching. For example you can use

^a

to match against things that start with 'a'

a$

to match against things that end with an 'a'

B[0-9]+

to match against items containing a 'B' followed by one or more digits...

Edited by: parg on Jan 7, 2012 8:52 AM
fields

Posts: 145
Registered: 06/11/08
Re: Feature Request: search in more columns
Posted: Jan 8, 2012 5:30 AM   in response to: parg in response to: parg
Click to report abuse...
parg, and some another request, I think this request useful. Need a "right-clicking" context menu in the status bar over "IPs" areas to global enable and disable IP-filtering feature. How you looking for that?
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jan 9, 2012 9:41 AM   in response to: fields in response to: fields
Click to report abuse...
sure, check next beta
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: May 17, 2012 12:13 AM   in response to: soger in response to: soger
Click to report abuse...
You know searching in comments with the c: prefix is really-really useful for me, it is very nice.
I was wondering can I use regular expressions in the search term? Maybe it is already implemented but I can't find it.
What I would use is:
c:^$
for empty comments
c:a|b
to find either a or b
and is there a way to negate the results, say:
c:!a
to find anything without an "a" (you know like perl has: $x!~/a/)

And by the way, typing only 'c:' has unpredictable results, sometimes it finds all the torrents (as far as I can see this happens when you write something, ex c:a then correct it with backspace back to c:), sometimes it finds a few torrents with no comment, but not all. Maybe this should be fixed also.

Edited by: soger on May 17, 2012 12:15 AM
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: May 31, 2012 9:43 AM   in response to: soger in response to: soger
Click to report abuse...
You toggle the search in and out of regex mode via ctrl+x (the box goes yellow when regex is active)

empty comments don't work though, and there's no negation :(
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: May 31, 2012 1:20 PM   in response to: parg in response to: parg
Click to report abuse...
I fixed up empty comment matching and added negation with ! - the negation applies to the whole expression, you can't introduce it within expressions - see B50
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: May 31, 2012 3:10 PM   in response to: soger in response to: soger
Click to report abuse...
Nice, thank you!
Although I still have a problem, for me the textbox does not switch to a yellow background (but the regex works). May this be because I use KDE? Would there be another way to signal regex mode?
I will await B50 to try "!" too.
parg

Posts: 2,698
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: May 31, 2012 3:36 PM   in response to: soger in response to: soger
Click to report abuse...
hmm, weird, I switched the fonts - plain=normal, bold=regex, italic=regex error (this has a background of redish in Windows)
TuxPaper

Posts: 486
Registered: 11/13/07
Re: Feature Request: search in more columns
Posted: Jun 1, 2012 10:12 AM   in response to: soger in response to: soger
Click to report abuse...
soger wrote:
Nice, thank you!
Although I still have a problem, for me the textbox does not switch to a yellow background (but the regex works). May this be because I use KDE? Would there be another way to signal regex mode?
I will await B50 to try "!" too.

Do you know what version of SWT you are using in Vuze? (Help->About Vuze->bottom right hand corner)

If you can update to the latest milestone build (http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M7-201205031800/download.php?dropFile=swt-S-4.2M7-201205031800-gtk-linux-x86.zip or if 64 bit, http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M7-201205031800/download.php?dropFile=swt-S-4.2M7-201205031800-gtk-linux-x86_64.zip ) and check to see if the background color changes when you press control-x in the filter box. You just need to copy the swt.jar from the downloaded zip over the one in your vuze application directory)

I cringe at italics fonts, so if we can get the background color working, I'm going to revert it (sorry parg! :P)
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: Jun 1, 2012 3:25 PM   in response to: TuxPaper in response to: TuxPaper
Click to report abuse...
I was using "SWT v3802, gtk". I guess it was pretty old.
Anyway, I've updated the swt as you requested. It says:
"Java 1.7.0_04
Oracle Corporation
SWT v4229, gtk
Linux v3.2.0-24-generic, amd64
V4.7.0.3_B49/4 az2"
But unfortunately pressing Ctrl+X does not make the textbox yellow.
I have also tried another thing: in my System Settings/Appearance/GTK+ Appearance I have changed the widget style from oxygen-gtk (which afaik is kde implementing gtk functions) to raleigh, which is like the most basic gtk engine, also one of the ugliest ones. Using Raleigh when I press Ctrl+X not the background but the textbox border switches to yellow (a very thin yellow line around the textbox, barely visible). I have some other gtk engines too (Clearlooks, Crux etc), they all seem to do the same except for oxygen-gtk. I would hate to give this gtk engine up, 'cause it makes GTK apps look very much like KDE apps and I also use firefox, thunderbird, pidgin and geany.
soger

Posts: 42
Registered: 11/01/11
Re: Feature Request: search in more columns
Posted: Jun 8, 2012 1:14 PM   in response to: TuxPaper in response to: TuxPaper
Click to report abuse...
All right so I've upgraded to B52 and funny thing: the reddish background works for erroneous regexes but still no yellow for normal regexes.
But the bold text for the regex is distinctive enough, so I would say that I'm satisfied, good job, thanks!
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums