wx.HtmlHelpController scrolling issue on upgrade

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

wx.HtmlHelpController scrolling issue on upgrade

David Woods
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

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/fb6ebf7b-670b-ed91-3580-56b3211ff25e%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: wx.HtmlHelpController scrolling issue on upgrade

Robin Dunn
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,


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.

--
Robin
 

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/6194087f-9100-4d5d-97ba-444924f667f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.