If you start at somedirA/archive.7z and go to the next book via PgDown but there is no other archive in somedirA next to the current one, you'll be taken to somedirB which is next to somedirA and has not have anything to do with the previous "shelf". If you go back using PgUp, you will see the images in somedirA (something that was not possible when you were walking over the archives in it!) but you will not get to the archives in somedirA. That is, MComix changed the interpretation of somedirA from being a shelf (containing archive books) to a book (containing plain images).
Proposed new behavior:
Speaking in terms of variables available in the "Open with" feature,
%Sand%sshould stay the same no matter how you switch to the "next" or "previous" book (i.e. directory or archive) using the "Go" menu. Changing the current shelf is possible only via using commands like File → Open.More detailed:
mcomix /some/shelfA/book1/page01.jpgand/some/shelfA/book1/page01.jpgdenotes an image file, then/some/shelfAwill be identified as the current shelf and/some/shelfA/book1will be identified as the current book.mcomix /some/shelfA/book1and/some/shelfA/book1denotes an archive file or a directory, then/some/shelfAwill be identified as the current shelf and/some/shelfA/book1will be identified as the current book. This interpretation does not depend on whetherbook1denotes a directory or an archive file./some/shelfA/book1denotes a book implemented as a directory, then:/some/shelfA/book1are identified as "pages" of this book./some/shelfA/book1are completely ignored./some/shelfA/book1denotes a book implemented as an archive file, then:/some/shelfAare ignored./some/shelfA/book2or/some/shelfA/book0, but you cannot switch to anything located in/some/shelfBand you cannot switch to/some/shelfA/subshelf/hiddenbook.In other words, whether the current book is implemented as an archive file or a directory does not influence the way you navigate to other books.
Furthermore, since the shelf is fixed, switching to another book is only possible if the target book is located in the same shelf. There are several steps needed to determine the order and number of books as they appear in a given shelf:
@Benoit Pierre: What do you think about this approach? Any suggestions or other approaches?
EDIT: Proposal made a bit clearer.
Last edit: Ark 2015-04-11