wx.HtmlHelpController scrolling issue on upgrade

Hi all,

I am upgrading my application from wxPython 3.0.2.0 under Python 2.7 (32-bit) to wxPython 4.0.4 under Python 3.7 (64-bit). Mostly, it's going well, but I am running into occasional issues.

I use the wx.html.HtmlHelpController() module for my program manual and context-sensitive help system, and I've noticed a change in behavior in this module. When I change from one page to the next in my Help book, the control used to scroll to the top of the new page automatically, as one would expect on an HTML page change. Now, however, the control does not scroll. If I'm at the bottom of a help page and select a link to move on to the next page, the new page will be displayed but will start out scrolled down the same number of lines as the last page.

I have not been able to find a way to alter this new behavior. wxPython and wxWidgets documentation provide no hints and no access to any of the events for the controller. Google searches have provided little information on the HtmlHelpController and nothing on scrolling within it.

Any help would be greatly appreciated. Thanks in advance,

David

···

--
David K. Woods, Ph.D.
President, Researcher, and Lead Transana Developer
https://www.transana.com

I haven’t found any information about this yet. It may need a conversation on wx-users or an issue at trac.wxwidgets.org. It looks like it’s happening for a plain HtmlWindow too, so that will probably help them track it down.

···

On Monday, June 17, 2019 at 3:03:51 PM UTC-7, David wrote:

Hi all,

I am upgrading my application from wxPython 3.0.2.0 under Python 2.7
(32-bit) to wxPython 4.0.4 under Python 3.7 (64-bit). Mostly, it’s
going well, but I am running into occasional issues.

I use the wx.html.HtmlHelpController() module for my program manual and
context-sensitive help system, and I’ve noticed a change in behavior in
this module. When I change from one page to the next in my Help book,
the control used to scroll to the top of the new page automatically, as
one would expect on an HTML page change. Now, however, the control does
not scroll. If I’m at the bottom of a help page and select a link to
move on to the next page, the new page will be displayed but will start
out scrolled down the same number of lines as the last page.

I have not been able to find a way to alter this new behavior. wxPython
and wxWidgets documentation provide no hints and no access to any of the
events for the controller. Google searches have provided little
information on the HtmlHelpController and nothing on scrolling within it.

Any help would be greatly appreciated. Thanks in advance,

Robin