Ticket #1663 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

Panels state saves and restores despite disabled 'Auto save setup'

Reported by: gotar Owned by: slavazanko
Priority: major Milestone: 4.7.0
Component: mc-core Version: 4.7.0-pre4
Keywords: Cc: arekm@…
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

There's no way to retain some initial panel state. I've got specific setting of listing, sorting, other_dir etc. and I want them to be permanent; if I do too much mess during work (like ctrl-x [iq], sorting, filtering, whatever) I restore order by quick mc restart. It worked since ever till 4.6.2 including, now it's gone. Moreover mc disobeys chmod -w ~/.mc/panels.ini. Possible solutions:

  1. add config options (like Auto save panels state),
  2. obey panels.ini permissions,
  3. bring back previous behaviour.

Change History

comment:1 Changed 15 years ago by arekm

  • Cc arekm@… added

comment:2 Changed 14 years ago by NNemec

  • Version changed from 4.7.0-pre3 to 4.7.0-pre4

I agree. I find this new behavior really annoying!

comment:3 Changed 14 years ago by slavazanko

  • Owner set to slavazanko
  • Status changed from new to accepted

comment:4 Changed 14 years ago by slavazanko

  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.0

Created branch 1663_save_panels_state

Initial changeset: 71dff2faa8aa40697e3a0f310538724dda3c3cf1

review, please.

comment:5 Changed 14 years ago by metux

  • Votes for changeset set to metux

comment:6 Changed 14 years ago by angel_il

  • Votes for changeset changed from metux to metux angel_il
  • severity changed from on review to approved

comment:7 Changed 14 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from metux angel_il to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:8 Changed 14 years ago by slavazanko

  • Status changed from testing to closed

comment:9 Changed 14 years ago by andrew_b

Added new option in ~/.mc/ini file: auto_save_setup_panels. Default value is 0. In this case panel states are not saved in ~/.mc/panels.ini file.

Note: See TracTickets for help on using tickets.