Welcome to TimeSnapper Forums Sign in | Join | Faq

Help Needed

Started by tillig at 09-17-2009 7:52. Topic has 3 replies.

Print Search
Sort Posts:    
   09-17-2009, 7:52
tillig is not online. Last active: 9/17/2009 2:41:50 PM tillig



Top 10 Posts
Joined on 11-09-2007
Hillsboro, OR
Posts 11
Huh? [:^)] Odd behavior for lookups after configuring task lookup from the flag dialog
Reply Quote
TimeSnapper 3.5.0.5, Windows XP SP 3.

This is a little hard to describe so I'll just explain how it normally works and then the weird behavior I saw.

Assumption: You have "Task Lookup" configured correctly so it will look up flag-related settings from a SQL database. (In my case, I have two properties being looked up - "project" and "sub-project/task." This has worked well for several versions now.)

How things NORMALLY (correctly) work:
  1. Select "New Flag" or allow the auto popup feature to bring up the "Flag Info" dialog to create a new flag.
  2. Click the "..." button next to one of the lookup fields to execute the database query.
  3. Another dialog pops up ("Pick an Item...") with a table of potential values for the field.
  4. Double-click a row in the table.
  5. The "Pick an Item..." dialog disappears and the "Flag Info" dialog has the correct field populated with your selected value.
The WEIRD behavior:
  1. Select "New Flag" or allow the auto popup feature to bring up the "Flag Info" dialog to create a new flag.
  2. Click "Configure" next to the "Flag type" dropdown.
  3. The "Task Lookup Configuration" dialog pops up.
  4. Click "Cancel" to close the "Task Lookup Configuration" dialog without making any changes.
  5. Click the "..." button next to one of the lookup fields to execute the database query.
  6. Another dialog pops up ("Pick an Item...") with a table of potential values for the field.
  7. Double-click a row in the table.
  8. The "Flag Info" dialog has the correct field populated with your selected value... but the "Pick an Item..." dialog remains on the screen.
  9. Double-click the row you wanted to select again.
  10. The "Pick an Item..." dialog disappears and the "Flag Info" dialog has the correct field populated with your selected value.
Not a showstopper, but since the "Configure" option was new, I clicked it on the first flag that popped up after upgrading to 3.5.0.5 and it made me think the whole "flag" thing was broken... until I closed that flag and started a new one, when things began working correctly. The weird behavior only happens when you click that "Configure" link.

   Report 
   09-17-2009, 14:35
secretGeek is not online. Last active: 1/28/2009 7:12:39 PM secretGeek



Top 10 Posts
Joined on 05-30-2006
Brisbane
Posts 58
Cool [H] Re: Odd behavior for lookups after configuring task lookup from the flag dialog
Reply Quote
Hi Travis, I'm looking into this one and hope to have it fixed in a subsequent patch.
.: http://secretGeek.net :: dot Nuts about dot Net :.
   Report 
   09-19-2009, 22:48
secretGeek is not online. Last active: 1/28/2009 7:12:39 PM secretGeek



Top 10 Posts
Joined on 05-30-2006
Brisbane
Posts 58
Cool [H] Re: Odd behavior for lookups after configuring task lookup from the flag dialog
Reply Quote
(still looking... deep into task lookup land... an exhilarating place to live ;-) )
.: http://secretGeek.net :: dot Nuts about dot Net :.
   Report 
   09-20-2009, 4:06
secretGeek is not online. Last active: 1/28/2009 7:12:39 PM secretGeek



Top 10 Posts
Joined on 05-30-2006
Brisbane
Posts 58
Cool [H] Re: Odd behavior for lookups after configuring task lookup from the flag dialog
Reply Quote
Hi Travis
I've checked in a fix for this now, so it will be resolved in a subsequent patch.

(The cause was that an extra click handler was being added to each lookup button, every time 'configure' was clicked.)

Some other bugs with the new lookup configure were also found and fixed.
cheers
lb
.: http://secretGeek.net :: dot Nuts about dot Net :.
   Report 
TimeSnapper For... » TimeSnapper » Help Needed » Re: Odd behavior for lookups after configuring task lookup from the flag dialog

Powered by Community Server, by Telligent Systems