Ticket #3489 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Items in Panelize mode disappear after several rounds of Ctrl+O

Reported by: zaytsev Owned by: andrew_b
Priority: major Milestone: 4.8.15
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking: #3498
Branch state: merged Votes for changeset: committed-master

Description (last modified by zaytsev) (diff)

From https://github.com/MidnightCommander/mc/issues/57:

Reporter:

MC forget items in 'Panelize'.

1) Add something to 'Panelize'. It works with 'Find file' and 'External panelize' too.
2) Press C-o several times(or run some console command)
3) Panel is now empty

Another poster:

Reproduce:

  1. on the left panel, get into a folder which has for example 2 folders which the right panel has: eg. dev and bin
  2. cd / on the right panel (because it has dev and bin folders)
  3. make sure left panel and right panel are in different current folders! (but both have (at least) 2 same named folders)
  4. put cursor on left panel anywhere
  5. Alt+shift+/ to open find file dialog and find * files starting at . Using shell paterns
  6. press l to Panelize
  7. press C-o four times

I was able to reproduce it on latest master by creating a folder that contains subfolders "dev", "bin" and "test" and following the procedure above. After few panel switches with Ctrl+O, "test" disappears.

Change History

comment:1 Changed 4 years ago by zaytsev

  • Description modified (diff)

comment:2 Changed 4 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.15

comment:3 Changed 4 years ago by zaytsev

Hi Andrew, I can confirm that this fixes the bug, at least I've just compiled this branch and wasn't able to reproduce it anymore. I can vote, but I have to admit that I don't understand why forcing chdir and swapping the update order fixes it. Thanks!

comment:4 Changed 4 years ago by andrew_b

  • Blocking 3498 added

comment:5 Changed 4 years ago by slavazanko

  • Votes for changeset set to slavazanko
  • Branch state changed from on review to approved

comment:6 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:7 Changed 4 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.