Opened 12 years ago
Closed 10 years ago
#9200 closed enhancement (fixed)
Hide files which start with a dot
Reported by: | Giova84 | Owned by: | waddlesplash |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Would be nice add a preference/filter in Tracker, to hide files which start with a dot. In BeOS that was possible, using Tracker.NewFS: http://bebits.com/app/1567
From that page: "* StaticFiltering (always filtering out all files starting with a "." for example (POSIX))"
This option could be also extended, creating personal rules.
Change History (14)
follow-ups: 2 4 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Replying to axeld:
I'm not sure if this feature really needs a setting in the UI.
Hi Axel, if i remember correctly this setting was available in the GUI of Tracker.NewFS; but in anyway in my opinion this option should be present in the UI, since (for example) in some file commanders is available under options>settings. So, this undocumented option, will be clear to any user. And consider the fact that sometime this option could be enabled/disabled on the fly (eg to browse a ".config" folder to change some setting file and then, hide it again). I hope i was clear in my explaining :-)
Best regards.
comment:3 by , 12 years ago
And again: this option about static filtering, could be enhanced, to filter (exclude) any word in files and folders!
comment:4 by , 12 years ago
Replying to axeld:
This has already been implemented ages ago; it is just not exposed in the settings window. To enable the feature, you have to manually change the
/boot/home/config/settings/Tracker/TrackerSettings
, and setHideDotFiles
totrue
.
By default this entry is set to "off", if i set to "on" like all other voices in this setting file, doesn't work: if i restart Haiku or only the Tracker and if i reopen TrackerSettings file, i will find again the HideDotFiles set to "off".
follow-up: 6 comment:5 by , 12 years ago
You are the first to complain in ten years, so it's not a feature everyone missed.
Anyway. as I said before: I don't know if Tracker is allowed to run when you change the file. Apparently, it is not, ie. it will save the settings on exit. So you have to quit Tracker, then change the file, and launch Tracker again afterwards.
comment:6 by , 12 years ago
Replying to axeld:
Anyway. as I said before: I don't know if Tracker is allowed to run when you change the file. Apparently, it is not, ie. it will save the settings on exit. So you have to quit Tracker, then change the file, and launch Tracker again afterwards.
For reference, this is correct. For that matter, Quit is actually the only time they're saved, ergo if settings are changed on the fly and Tracker crashes, those changes are lost. Needs to be revisited/refactored at some point.
comment:7 by , 12 years ago
FWIW this sounds like something which would be nice to be expanded and made more generic. It would at least make sense to expose this option in the settings window.
Also it might be a bit better to flush settings to disk when they are changed, not just at quit. And maybe node monitor the settings file for manual changes, though personally I think hiding settings in a file isn't really the "Haiku way".
comment:8 by , 10 years ago
Milestone: | R1 → Unscheduled |
---|
comment:9 by , 10 years ago
Component: | Applications/Tracker → Kits/libtracker.so |
---|---|
Keywords: | Hide files which start with a dot advanced filtering removed |
Owner: | changed from | to
Platform: | x86 → All |
Version: | R1/alpha4.1 → R1/Development |
comment:10 by , 10 years ago
Component: | Kits/libtracker.so → Applications/Tracker |
---|---|
Owner: | changed from | to
So you got ticket edit permissions again? This is indeed a problem of Tracker (the app) missing the entry in the settings window to do it, the needed code in libtracker is already there. Wether or not we actually want it implemented is the open question here.
comment:11 by , 10 years ago
I have the ability to edit tickets it appears, but I didn't ask anyone for them. (I can't reassign them though).
Also, this affects libtracker too -- filepicker dialogs show entries that begin with "."
comment:12 by , 10 years ago
Please read the comments again. There IS support for hiding dotfiles, and there IS an option in the settings file. The only missing part is making the option visible in tracker prefs so you don't have to edit that file directly.
comment:13 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:14 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Implemented in hrev48957.
This has already been implemented ages ago; it is just not exposed in the settings window. To enable the feature, you have to manually change the
/boot/home/config/settings/Tracker/TrackerSettings
, and setHideDotFiles
totrue
. I currently don't remember whether or not Tracker is allowed to run when you do changes to this file.I'm not sure if this feature really needs a setting in the UI.