Closed ejeschke closed 4 months ago
@pllim, I've had a number of problems with the built in help system. This is meant to address them.
When you have time, can you test this with stginga
in your environment?
@ejeschke , is there a deadline? I am not sure if I can get to this next week.
No deadline. Release 5.0 is way overdue, and now it is looking like late Jan or early Feb.
Another possibility, @pllim, is to deprecate the WBrowser
plugin completely. We could skip trying to download a zip of HTML (which doesn't seem to work for me anymore) and either show the online documentation in an external browser, or docstrings in a text widget if offline, or the user prefers.
I never used WBrowser myself except to play YouTube in a live demo so I am okay with replacing it with something else.
I never used WBrowser myself except to play YouTube in a live demo so I am okay with replacing it with something else.
Ok, sounds good. I feel like the browser widget in Qt (and Gtk) is getting more and more complicated and difficult to support. I read that the Qt browser widget is built on Chrome (!) so it is a pretty complex piece of software to embed.
I'll rework this to just deprecate the WBrowser
, so hold off reviewing for now...
I am a bit sad because I used to taunt Tom Robitaille saying that glue cannot play YouTube like Ginga. 😆
We could replace it with Tetris or Pong...
A kid already broke Tetris. What about Doom? 😸
I dunno, maybe a space-based game might be best. There are lots to choose from. Asteroid?
Oh, that is good idea. Or Space Invaders. 🤣
Ok, @pllim, when you have a few minutes to try with stginga
, please give it a whirl.
Rebased
@pllim, ok, good point. Let me rework this slightly to make it backward compatible for the help button API.
@pllim, I have updated the PR so that the behavior for stginga
is the same as if the WBrowser
was not installed (because it is actually removed in this PR). I tested with BackgroundSub
and it now pops up a text window with the docstring in RST. Can you give a quick test to confirm?
To get the behavior of the PR, where it asks the user whether they want the online help rendered in an external browser or the docstring in a text window, I will submit a PR for stginga.
Rebased
Thanks, @pllim!
This fixes several problems with the built in help system:
Solutions in this PR: