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

Ctrl+click to follow link not working #3364

Closed
yetAnotherUsernameTaken opened this issue Nov 17, 2019 · 14 comments
Closed

Ctrl+click to follow link not working #3364

yetAnotherUsernameTaken opened this issue Nov 17, 2019 · 14 comments
Labels
bug 🐛 Issue concerns a bug. level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work.

Comments

@yetAnotherUsernameTaken

Current behavior

Clicking on toc contents does not scroll to linked content in Xubuntu 18.04 .

Expected behavior

After clicking on toc link, it should scroll to linked or related content.

Steps to reproduce

  1. Make a new note in boostnote.
  2. Generate toc
  3. click on toc content

Then you can notice that it does not scroll to linked content.

Environment

  • Version : 0.13
  • OS Version and name : xubuntu 18.04
@Flexo013 Flexo013 added the needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. label Nov 18, 2019
@Flexo013
Copy link
Contributor

I can't reproduce this on Ubuntu 16.04.

There were some errors with links not working in version 0.13.0. Those should be fixed in the next release, so hopefully this issue will also be resolved by that.

@arcturus140
Copy link
Contributor

this might be caused by a special character. To reproduce we need to know the TOC entry that is failing.

@yetAnotherUsernameTaken
Copy link
Author

Please check with this markdown note. I am not able to, make the toc links click and make it go to content in xubuntu 18.04.
As you have said, it might issue with recent build, i hope this might be fixed in next version.

interview questions.txt

Thank you.

@Flexo013
Copy link
Contributor

When I create a note with that exact content the TOC links all work fine for me on Ubuntu 16.04.

Could somebody else with xubuntu 18.04 confirm that this issue exists?

@Flexo013 Flexo013 added the help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! label Nov 19, 2019
@ignaciogarcia
Copy link

ignaciogarcia commented Nov 20, 2019

This happens on MacOS too, version 0.13.0.

I rolled back to 0.12.1 and it works again.

@Flexo013
Copy link
Contributor

@ignaciogarcia Was all TOC links that did not work for you or just scrolling issues?

@ignaciogarcia
Copy link

I didn't thoroughly click in all TOC links, but the ones I tried didn't work. The "Press Cmd + click to follow link" popup does appear in the editor window, but following the instructions doesn't have any effect. Nor does it if I click on a link in the preview window.

As mentioned, falling back to 0.12.1 fixes the problem IN THE PREVIEW WINDOW. Doesn't work either in the editor window.

I have tried with an old installation (0.11.13) I have at another Mac at home and the behavior is the same; links in the preview window do work, links in the editor window preceded by the popup don't.

@Flexo013 Flexo013 added bug 🐛 Issue concerns a bug. level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work. and removed needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. labels Nov 22, 2019
@Flexo013
Copy link
Contributor

I hope that the link and scroll fixes in the next release (0.14.0) will also fix this, but we'll have to see about that.

@rwperrott
Copy link

rwperrott commented Nov 28, 2019

I seems to have stopped working 0.13.0, on my Windows 10 Pro. 64-bit too, but started worked again when I downgraded back to 0.12.1; so I'll stop it and chocolatey, updating it, until I see a release notification for a new version.

@Flexo013
Copy link
Contributor

Can anybody confirm that this is fixed in the 0.14.0-0 pre-release?

@ignaciogarcia
Copy link

Still not working completely in 0.14.0. It does work if you clic on a TOC link in the right pane, but it doesn't if you Cmd-click (as prompted by the popup) in the editor.

@Flexo013
Copy link
Contributor

Flexo013 commented Jan 8, 2020

Can confirm that this in-editor Ctrl + click does not work.

@Flexo013 Flexo013 removed the help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! label Jan 8, 2020
@Flexo013 Flexo013 changed the title Toc - click to scroll not working in Xubuntu 18.04 Linux Ctrl+click to follow link not working Jan 8, 2020
@AWolf81
Copy link
Contributor

AWolf81 commented Feb 19, 2020

That's still an issue as mentioned in PR #3002.

It is for every link in the editor (see snippet below). Link behavior in the preview is working as expected.

I'll create a PR for this. I think there is code missing in hyperlink.js mousedown handler - just normal web links are handled.
I'll try to move the link click handler in a js file so it can be used by preview and editor - so we don't have the code at two locations.

# Tag link test

- Item 1 [#Typescript](:tag:#Typescript)
- Item 2 [#1st tag](:tag:#1st)

# Note link
[XSS plantuml](:note:9a4c36c2-84e9-448a-a01c-eb1e555b7a6b)


# Some dummy text (for line link test)
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

# Line link
[Goto line 3](:line:3)

# External link
[Google](https://www.google.com)

@Flexo013
Copy link
Contributor

Will be fixed as of 0.15.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work.
Projects
None yet
Development

No branches or pull requests

6 participants