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

Start → Help (tab) #156

Closed
kaktusus opened this issue May 22, 2022 · 14 comments
Closed

Start → Help (tab) #156

kaktusus opened this issue May 22, 2022 · 14 comments

Comments

@kaktusus
Copy link
Contributor

OS: Debian GNU/Linux bookworm/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28909 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 2084652)
Hash: 20846523c9d8219ec0fe33c499a64e700d2266b6
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
...

The Help page does not follow your language settings.

  1. I have the Help tab open, click on any workbench item or whatever:

image

  1. It is necessary to change the current language with the available option...

image

  1. The option to go back to the start page from step 1 would also be helpful.
@yorikvanhavre
Copy link
Member

yes. indeed the "back" button of the web browser does not behave correctly when giving it html code directly... so far i haven't found what's wrong

@kaktusus
Copy link
Contributor Author

hehe,
your answer led me to a discovery I had the "navigation" toolbar disabled
;-D

Since the back button doesn't work that way, you might want to work around the problem and add a button that loads the FreeCAD home page (FreeCAD Home button).

One home button is already there but I have no idea what it does.

@kaktusus
Copy link
Contributor Author

image

One piece of good news,
the button I checked led me to the entry point,
loaded the start workbench.

It would leave localization of loaded wiki pages to be done.

@yorikvanhavre
Copy link
Member

yorikvanhavre commented May 22, 2022

maybe we could add a "open start page" button, that's more or less easy, while we try to fix the back button
edit: the blue arrow button, doesn't it open the start page already?

@kaktusus
Copy link
Contributor Author

Not with me.
But when I click on it, the green arrow to the left activates.
Then I can click it which will load the "Start" page.

@kaktusus
Copy link
Contributor Author

@Kuzma30 can you check how it works for you?

@Kuzma30
Copy link

Kuzma30 commented May 23, 2022

Знімок екрана з 2022-05-23 07-47-31

There is no language code in links

@yorikvanhavre
Copy link
Member

This works for me:

  1. Open FreeCAD
  2. In case it starts with the start WB, switch to another WB, and close the start page
  3. Switch back to the start WB
  4. Press the blue arrow button (Start_StartPage command)

The start page opens.

About the other issue notified by @Kuzma30 , I think this section actually needs to be redone to take advantage of the Help workbench... Ideally also, each addon workbench should inform the location of their own help page... there were provisions for that in the past, but I think they were never used...

@kaktusus
Copy link
Contributor Author

kaktusus commented May 7, 2023

It still does not work.
Additionally the homepage toolbar is not available.

@yorikvanhavre
Copy link
Member

What still does not work? The start page does not open when pressing the blue arrow button?

@kaktusus
Copy link
Contributor Author

kaktusus commented May 8, 2023

  1. choose a startup workbebch

  2. click the help tab
    the translated content is loading

  3. click eg. draft workbebch
    page loads in English
    why not translated?

wrong

  1. click back - previous page
    last used files page loads
    my previous page was help.

wrong

  1. click redo - next page
    Draft Workbench page loads in English
    it's ok

  2. I click the blue arrow - start page
    nothing is happening

wrong

I can make a video of this activity if it helps you.

heh by the way I found my missing toolbar - I forgot that you have to enable the Start workbench. 🤣

@yorikvanhavre
Copy link
Member

Ok lots of different problems here...

  • Module help links on the Help page are not going to the translated version on the wiki. That should not be hard to fix as we have the language code from the URL...
  • The back button does not work: I cannot confirm, it works for me? After I click one of the workbench help links, clicking the "back" button brings me back to the s tart page. You mean you want to be sent back to the Help tab? I don't know if that's possible, as it is the same HTML page...
  • The "load start page" button does not work if a start page is already open, even if it is displaying another page. That happens in https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Start/Gui/Workbench.cpp#L63 Basically we should somehow gt a reference to the browser MDI view, and make it reload the start page. Not sure yet how to do that...

@kaktusus
Copy link
Contributor Author

thank you for clarifying the problems

I hope you will find free time that you can devote to repairing the issues

@kaktusus
Copy link
Contributor Author

We no longer have a start page.

OS: Debian GNU/Linux trixie/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37249 (Git) AppImage
Build type: Release
Branch: main
Hash: 3acbc561f299b4cddea8215c387a52f3d5132cf6
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Polish/Poland (pl_PL)
Installed mods: 
...

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

No branches or pull requests

3 participants