The bug is similar to http://www.question2answer.org/qa/12163/minor-bug-sub-menu-item-recent-always-appears-selected but this time it is the custom page link.
In my example the custom page is linked to homepage through $QA_CONST_PATH_MAP=array(
OK, I think the solution is as follows. In function qa_navigation_add_page(...) in qa-app-format.php, change:
... to ...
That signifies to a separate part of Q2A that the custom part of the URL should not be matched as a prefix, but rather only if it is the full thing.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.