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

Middle click on link opens new browser window inside Electron #3287

Closed
imtbl opened this issue May 27, 2020 · 0 comments
Closed

Middle click on link opens new browser window inside Electron #3287

imtbl opened this issue May 27, 2020 · 0 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues

Comments

@imtbl
Copy link

imtbl commented May 27, 2020

Environment

Joplin version: 1.0.201
Platform: Linux
OS specifics: Arch Linux (installed via https://aur.archlinux.org/packages/joplin/)

Steps to reproduce

  1. Add link to note (e.g., [https://duckduckgo.com](https://duckduckgo.com))
  2. Middle click link in note viewer
  3. New browser window opens inside the Electron application

Describe what you expected to happen

According to here, this should probably not be possible:

// Disable middle-click (which would open a new browser window, but we don't want this)
document.addEventListener('auxclick', event => event.preventDefault());

Imo, if possible, this should rather open a new tab/window inside the configured default browser (essentially treating it as a left click should suffice for this, I guess).

@imtbl imtbl added the bug It's a bug label May 27, 2020
@imtbl imtbl changed the title Middle click on link opens new browser window Middle click on link opens new browser window inside Electron May 27, 2020
@laurent22 laurent22 added high High priority issues desktop All desktop platforms labels May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues
Projects
None yet
Development

No branches or pull requests

2 participants