[squeak-dev] reason why HelpBrowser does not respect page order on display? Fix? Bug? or Feature?

gettimothy gettimothy at zoho.com
Sun Oct 10 09:02:19 UTC 2021


I found the culprit.







HelpBrowser openOn: FooHelp.   ends up about three sends later in



HelpBrowser >> rootTopic: aHelpTopic





rootTopic: aHelpTopic

"set the root topic and work out the top level sub-topics that it implies. Add the search topic at the end of the list"

rootTopic := aHelpTopic asHelpTopic.



self toplevelTopics: ((rootTopic ifNil: [#()] ifNotNil: [rootTopic subtopics]) sorted, {self searchTopic}).

self toplevelTopics: ((rootTopic ifNil: [#()] ifNotNil: [rootTopic subtopics ifEmpty: [{rootTopic}]]) sorted, {self searchTopic}).

self changed: #windowTitle.





When I remove that "sorted" I get the results I expect.



However....when I go to the top bar Help->SqueakHelp   it reverts back to the "incorrect" behavior.



gonna hunt that down next.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211010/58519d6b/attachment.html>


More information about the Squeak-dev mailing list