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 URL" in context menu shouldn't require selection #5644

Closed
pintassilgo opened this issue Aug 9, 2024 · 7 comments
Closed

"Open URL" in context menu shouldn't require selection #5644

pintassilgo opened this issue Aug 9, 2024 · 7 comments

Comments

@pintassilgo
Copy link

http://example.com/

  • If you right-click over the link: Open URL is disabled;
  • If you select any char, then right click: Open URL is enabled.

Open URL should be enabled without requiring user to select something.

Sublime, for instance, works as suggested. By the way, the Open link rises as the first menuitem in the list, it's much better than being the last as current Cuda. If you fix that, you could even consider removing the "Open link" popup that appears on dbclick, currently affected by bug #5132. A simple right-click followed by very minor mouse movement then left-click is as easy as dbclicking then clicking the popup (which doesn't work for me because of the bug).

@pintassilgo
Copy link
Author

pintassilgo commented Aug 9, 2024

Actually, from what I'm seeing, it's not that Cuda requires a selection, but for the cursor to be within the URL. Anyway, everything I said stands. It shouldn't be needed. And it would be much better if "Open URL" is at the top of the list.

@Alexey-T
Copy link
Owner

Alexey-T commented Aug 9, 2024

I agree, i Will try to improve it as suggested, tkx.

Alexey-T added a commit that referenced this issue Aug 9, 2024
@Alexey-T
Copy link
Owner

Alexey-T commented Aug 9, 2024

beta linux-qt5:
cudatext.zip

@pintassilgo
Copy link
Author

Perfect, thank you.

Since you preferred not to remove the "Open URL" popup, I disabled it with the option "mouse_click_links": 0,.

@ildarkhasanshin
Copy link
Contributor

если нажать по ссылке не пкм
а кнопкой контекстного меню на клавиатуре
то не появляется пункт open url
это с этим issue связано?

@Alexey-T
Copy link
Owner

Поправлю. Тегну твой ник и дам бету

@ildarkhasanshin
Copy link
Contributor

у меня ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants