Author Topic: c:\BrowseTracker.ini - in root folder  (Read 8448 times)

Offline nightlight

  • Multiple posting newcomer
  • *
  • Posts: 21
c:\BrowseTracker.ini - in root folder
« on: October 12, 2010, 11:46:39 am »
Why is BrowseTracker.ini file in the root folder of drive C. That's a very bad practice (imagine mess if other programs were putting their files in the root) and it looks like some kind of quick & dirty kludge. Is there a way to disable this annoyance without disabling the plugin?
« Last Edit: October 12, 2010, 02:05:45 pm by nightlight »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
Re: c:\BrowseTracker.ini - in root folder
« Reply #1 on: October 12, 2010, 12:24:04 pm »
You're not using projects, don't you?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: c:\BrowseTracker.ini - in root folder
« Reply #2 on: October 12, 2010, 01:07:36 pm »
Why is BrowseTracker.ini file in the root folder of drive C. That's a very bad practice (imagine mess if other programs were putting their files in the root) and it looks like some kind of quick & dirty cludge. Is there a way to disable this annoyance without disabling the plugin?

I have encountered this kind of problem when I use the portable cblanuncher several months ago. the BrowseTracker.ini was created in my F:\  rood folder of drive F. Then I have report to Pecan ( the author of Browser tracker plugin).

It should be fixed.
So, which version did you use?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline nightlight

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: c:\BrowseTracker.ini - in root folder
« Reply #3 on: October 12, 2010, 02:05:11 pm »
I have encountered this kind of problem when I use the portable cblanuncher several months ago. the BrowseTracker.ini was created in my F:\  rood folder of drive F. Then I have report to Pecan ( the author of Browser tracker plugin).

It should be fixed.
So, which version did you use?

The CB version is 10.5, and BrowseTracker 1.2.94 2010/02/25 (it came with the current CB installer).

Offline nightlight

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: c:\BrowseTracker.ini - in root folder
« Reply #4 on: October 12, 2010, 02:07:02 pm »
You're not using projects, don't you?

I am using CB projects & workspaces. How is that related to the problem?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: c:\BrowseTracker.ini - in root folder
« Reply #5 on: October 12, 2010, 02:31:20 pm »
the fixed problem I reported one year ago.

http://forums.codeblocks.org/index.php/topic,10599.msg73594.html#msg73594

Not the same as you states.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline nightlight

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: c:\BrowseTracker.ini - in root folder
« Reply #6 on: October 12, 2010, 08:24:02 pm »
the fixed problem I reported one year ago.

http://forums.codeblocks.org/index.php/topic,10599.msg73594.html#msg7359

Thanks, that fixed it -- from that thread I noticed he checks first for the .ini in the executable
folder. So I moved the BrowseTracker.ini from C:\ to the C::B exe folder and restarted
C::B then toggled the state of BrowseTracker. It updated the new copy without recreating
anything in the root. So it seems happy with the new place.


Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: c:\BrowseTracker.ini - in root folder
« Reply #7 on: January 17, 2011, 09:08:37 am »
strange, I still meet this kind of problem.
Today, I just found that there is a BrowseTracker.ini under my F:/ root.

What I have done is:
1, install
http://forums.codeblocks.org/index.php/topic,13234.msg94433.html#msg94433
on my system

2, then I just copy a portable cb launcher to the installed folder.
http://forums.codeblocks.org/index.php/topic,10360.msg93976.html#msg93976

then just run the cb portable launcher.

Now, I just check the file BrowseTracker.ini, its create time and modified time was all consistent with the above behavior. :(
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.