rickyrockrat / parcellite

GNU General Public License v3.0
224 stars 29 forks source link

Actions are always appended as a second option in the list. #33

Open navennn opened 5 years ago

navennn commented 5 years ago

Hi,

I tried to start using actions in parcellite, but each time I use it, the actual value that I want is pushed to second place on the list.

Say, I copy manually some text 'dsadasdasdasdasdasdasda'

Then, press ctrl + alt + a ; and choose my 'email' option like so

parcellite-1

The history looks like so:

parcellite-3

I am ending up with the value I want pasted right away in second place on the list. Is this behaviour normal?

Configuration screenshots and tshoot info below

cat /etc/linuxmint/info 
RELEASE=19
CODENAME=tara
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 19 Tara"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_tara_cinnamon_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_tara_cinnamon.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=Linux Mint 19 Cinnamon

dpkg -l | grep parcel
ii  parcellite                                        1.2.1-2                                             amd64        lightweight GTK+ clipboard manager

parcellite-2

Screenshot from 2019-07-10 09-51-27 Screenshot from 2019-07-10 09-51-35

rickyrockrat commented 5 years ago

That does seem odd, but you are farther ahead than me - I've never used actions. I'll see if I can duplicate it here. Just to be clear, you are wanting to use dsadasdasdasdasdasdasda, but the action highlights 'preceded', correct?

navennn commented 5 years ago

I do action e-mail so I expect phrase 'test@example.com' to be in the clipboard, but what I'm getting is 'dsadasdasdasdasdasdasda' (newest are on top, oldest on the bottom)

rickyrockrat commented 5 years ago

OK. What happens if you check both clipboards, then select synchronize? This works for me. I'll need to look into this some more. I wonder if you also have an entry not managed by parcellite.

navennn commented 5 years ago

It acts the same. Maybe that's somehow OS dependant? I know that you can't mark with mouse and copy using mouse3 click on ubuntu for example (in mint/cinnamon you can)

rickyrockrat commented 5 years ago

I was a little confused there, thinking you were using %s. I see that you aren't, but you should see the test@example.com to show up in the clip board. This isn't OS dependent - it is how parcellite adds it to the list. I can confirm that is how it is working here. It's not my original work, so I don't know how it was designed to work...But I'm thinking it looks a bit bugish.

navennn commented 5 years ago

I tried the same on EDITION="Cinnamon" DESCRIPTION="Linux Mint 19.1 Tessa"

Different hardware Same percellite version

dpkg -l | grep cinnamon
ii  cinnamon                                   4.0.10+tessa                                 amd64        Modern Linux desktop
ii  cinnamon-common                            4.0.10+tessa                                 all          Cinnamon desktop (Common data files)
ii  cinnamon-control-center                    4.0.1+tessa                                  amd64        utilities to configure the Cinnamon desktop
ii  cinnamon-control-center-data               4.0.1+tessa                                  all          configuration applets for Cinnamon - data files
ii  cinnamon-control-center-dbg                4.0.1+tessa                                  amd64        utilities to configure the Cinnamon desktop - debug symbols
ii  cinnamon-dbg                               4.0.10+tessa                                 amd64        Debugging symbols for the Cinnamon desktop
ii  cinnamon-desktop-data                      4.0.1+tessa                                  all          Common files for Cinnamon desktop apps
ii  cinnamon-l10n                              4.0.2                                        all          Translation files for the Cinnamon desktop
ii  cinnamon-screensaver                       4.0.3+tessa                                  amd64        Cinnamon screen saver and locker
ii  cinnamon-session                           4.0.0+tessa                                  amd64        Cinnamon Session Manager - Minimal runtime
ii  cinnamon-session-common                    4.0.0+tessa                                  all          Cinnamon Session Manager - common files
ii  cinnamon-settings-daemon                   4.0.3+tessa                                  amd64        daemon handling the Cinnamon session settings
ii  gir1.2-cinnamondesktop-3.0                 4.0.1+tessa                                  amd64        Introspection data for CinnamonDesktop
ii  libcinnamon-control-center1:amd64          4.0.1+tessa                                  amd64        utilities to configure the Cinnamon desktop
ii  libcinnamon-desktop-dbg:amd64              4.0.1+tessa                                  amd64        Cinnamon library for loading .desktop files - debug symbols
ii  libcinnamon-desktop4:amd64                 4.0.1+tessa                                  amd64        Cinnamon library for loading .desktop files
ii  libcinnamon-menu-3-0                       4.0.0+tessa                                  amd64        Cinnamon implementation of the freedesktop menu specification
ii  libcinnamon-menu-3-0-dbg                   4.0.0+tessa                                  amd64        Cinnamon implementation of the freedesktop menu specification
ii  libcscreensaver0:amd64                     4.0.3+tessa                                  amd64        library and introspection data used by cinnamon-screensaver
ii  mint-info-cinnamon                         2018.09.10                                   all          Necessary information about the Linux Mint release and edition.
ii  mint-meta-cinnamon                         2018.11.28                                   all          Set of packages installed by default in the Cinnamon edition of Linux Mint

And it is doing the same thing.