Preserve settings after closing

Bug #1188954 reported by Yoozer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Catfish
Fix Released
Wishlist
Unassigned

Bug Description

If I check options like 'Hidden Files' or open the 'Advanced Settings' panel, Catfish does not remember these preferences after I close it.

I am using Catfish 0.7~bzr20130602~raring1

description: updated
Revision history for this message
Deyvi (damos96) wrote :

You have to start Catfish with the --hidden option

$ catfish --hidden

Revision history for this message
Sean Davis (bluesabre) wrote :

I've added a settings RC file to catfish, in order to remember states for hidden files and sidebar.

Changed in catfish-search:
status: New → Fix Committed
importance: Undecided → Wishlist
assignee: nobody → Sean Davis (smd-seandavis)
Revision history for this message
Deyvi (damos96) wrote :

Where do I find this RC file?

Revision history for this message
Sean Davis (bluesabre) wrote :

Catfish creates this file when you change the settings in the application. I may not have actually pushed my changes before, but they should be there now.

http://bazaar.launchpad.net/~catfish-search/catfish-search/trunk/revision/151

The file is created at ~/.config/catfish/catfish.rc and right now only stores the hidden files and sidebar settings.

Revision history for this message
Yoozer (yoozer-deactivatedaccount-deactivatedaccount) wrote :

Thanks Sean, but for some reason the latest build (from the 24th of June) won't launch at all.

Revision history for this message
Sean Davis (bluesabre) wrote :

Hi Yoozer,

Could you try running it from the terminal and see if there is any output?

Revision history for this message
Yoozer (yoozer-deactivatedaccount-deactivatedaccount) wrote :

Traceback (most recent call last):
  File "bin/catfish.py", line 50, in <module>
    import catfish
  File "/usr/share/catfish/catfish/__init__.py", line 24, in <module>
    from catfish import CatfishWindow
  File "/usr/share/catfish/catfish/CatfishWindow.py", line 37, in <module>
    from catfish_lib import Window, CatfishSettings
ImportError: cannot import name CatfishSettings

Revision history for this message
Sean Davis (bluesabre) wrote :

Thanks for checking it out.

Liviu, it seems the daily PPA is not installing the latest file I added, could you check it out?

Changed in catfish-search:
assignee: Sean Davis (smd-seandavis) → Liviu Andronic (landronimirc)
Revision history for this message
Sean Davis (bluesabre) wrote :

I've found the problem, it should be fixed in the next catfish build (probably tomorrow)

Revision history for this message
Sean Davis (bluesabre) wrote :

Please try this again from the PPA now. It is working for me.

Revision history for this message
Yoozer (yoozer-deactivatedaccount-deactivatedaccount) wrote :

Same here. Thanks.

Hopefully you can add the ability to save the user's preferences for 'Exact Match' and 'Fulltext Search', just for completeness.

Revision history for this message
Yoozer (yoozer-deactivatedaccount-deactivatedaccount) wrote :

I think Catfish should also remember if you set it to search a directory other than your Home folder.

Sean Davis (bluesabre)
Changed in catfish-search:
milestone: none → 0.8.0
status: Fix Committed → Fix Released
assignee: Liviu Andronic (landronimirc) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers