Ticket #3489 (closed defect: fixed)
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:
- on the left panel, get into a folder which has for example 2 folders which the right panel has: eg. dev and bin
- cd / on the right panel (because it has dev and bin folders)
- make sure left panel and right panel are in different current folders! (but both have (at least) 2 same named folders)
- put cursor on left panel anywhere
- Alt+shift+/ to open find file dialog and find * files starting at . Using shell paterns
- press l to Panelize
- 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:2 Changed 10 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.15
Branch: 3489_reload_panelize.
changeset:a3a087ebe6b76a067da7bb180d652ec1bd412b05
comment:3 Changed 10 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:5 Changed 9 years ago by slavazanko
- Votes for changeset set to slavazanko
- Branch state changed from on review to approved
comment:6 Changed 9 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
Merged to master: [15bf7b4bbdbb08a66031496e3f8293de8b642bb6].