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
can't paste from xwayland apps in wayland #2079
Comments
Does pasting work outside the main editing area, like search entry or alike? If it does, could you check if you encounter the same issue with SciTE? It might very well be a bug in Scintilla, the underlying editing widget Geany uses. |
you are right, it works in the "find" window. I'm installing scite now |
Scite works fine! 😕 |
As surprising as it is, it's an interesting info :) |
great news, it works with latest master! ✨ |
Wonderful :) So I'll close this as to be included in next release. We likely won't make a point release with this fix ATM. |
Is this really fixed since 1.35? In 1.36 I cannot paste from firefox (xwayland), but can paste from wayland apps (including firefox started with MOZ_ENABLE_WAYLAND=1). |
Uh, actually that's true, it doesn't work with xwayland apps like calibre. I don't remember about what was going on last year, but it doesn't work now. |
why was this bug report closed - according to the last comment, the reporter actually mentions it still is broken. |
Its closed because the OP reported it working. That a further problem has been discovered probably would have been better as a new report. There are a number of reports of Wayland/XWayland issues with many programs, basically xwayland isn't X11 and doesn't work the same, so apps written for X11 like GTK seem to have problems with xwayland. Since none of the devs have a suitable setup (AFAIK) you will need to provide more information, starting with running Geany as a Wayland app, as Xwayland and (if possible) with proper X11. |
Copy/pasting on Linux with the various clip boards is a bloody mess to begin with. Bugs like this do not help. |
@hollunder thanks for the offer, first would be to build and try with the latest Git version since it has major upgrades of Scintilla (note don't use this version in production just yet, there may be issues with plugins ATM) |
I assume Geany ships Scintilla in its codebase? I hope building it using this is fine? It would be the most convenient and cleanest way for me to install the git head. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=geany-git The other thing that I think I will need is some sort of test setup, other applications to test this with. Probably also a way to inspect the different clipboards. Suggestions regarding this are welcome since I do have other applications that cause me trouble which I will have to debug separately (c/p from vim or terminal (urxvt) in general). |
Yes Scintilla is designed to be built-in to apps that use it. Best way to do a simple build is:
That installs and runs a totally isolated copy of Geany that does not interfere with your system, remember I said don't use the git version in production yet, and you can remove it when finished. [Edit: I can't advise on how to test, remember the reason we need you to test it is we can't reproduce the fault due to not using a system with the relevant configuration so don't know what will/won't work] |
Thanks, this may be good. Can two instances of Geany, one from the distro and the git build, run in parallel or would they share config files or other resources? If not then I could even test Geany against Geany. Anyway, I think I will need to come up with some test cases that are as simple as possible. There are just too many variables involved, we would easily end up in a hairball and attribute issues to the wrong programs. |
Running Geany with [Edit: just to be totally clear, doing it this way will allow both system and the geany-git to run at the same time independently] Agree there are many moving parts, but you need to try enough combinations to identify the source of the issue, maybe keep a table:
|
Using sway from latest master as windows manager,
geany 1.34.1
archlinux
If I try to paste text in geany from an xwayland app (firefox, calibre), it doesn't work. It seems to work fine when pasting from a wayland app (gnome-terminal, zathura).
I think it's a bug in geany, because pasting works fine in gedit, for example.
The text was updated successfully, but these errors were encountered: