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

Switching windows inside the session #86

Open
neolumine opened this issue Dec 28, 2023 · 0 comments
Open

Switching windows inside the session #86

neolumine opened this issue Dec 28, 2023 · 0 comments

Comments

@neolumine
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I just got obsidian-remote up and running successfully. I clicked on the Help icon in the lower left hand corner of the screen (in the Obsidian app window), and clicked on the Open button for the sandbox vault. This opened the sandbox vault in a new window, so I then had two Obsidian app windows open within the session.

The only way I could see to switch between the two app windows was to make sure neither one was maximized, then resize and move them so they overlapped partway. Then I could click on an exposed part of the inactive window to bring it to the foreground.

I can't middle-click on my system so I couldn't bring up the default Openbox middle-click window switching menu. When using obsidian-remote in a browser tab, the Alt-Tab keyboard combination was processed by my host system and not passed in to the obsidian-remote session.

I would like to have a way to switch between multiple windows inside the session.

Describe the solution you'd like
I'm not sure what kind of solution would be best; I'm open to suggestions. I would prefer a solution that worked well with keeping the Obsidian app window maximized all the time, and that would work in a browser tab with limited keyboard shortcut availability.

Some ideas:

  • Choose a pair of keyboard shortcuts not already used by Obsidian itself or by most major OSes/window managers/web browsers, and assign them in Openbox to the actions "previous window" and "next window". I'm not sure offhand which keyboard shortcuts would be best.
  • Add a panel application to the container (i.e. a simple taskbar) and configure it to show a button for each open window.

One panel I've used in the past when putting together minimal Openbox GUI setups is tint2 (screenshots). It's very lightweight and configurable, and could be configured as a window switcher/taskbar only, with no other panel items. It is an extra program though, and I would understand if the preference is to keep it lean since this is a single-purpose container intended to run just the Obsidian app itself.

Describe alternatives you've considered

Potential solution ideas listed above

Additional context

obsidian-remote container version: from 2023-12-23 sha256:96532e7919efffc31c6145cb0683bf1ac171d81a3c40ad3b4450df85d1522cc4

Host system:

Platform/OS: macOS Sonoma 14.2.1 (Apple Silicon arm64)
Browser: Microsoft Edge 120.0.2210.91

Screenshot of a browser tab running obsidian-remote with two Obsidian windows open and no obvious way to switch between them:

image
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