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

"Open preview to the side" is shown twice for markdown files #15080

Open
sdirix opened this issue Feb 27, 2025 · 1 comment
Open

"Open preview to the side" is shown twice for markdown files #15080

sdirix opened this issue Feb 27, 2025 · 1 comment

Comments

@sdirix
Copy link
Member

sdirix commented Feb 27, 2025

Bug Description:

Open markdown editors show the "Open preview to the side" action twice in the toolbar

Steps to Reproduce:

  1. Use Theia IDE 1.58.100 or 1.59.1 (preview)
  2. See that the "Open preview to the side" action is shown twice. One with keybinding and one without

Image

  1. The one without keybinding opens in split preview, while the one with takes over the main area

Additional regression

The one with keybinding does not work in Theia Try Online

Image

However it works locally

Additional regression (2)

When using the action without keybinding it offers a "Open source" action. When clicking it, the source is opened AGAIN, leading to the editor being open twice. If going through the chain again, the subsequent preview and open source actions will focus the newly opened tabs.

Additional Information

  • Operating System: Ubuntu 22.04
  • Theia Version: >= 1.58.100 (might occur before too, but did not test it)
@msujew
Copy link
Member

msujew commented Feb 27, 2025

Related #13895 (I never got to removing it).

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