topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:17 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [bug report] last version 126 introduced new bug ?  (Read 5674 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
[bug report] last version 126 introduced new bug ?
« on: July 10, 2007, 10:00 AM »
Hi Mouser,

i have the impression that the last version (maybe last few...) introduced a new bug, i'll try to explain it :

i have the following "f" alias :
Favorites search $$1 | dosearch +folder_fav +open_fav -alias $$1
to search my favorite folders

the modifier keyword "folder_fav" refers to a folder where i put shortcuts to my favorite folders
4.png

the "open_fav" keyword refers to an action keyword with the following result :
Open | C:\_joker\Utilities\Ahk\OpenFav.ahk "$$1"
which opens my selected shortcuts in Directory Opus...

if i type "f ", i see all my shortcuts, which is fine...
1.png

if i type "f p", i see shortcuts BUT also items form the history... (which is not fine and new)
2.png

if i type "f ph", i should only see my "Mes Photos" folder, but instead it only shows my action keyword result ! trying to launch my photoshop cs2 exe...
3.png

i tried to modify everything related to history with no success...
is there a "-history" like the "-alias" ?

one last comment :
if i add "-ii" to my search (don't ask why "-ii", it works with many more strings ;)), it seems to work better...
5.png

i need help, i'm becoming crazy  :D

Cheers, Nitrix

« Last Edit: July 10, 2007, 10:12 AM by nitrix-ud »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #1 on: July 10, 2007, 02:00 PM »
ok, let me try to tackle one thing at a time, since this is a bit confusing!
first, you can tell FARR to not match items in your search history if they are not in current search path; this is a controversial option and i'm not sure what the default should be.  Maybe i can make it a little smarter so that when it sees you are using a directory modifier it will never try to match it against history items not in path, but when you dont use a directory modifier it will.

Screenshot - 7_10_2007 , 2_00_06 PM.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #2 on: July 10, 2007, 02:06 PM »
Now this bug:
if i type "f ph", i should only see my "Mes Photos" folder, but instead it only shows my action keyword result ! trying to launch my photoshop cs2 exe...

is something different altogether, and i think i just realized the cause..
i think the +action trick is trying to be clever and detect that there is only one result, and so it should show you text about the action.  that's normally what you want, so that you can see what action will be applied to what file.

but something is confusing it.. some interaction between the aliases.. i'm just not sure exactly what.  can you email me your alias file(s) -- might make it easier for me to fix.

as always i appreciate these bug reports so much -- especially when they deal with these esoteric uses that wouldn't otherwise get much testing :)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #3 on: July 10, 2007, 03:07 PM »
ok, let me try to tackle one thing at a time, since this is a bit confusing!
first, you can tell FARR to not match items in your search history if they are not in current search path; this is a controversial option and i'm not sure what the default should be.  Maybe i can make it a little smarter so that when it sees you are using a directory modifier it will never try to match it against history items not in path, but when you dont use a directory modifier it will.

this does not change a thing ... same bug...
the thing is i didn't change those options... and i think it worked before as expected


Now this bug:

Quote
if i type "f ph", i should only see my "Mes Photos" folder, but instead it only shows my action keyword result ! trying to launch my photoshop cs2 exe...

is something different altogether, and i think i just realized the cause..
i think the +action trick is trying to be clever and detect that there is only one result, and so it should show you text about the action.  that's normally what you want, so that you can see what action will be applied to what file.

but something is confusing it.. some interaction between the aliases.. i'm just not sure exactly what.  can you email me your alias file(s) -- might make it easier for me to fix.

as always i appreciate these bug reports so much -- especially when they deal with these esoteric uses that wouldn't otherwise get much testing


there should not be only this photoshop result, it should find the "My Photos" shortcut
and the funny thing is that if i add "--" or "-xxx" or many many other strings in the alias it MAKES it work
Favorites search $$1 | dosearch +folder_fav +open_fav -- -alias $$1

i'm sending you my alias files by email
hope it will help

Nitrix




mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #4 on: July 10, 2007, 08:51 PM »
found the causes and should be fixed on next update.
for anyone keeping score, nitrix is on track to win the MVT (Most Valuable Tester) award for farr 2 :)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #5 on: July 11, 2007, 02:37 AM »
for anyone keeping score, nitrix is on track to win the MVT (Most Valuable Tester) award for farr 2


 :D I hope I will get a mug for that :D

Keep up the great work mouser !

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #6 on: July 13, 2007, 05:04 AM »
i think the +action trick is trying to be clever and detect that there is only one result, and so it should show you text about the action.  that's normally what you want, so that you can see what action will be applied to what file.

Mouser, i'm not sure i want the +action trick to be that clever ;)

what i really want is to see what i manipulate, not what FARR is gonna do, i would really prefer seeing this one result then choose it to perform the action...it just makes more sense to me

i use the +action trick to use FARR as a code snippet manager (and many other things, mp3 play and enqueue, favorite folder launcher, etc.), what i really want to see is the code snippet name, not that FARR will open it up (that i know...)

i understand that it is interesting when you search then add the "+action" that in that case FARR shows what it will do, but when using a "dosearch" result, it's far from convenient
and what if i want to right-click the result, etc.

here i just don't know what it will open, see capture below
1.png

Hope you will make it a option

Cheers, nitrix

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #7 on: July 18, 2007, 04:16 PM »
@mouser

i think the +action trick is trying to be clever and detect that there is only one result, and so it should show you text about the action.  that's normally what you want, so that you can see what action will be applied to what file.

will you change this or make an option ?

it is not urgent at all, but i would really really want it to be fixed

when using an action alias in an dosearch alias
this "clever" behavior is very very odd, since the only thing you want to see is the result, not the action you set up in the dosearch alias...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #8 on: July 18, 2007, 04:19 PM »
did i not fix this yet? i thought i did.  ok i'll work on it.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: [bug report] last version 126 introduced new bug ?
« Reply #9 on: July 18, 2007, 04:43 PM »
That's great ! :Thmbsup: