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

[BUG]: Extension crashing after new login from remote desktop #99

Open
wesleylancel opened this issue Dec 29, 2024 · 4 comments
Open

[BUG]: Extension crashing after new login from remote desktop #99

wesleylancel opened this issue Dec 29, 2024 · 4 comments

Comments

@wesleylancel
Copy link

Describe the bug
The extension crashes after a new login from remote desktop (using Ubuntu's built-in remote desktop).

To Reproduce
Steps to reproduce the behavior:

  1. Enable the extension for the first time: works.
  2. Quit remote desktop session
  3. Extension fails to load with error message TypeError: panelMonitor is undefined
  4. Disable extension
  5. Disable "Use Extensions" switch in Gnome Extensions app
  6. Quite remote desktop session
  7. Enable "Use Extensions"
  8. Enable extension
  9. Works again until next session

Relevant Specs:

  • Open Bar version: 32
  • Gnome version: 47
  • OS/Distribution: Ubuntu 24.10
  • Other installed extensions if interference is expected [Optional]:
@wesleylancel
Copy link
Author

Managed to get a debug trace after trying for a while:

Screenshot 2024-12-29 at 23 15 15

@neuromorph
Copy link
Owner

Hello,

Open Bar finds the monitor with the panel from the list in Main.LayoutManager. The error seems to complain about it not being found which could be due to the remote desktop session.

I am however not clear on the scenario or steps. Have you installed Open Bar on a system and then connecting to it over remote desktop from another system? Are you saying that with this scenario, the extension works when you do remote login the first time but it crashes when you disconnect the remote session?
In the steps to reproduce when do you start the remote session that is disconnected in step 2?

Please provide the clarity and I will try to reproduce it.

Thanks for reporting!

@wesleylancel
Copy link
Author

@neuromorph thanks for the reply. It's a Ubuntu VM that has Open Bar installed. Basically it doesn't seem to work properly with remote desktop at all. There were a few times that I could get it to work once, but can't properly reproduce that.

Basically:

  • When I logon with VNC from the hypervisor on which the VM is hosted, everything consistently works fine.
  • When I logon using Ubuntu's built-in remote desktop it doesn't load the extension and shows the error I pasted above.

@neuromorph
Copy link
Owner

OK. I am using Ubuntu as well but never tested with remote desktop.
I will try to login to my Ubuntu laptop from another computer using remote desktop.
On the other hand, I am using Boxes for managing VMs. If the usecase is more similar to running a Ubuntu VM in boxes and then using remote desktop to login to it from my host system then I can try that but need to check how to do it.

As for the error, I need the monitor object from Gnome to position the panel in it. Gnome maintains a list of all monitors and the error indicates that the list is empty so need to investigate how Gnome considers the concept of monitors in case of a Remote Desktop.

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

2 participants