#496791 geany: Copy text with middle mouse button doesn't work

Package:
geany
Source:
geany
Description:
fast and lightweight IDE
Submitter:
Torquil Macdonald Sørensen
Date:
2021-04-28 16:12:02 UTC
Severity:
normal
#496791#5
Date:
2008-08-27 13:01:09 UTC
From:
To:
If I select text with the left mouse button, and then middle click
somewhere else, the selected text is not copied. This works in all other
programs I have. To clarify, I'm talking about copying text within
geany, from and to the same text document. I'm running geany within the
XFCE4 environment.

Best regards,
Torquil Sørensen

#496791#10
Date:
2008-08-29 19:55:10 UTC
From:
To:
Hi Torquil, thanks for your bug report, it works fine for me selecting
and pasting with middle mouse button within the same document in geany.
Could you maybe try to reproduce this in a different machine? Or maybe
in a X session without a window manager (i.e. a failsafe session)?

Thanks and hope we can squash this one soon :)

  Damián Viano

#496791#15
Date:
2008-08-30 09:38:30 UTC
From:
To:
Damián Viano wrote:

Hi, I found out how to do it. It is just that it works differently that
in other applications. The text to copy still has to be highlighted when
I middle-click. I have always left-clicked once at the point where I
want to insert the text before middle-clicking (which is maybe
unneccesary...), and that didn't work in geany. When I copy text out of
geany I can still do this, because then geany looses its focus and the
text is still highlighted in geany after the left click in the other
program.

Best regards
Torquil Sørensen

#496791#20
Date:
2008-09-01 08:01:55 UTC
From:
To:
On Sat, 30 Aug 2008 11:38:30 +0200, Torquil Macdonald Sørensen <torquil@gmail.com> wrote:

Hi,

I had a look at this and I think if this is really a bug, it's a bug in
Scintilla not directly in Geany (Scintilla is the embedded editing
component in Geany).

I tested this also with SciTE (also based on Scintilla) and with
mousepad (based on GTK's TextView) from Xfce. And they both behave like
you describe: pasting doesn't work once the selection is gone. I don't
know the X selection specification (primary clipboard) but maybe this
is the intended behaviour.

But regardless of whether this is a bug or actually intended behaviour,
you can easily workaround this by using a clipboard manager like Xfce's
clipman which saves the current selection and so you can paste it
everywhere even if the previous selection doesn't exist anymore. I
really suggest to use it as it makes your life much easier and you
most probably will start to love it  after ten minutes of using it :).


Regards,
Enrico

#496791#25
Date:
2009-06-08 17:34:57 UTC
From:
To:
Actually, there is an open bug report at
http://bugzilla.gnome.org/show_bug.cgi?id=333514 which covers this
issue and I'd suggest for closing/re-assigning this bug as it is not
strictly Geany's fault :).


Regards,
Enrico

#496791#30
Date:
2021-04-28 16:02:13 UTC
From:
To:
On Mon, 1 Sep 2008 10:01:55 +0200 Enrico =?UTF-8?B?VHLDtmdlcg==?=  <enrico.troeger@uvena.de> wrote:
 > I had a look at this and I think if this is really a bug, it's a bug in
 > Scintilla not directly in Geany (Scintilla is the embedded editing
 > component in Geany).
 >
 > I tested this also with SciTE (also based on Scintilla) and with
 > mousepad (based on GTK's TextView) from Xfce. And they both behave like
 > you describe: pasting doesn't work once the selection is gone. I don't
 > know the X selection specification (primary clipboard) but maybe this
 > is the intended behaviour.

Looks like it was solved today in Scintilla:

https://sourceforge.net/p/scintilla/code/ci/921cb3dea3112a

I'd love this to be also fixed in the next Debian stable!

Claude