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 link" doesn't work in Qt5 version, after Find-bar is opened #5132

Open
pintassilgo opened this issue Jun 28, 2023 · 9 comments
Open

"Open link" doesn't work in Qt5 version, after Find-bar is opened #5132

pintassilgo opened this issue Jun 28, 2023 · 9 comments

Comments

@pintassilgo
Copy link

When I double click a link, a tooltip [Open link] appears, but clicking it does nothing in Qt5 build. On GTK version it works.

@Alexey-T Alexey-T added the bug label Jun 28, 2023
@Alexey-T
Copy link
Owner

What OS and what desktop do you have ?

@pintassilgo
Copy link
Author

openSUSE Tumbleweed, KDE Plasma.

@Alexey-T

This comment was marked as outdated.

@Alexey-T

This comment was marked as outdated.

@pintassilgo
Copy link
Author

I tried again with other content and it's working. Don't know why it didn't work yesterday. I'll close this for now, if I can reproduce it again I'll come back here.

@pintassilgo
Copy link
Author

Right, I think I finally got steps to reproduce.

  1. Open a new document, type/paste http://example.com/.
  2. Double-click it, then [Open link]. It works.
  3. Now press Ctrl+F to open find bar.
  4. Repeat step 2. It doesn't work.

You can close find bar now, it doesn't matter, clicking [Open link] will never work again until you restart Cuda.

For some reason, opening Ctrl+F breaks [Open link] command.

As you know, I use Qt5 version, don't know if it's Qt5-only.

@pintassilgo pintassilgo reopened this May 9, 2024
@pintassilgo
Copy link
Author

pintassilgo commented May 9, 2024

New (probably) required step: you need to be under a Wayland session and launch Cuda Qt5 with QT_QPA_PLATFORM=xcb. Like QT_QPA_PLATFORM=xcb ./cudatext.

I will open issue reporting why I need to set this envvar.

@Alexey-T
Copy link
Owner

Alexey-T commented May 9, 2024

Reproduced in Cud, qt5 version, after Find dlg was opened.
Problem is: my URL panel gets OnMouseLeave instead of OnClick! Lazarus bug.

New (probably) required step:

It was not needed for me.

@Alexey-T
Copy link
Owner

Lazarus bugreport:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40955

@Alexey-T Alexey-T changed the title "Open link" doesn't work in Qt5 version "Open link" doesn't work in Qt5 version, after Find-bar is opened Sep 18, 2024
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

2 participants