Skip to content
New issue

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

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

Already on GitHub? # to your account

UI mode setting is undocumented and can cause confusing errors #574

Closed
nathancarter opened this issue Feb 10, 2023 · 3 comments
Closed

UI mode setting is undocumented and can cause confusing errors #574

nathancarter opened this issue Feb 10, 2023 · 3 comments

Comments

@nathancarter
Copy link

Description

The settings page for the new JupyterLab Desktop app (version 3.6.1) gives you two choices for "JupyterLab UI mode," and they are called "Web app" and "Client app." There are two problems:

  1. These are not documented anywhere I could find by searching the web, so I just decided to experiment with them.
  2. Switching to "Client app" and restarting caused the application to no longer detect my Python environment (which it had previously correctly detected) and thus gray out the "New notebook...," "New session...," and "Open..." buttons on the start page.

Reproduce

  1. Open JupyterLab Desktop app.
  2. Open its Settings.
  3. Switch to Client app.
  4. Apply and restart.

Expected behavior

I expected there to be documentation on these two options and that both would work.

Context

  • Operating System and version: Mac OS 12.4
  • JupyterLab-Desktop version: 3.6.1
  • Installer: .dmg

My suspicion from the tooltips on those two options is that one of them runs JupyterLab from within the Python environment you've selected and the other one just runs the Python kernel from that environment, but runs JupyterLab from within the Python environment that the desktop app can install for you. And since I hadn't asked it to install a Python environment for me, it didn't have one. If that's correct, it's particularly confusing that you get a message about your Python environment not being detected when the only setting you changed didn't have anything to do with your Python environment!

If this suspicion is correct, then perhaps the right thing to do is to gray out "Client app" when it doesn't actually apply, and place a message below it saying that you can't use it unless you install the bundled Python environment first. (But I'm guessing here about what the problem might be.)

@welcome
Copy link

welcome bot commented Feb 10, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@mbektas
Copy link
Member

mbektas commented Feb 13, 2023

@nathancarter thanks for reporting this. yes, the client app mode is more restrictive. I actually would like to sunset that mode in future releases.

@mbektas
Copy link
Member

mbektas commented Apr 24, 2023

Client App mode is removed now.

@mbektas mbektas closed this as completed Apr 24, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants