Ticket #2814 (closed task: fixed)

Opened 7 years ago

Last modified 7 years ago

Incapsulate of CK_FileNext/CK_FilePrev command handling inside mcviewer.

Reported by: andrew_b Owned by: andrew_b
Priority: major Milestone: 4.8.4
Component: mcview Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Currently, when CK_FileNext/CK_FilePrev command is raised in mcviewer, there following actions are performed:

  1. close mcviewer
  2. switch to file manager
  3. run new mcviewer.

mcviewer is assign with current panel and its working dir. As a result of that, CK_FileNext/CK_FilePrev command handling doesn't work:

  1. in mc which run as standalone viewer (mcview or mc -v)
  2. with multi-screen engine:
    1. run internal viewer from file manager (press f3);
    2. switch back to the file manager;
    3. switch back to the opened viewer and press C-f (CK_FileNext) or C-b (CK_FilePrev);
    4. viewer is just closed.

The offering solution provides the full handling of CK_FileNext/CK_FilePrev commands within mcviewer and fixes problems described above.

Also this is a step to #2156.

Branch: 2814_viewer_next_prev (parent: master).
Initial changeset:ba8dcbe072928725db81a4b762fbcc7e26953548

Change History

comment:1 Changed 7 years ago by andrew_b

  • Status changed from new to accepted

comment:2 Changed 7 years ago by angel_il

  • Votes for changeset set to angel_il

comment:3 Changed 7 years ago by slavazanko

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

comment:4 Changed 7 years ago by andrew_b

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

Merged to master: [d235c71dae84d72a9bc39c4a20f8db2758f11ae4].

git log --pretty=oneline 50f8b5b..d235c71

comment:5 Changed 7 years ago by andrew_b

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