orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
640 stars 38 forks source link

Problems with clipboard in 11.4 in Arch Linux #299

Closed LevKats closed 1 year ago

LevKats commented 1 year ago

Hi,

I can't copy text from textadept to other windows in 11.4 version (gtk3). It works only in opposite direction when i past something into textadept buffer. Also i can copy/paste inside/between buffers.

I don't use aur package, I compile with: ` make GTK3=1 deps

make GTK3=1 ` If it is important I run it in Gnome/Wayland.

orbitalquark commented 1 year ago

Thanks for the report, but I'm afraid there isn't anything I can do about this. I downloaded and ran the binary from GitHub and do not see this issue on my Ubuntu box. I don't have access to Arch.

LevKats commented 1 year ago

Interestingly I can reproduce this issue in scite. Probably this bug https://sourceforge.net/p/scintilla/bugs/2361/ is somehow related.

orbitalquark commented 1 year ago

Thanks for digging into this. I think you're right.

LevKats commented 1 year ago

It was fixed by gtk3.24.36 update.

Selorax commented 1 year ago

@orbitalquark Hi. I have a copy-paste issue, but I don't know if that's an instance of this bug or not, I have gtk+ 3.24.31 installed. Copy and paste with ^V ^C works both ways, middle click paste from other app to TextAdept works fine, if I select something in TextAdept and click middle mouse button in other program, it also works, however,

If I first select something in TextAdept tab, then switch to other tab in it, then I cannot paste with middle click neither in TextAdept, nor to other app, however if I switch back to the tab I selected text in, then I can middle-click paste it again.

Also when I paste text from the same tab, it can only be pasted once, after it has been pasted, selection is dropped and buffer is cleared, which also shouldn't happen.

So, I guess, the main problem is that text buffer is lost when its source is deselected.

orbitalquark commented 1 year ago

May I ask you to try this same sort of thing in SciTE? It's another Scintilla-based editor that uses GTK. If the same type of issue occurs in SciTE, then it is an issue with Scintilla. If you cannot reproduce this with SciTE, then it's an issue with Textadept.

Selorax commented 1 year ago

@orbitalquark, I have tried installing SciTE on a different computer and there copy-pasting between tabs works fine.

orbitalquark commented 1 year ago

I can reproduce what you describe in the GTK version of Textadept, but not in the upcoming Qt version. Therefore this is either a GTK issue, or a Scintilla on GTK issue. It does not appear to be a Textadept issue. It may very well be an instance of OP's bug.

The fact that copy-pasting with SciTE on a different computer does not help because it should be the same system as Textadept in order to troubleshoot the problem.

paaguti commented 1 year ago

Speaking about clipboard, I sometimes see messages about entre clipboard being too old in my QT Tectadept on Linux. Not on Mac or Windows…Enviado desde mi iPhoneEl 14 feb 2023, a las 21:13, orbitalquark @.***> escribió: I can reproduce what you describe in the GTK version of Textadept, but not in the upcoming Qt version. Therefore this is either a GTK issue, or a Scintilla on GTK issue. It does not appear to be a Textadept issue. It may very well be an instance of OP's bug.

The fact that copy-pasting with SciTE on a different computer does not help because it should be the same system as Textadept in order to troubleshoot the problem.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

orbitalquark commented 1 year ago

Please open a new issue or discussion. This issue has been resolved.