Using Bookworm Pup64 Beta-2 with kernel 5.4.53
Selecting a text string puts this string into the Primary buffer, which then can be pasted with mouse middle-click. This works in all applications that allow text selection, so it should also work in Geany, but sometimes it doesn't.
How to reproduce:
1) Select a text string in Geany
2) Change the text beam cursor by using arrow keys or by clicking on a new location
3) Middle click with mouse. Now the selected text should be inserted, however nothing happens
What does work:
After text selection switching to another application, e.g. Leafpad or Terminal, and middle click
Also pasting from another application into Geany works.
Lastly it also works when skipping step 2) of above.
What (probably) happened:
What seems to happen is that in Geany 1.38 the combination of selection followed by text cursor change clears the Primary buffer.
How to verify:
After above step 1) run this command in a terminal: xclip -o
. This will return the selected text
Do the same thing, this time with steps 1) and 2). The command xclip -o
will return error message Error: target STRING not available
The version used in BW64 is
Geany 1.38
"Sulamar"
(built on or after 2023-05-28)
Using GTK+ v3.24.37 and GLib v2.74.6 runtime libraries
By comparison the version used in F96-CE_4 works correctly:
Geany 1.37.1
"Wolbam"
(built on or after 2022-11-11)
Using GTK+ v2.24.32 and GLib v2.64.6 runtime libraries
How to fix:
In Parcellite preferences activate "Use Primary (Selection)" option. By default it's off.
My theory is that this acts like an application switch as explained in above "What does work"
Best, of course, would be to fix Geany...
[Edit] Corrected Geany version