Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help shows wrong version number (and also fails to load initially) #524

Closed
scooterrodriguez opened this issue Nov 7, 2020 · 5 comments · Fixed by #1259
Closed

Help shows wrong version number (and also fails to load initially) #524

scooterrodriguez opened this issue Nov 7, 2020 · 5 comments · Fixed by #1259

Comments

@scooterrodriguez
Copy link

Describe the bug

A. I have verified that I am running Open Shell, version 4.4.160. However, Open Shell's Help window says I'm running version 4.3.1.

B. Here's a separate but related bug: When I initially open the Help window, I get a "Can't reach this page" error. (•Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct)

To Reproduce
Steps to reproduce the behavior:

Bug A:

  1. When I open Open Shell's settings and...
  2. Click Help
  3. It opens the Help window which says I'm running "Version 4.3.1 - general release"

Bug B:

  1. When I initially open Open Shell's settings...
  2. and click Help...
  3. When the Help window is displayed, it shows a "Can't reach this page" error.

However, if I click the purple book icon beneath the "Open-Shell" icon on the top-left, and then click back to the topmost "Open-Shell" icon, the bug resolves itself and loads the page correctly (except with the aforementioned incorrect version number.)

Expected behavior

Bug A: I expect the actual version number to be displayed in the initial Help window instead of showing the wrong version number.

Bug B: I expect the Help window to load without error the first time I open it.

Screenshots
openshell00a1
openshell0
openshell1

Version:
Don't worry about it. She's fast enough for you, old man.

Additional context

@scooterrodriguez
Copy link
Author

Oh yeah, and looking at my last screenshot, it shows your copyright as being 2017-2018. Needs to be updated to 2020.

@ge0rdi ge0rdi changed the title Open Shell's "Help" window shows wrong version number (and also fails to load initially) Help shows wrong version number (and also fails to load initially) Nov 8, 2020
@ge0rdi
Copy link
Member

ge0rdi commented Nov 8, 2020

Thank you for reporting.

Honestly, help requires complete revamp. Showing wrong version is just tip of an iceberg.
Very little was changed in help since its original Classic-Shell version. It contains links to Classic-Shell site, wrong information about supported OS, etc.

Will be great if someone could take care of modernizing it.
This doesn't require programming skills I guess, so anybody willing to do it could submit PR with changes.

P.S. It is always better to report separate bugs/issues separately. It helps tracking a lot and decreases probability that something will get overlooked.

@bonzibudd
Copy link
Member

I wonder if it may be possible to automatically update that version number via the installer.

@blackcrack
Copy link

blackcrack commented Jun 29, 2021

I wonder if it may be possible to automatically update that version number via the installer.

@bonzibudd
the binary of installer have a Version specification , because it's a binary.. and the binary as so, because it's just a variable where be possible for setting up by building.. (automatic or non automatic), take a look on you cmd, you can "set theversion=1.1.66" in the commandline so cmd and you can call it via " echo %theversion% " , this can you add at the compiling of the binary in hardcoding, this works not over the registry over WinNT.. so can you update it if you update the binary, so the StartMenu.exe and the help-file. you can find it there :
https://github.com/Open-Shell/Open-Shell-Menu/blob/master/Src/StartMenu/StartMenu.rc
Line 84

what i have changed .. and submit a patch ..
edit:
The Pull Request:
#771
just edit the file and push the button of push the pull request, it's easy..

the BuildBot have direct compiled and you can test it :
https://ci.appveyor.com/project/passionate-coder/open-shell-menu/builds/39788666
and the binarys:
https://ci.appveyor.com/project/passionate-coder/open-shell-menu/builds/39788666/artifacts

Screen 00000

best
Blacky

@ge0rdi
Copy link
Member

ge0rdi commented Jun 29, 2021

@bonzibudd
Version is part of Main.html file that is compiled into help:
https://github.com/Open-Shell/Open-Shell-Menu/blob/master/Src/Localization/English/Main.html#L23

You would need to change the html file during build process (there is CS_VERSION environment variable that holds actual version).

Or somehow modify html to access some help properties at run-time, but I'm not sure if that is even possible (I'm not familiar with Windows help much).

ge0rdi pushed a commit that referenced this issue Dec 24, 2022
This should fix the initial error message upon launching the help dialog.
Fixes #524

fix

 - Rename Menu.html in other languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants