Page 1 of 1

Bug of geany on easyos 5.7

Posted: Thu Mar 07, 2024 2:20 am
by Thanos

Copy some text in geany on easyos 5.7, then close geany, open another editor like leafpad, paste the text, you will find you can NOT paste anything! :o

I try to copy another geany from fatdog to instead geany on easyos 5.7, but it crash.


Re: Bug of geany on easyos 5.7

Posted: Thu Mar 07, 2024 4:17 am
by bugnaw333

The source geany must be opened not closed for you to paste to another editor. ;)


Re: Bug of geany on easyos 5.7

Posted: Thu Mar 07, 2024 11:26 am
by user1234

I think this is not a bug with geany, but rather a clipboard manager is not installed.

Try doing the copy-past thing like method 1, but do it for some other window (like browser window), and see if that works.

If that also fails, you'll need a clipboard-manager.


Re: Bug of geany on easyos 5.7

Posted: Thu Mar 07, 2024 1:36 pm
by Thanos
bugnaw333 wrote: Thu Mar 07, 2024 4:17 am

The source geany must be opened not closed for you to paste to another editor. ;)

But this is Not normal in other linux, only on easy.


Re: Bug of geany on easyos 5.7

Posted: Thu Mar 07, 2024 2:06 pm
by Caramel

The subject has already been raised on the forum :

viewtopic.php?t=9679


Re: Bug of geany on easyos 5.7

Posted: Fri Mar 08, 2024 9:07 am
by BarryK
Thanos wrote: Thu Mar 07, 2024 1:36 pm
bugnaw333 wrote: Thu Mar 07, 2024 4:17 am

The source geany must be opened not closed for you to paste to another editor. ;)

But this is Not normal in other linux, only on easy.

It IS normal in Linux, standard behaviour for Xorg.

Whatever you copy to the clipboard only has the lifetime as long as the application you copied from is still running.


Re: Bug of geany on easyos 5.7

Posted: Fri Mar 08, 2024 10:13 am
by user1234
BarryK wrote: Fri Mar 08, 2024 9:07 am

It IS normal in Linux, standard behaviour for Xorg.

Whatever you copy to the clipboard only has the lifetime as long as the application you copied from is still running.

I think they are talking about most mainline distros using KDE, GNOME, etc. On such linuxes, most probably you'll find a clipboard manager by default. That is why it is a bit 'odd' when encountering this problem at first :roll:.


Re: Bug of geany on easyos 5.7

Posted: Fri Mar 08, 2024 2:06 pm
by Thanos

Why easyos hasn't a clipboard manager by default? I don't know this because other linux hasn't the problem. For example, fatdog is normal for me.


Re: Bug of geany on easyos 5.7

Posted: Fri Mar 08, 2024 2:55 pm
by BarryK
Thanos wrote: Fri Mar 08, 2024 2:06 pm

Why easyos hasn't a clipboard manager by default? I don't know this because other linux hasn't the problem. For example, fatdog is normal for me.

The problem is that EasyOS has a password manager by default, and installing a clipboard manager compromises the security of the password manager. The password manager security relies on removing selection and clipboard quickly, immediately after pasting, whereas a clipboard manager will retain username and password.

So it was a choice, only one of them builtin.


Re: Bug of geany on easyos 5.7

Posted: Fri Mar 08, 2024 3:22 pm
by BarryK

Oh, one thing I forgot to mention; EasyOS does have a clipboard manager builtin.

It is Parcellite and you will find it in the menu, in the "Desktop" category.

It is disabled by default, so as not to conflict with the password manager, but you can enable it.


Re: Bug of geany on easyos 5.7

Posted: Sat Mar 09, 2024 6:34 pm
by williwaw
BarryK wrote: Fri Mar 08, 2024 9:07 am
Thanos wrote: Thu Mar 07, 2024 1:36 pm
bugnaw333 wrote: Thu Mar 07, 2024 4:17 am

The source geany must be opened not closed for you to paste to another editor. ;)

But this is Not normal in other linux, only on easy.

It IS normal in Linux, standard behaviour for Xorg.

Whatever you copy to the clipboard only has the lifetime as long as the application you copied from is still running.

very useful info.

what causes the difference in behavior between mouse select/middle click paste and using ctrl-c ctrl-v for copy and paste? Some apps dont seem to respect mouse select/middle click paste the same as others.


Re: Bug of geany on easyos 5.7

Posted: Sun Mar 10, 2024 9:38 am
by BarryK
williwaw wrote: Sat Mar 09, 2024 6:34 pm

what causes the difference in behavior between mouse select/middle click paste and using ctrl-c ctrl-v for copy and paste? Some apps dont seem to respect mouse select/middle click paste the same as others.

You probably already know this, but the selection and clipboard are two different things.

The selection is whatever text is currently highlighted.
The clipboard is a storage area that you can copy/cut a selection to by crl-c or crl-x.

Mouse middle-button click will paste a selection, if there is one.
crl-v will paste the clipboard.


Re: Bug of geany on easyos 5.7

Posted: Mon Mar 11, 2024 4:16 am
by williwaw

Its browsers that act different . maybe they have their own clipboards?
anyway, slightly offtopic, but sometimes when I paste a command into a terminal emulator, the command runs upon pasting. Not always desireable especially if the intent was to alter the command before running.
Anyone know a way to paste properly in such situations? It only happens infrequently.


Re: Bug of geany on easyos 5.7

Posted: Wed Mar 13, 2024 4:40 am
by Thanos
williwaw wrote: Mon Mar 11, 2024 4:16 am

Its browsers that act different . maybe they have their own clipboards?
anyway, slightly offtopic, but sometimes when I paste a command into a terminal emulator, the command runs upon pasting. Not always desireable especially if the intent was to alter the command before running.
Anyone know a way to paste properly in such situations? It only happens infrequently.

You copied the line feed (enter), so the command execute.

If you don't want to execute at once, you should copy a part of the command, then paste it into a terminal emulator, it will not run.