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

Prusa Connect tab in PrusaSlicer stuck on external web pages #13465

Open
2 tasks
bryanfarrell opened this issue Oct 4, 2024 · 0 comments
Open
2 tasks

Prusa Connect tab in PrusaSlicer stuck on external web pages #13465

bryanfarrell opened this issue Oct 4, 2024 · 0 comments

Comments

@bryanfarrell
Copy link

Description of the bug

I was using Prusa Connect in the PrusaSlicer and went into the Camera section for my printer. I clicked on the link to see the API docs for integrating a camera with Prusa Connect and the Prusa Connect tab switched to that documentation. I could not get the Prusa Connect tab to return to the home page of Prusa Connect after this, and seems my only option is to restart PrusaSlicer.

I tried switching to the Plater tab and then back to Prusa Connect tab, but it did not refresh to the home screen and instead stayed on the API documentation web page. I then clicked on connect-api docs link from the API documenation web page, and that web page loaded.

I understand that behind the scenes this Prusa Connect tab is opening in an internal web browser, but this becomes a problem because there is no way to reload the tab back to Prusa Connect home page.

The simplest fix would be to add code so that every time Prusa Connect tab gains focus (eg, when going from Plater tab to Prusa Connect) that the tab loads the Prusa Connect home page. Another option would be some sort of option in the menu system to reset Prusa Connect tab back to home page. Any solution like this would fix the problem. Something does need to be done though as having to close and reload PrusaSlicer is far from ideal in this situation.

Project file & How to reproduce

  1. Launch Prusa Slicer
  2. Click on Prusa Connect tab
  3. Select a printer and then go to the Printer's Camera tab
  4. Click on the 'API' link that mentions connecting Printers via API (Prusa Connect should now show the API documentation page, which has no option to go back to Prusa Connect)
  5. Switch back to 'Plater' tab and then switch back to 'Prusa Connect' tab (Prusa Connection should still show API doc page)

The ideal behavior would be any way to reset Prusa Connect tab, as once a link that exists outside of the Prusa Connect website is clicked, you cannot get back to the Prusa Connect home page.

Possible fixes: double click on Prusa Connect tab reloads the tab (with same process that loads tab first time you open it after launching PrusaSlicer), a right click context menu on the tab with option to reset it, adding an option to reset it in the main menu system, etc. Any way would be fine other than current solution, which is to restart PrusaSlicer completely.

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2,8,1 +win64

Operating system

Windows 11

Printer model

MK4S

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

1 participant