Menu

#129 Can't copy/paste files if I update to v1.1.8

Development_Version
closed-fixed
None
5
2014-09-30
2014-07-25
Steven
No

In my file manager (spacefm), I can no longer copy and paste files when parcellite 1.1.8 is running. It works fine in 1.1.7 and previous.

Same behaviour even after deleting the config file and restarting it.

I use Arch Linux, and reported this bug here as soon as they updated the packaged version: https://bugs.archlinux.org/task/41197

Discussion

  • rickyrockrat

    rickyrockrat - 2014-07-26

    Please follow the guidelines for posting your rc file. I also need specific instructions on exactly how you 'copy' and 'paste'.

     
    • Steven

      Steven - 2014-07-26

      My rc file shown below (but as I said, exactly the same happens with the default rc file). Attached is a picture showing screenshots of "copy" and "paste" as requested.

      Thanks

      [rc]
      RCVersion=1
      use_copy=true
      use_primary=false
      synchronize=false
      save_history=false
      history_pos=false
      history_x=0
      history_y=0
      history_limit=35
      data_size=1000
      item_size=10
      automatic_paste=false
      auto_key=false
      auto_mouse=true
      key_input=false
      restore_empty=true
      rc_edit=false
      type_search=false
      case_search=false
      ignore_whiteonly=true
      trim_wspace_begend=true
      trim_newline=false
      hyperlinks_only=false
      confirm_clear=true
      current_on_top=true
      single_line=true
      reverse_history=false
      item_length=100
      persistent_history=true
      persistent_separate=true
      persistent_on_top=false
      persistent_delim=\n
      nonprint_disp=false
      ellipsize=2
      multi_user=false
      menu_key=<ctrl><alt>P
      history_key=<ctrl><alt>H
      phistory_key=<ctrl><alt>X
      actions_key=<ctrl><alt>A</alt></ctrl></alt></ctrl></alt></ctrl></alt></ctrl>

       
  • rickyrockrat

    rickyrockrat - 2014-07-26

    Can you do a couple more things for me. Can you show me a screenshot of history entries after you select paste? I just need the top couple entries.

    And please let me know what happens in the following scenarios.
    1) Uncheck Use Copy
    2) Check both Use Copy and Use Primary
    3) Check (2), and Syncronize.

    Thanks.

     
  • Steven

    Steven - 2014-07-26

    No problem, here you go:

    1) it works! I can copy and paste files (...but removes parcellite's main purpose of course). File copy/paste does not show in the history with this unticked.
    2) Complete fail - Files do not copy, and I can't make selections in text (they instantly de-select after letting the mouse button go)
    3) Same result as 2

    Screenshot attached showing history for these tests, and the second one the history after I revert to 1.1.7 and copy and paste some text and files.

     
  • Steven

    Steven - 2014-07-26

    Actually I've just realised the second entry in the 1.1.8 test screenshot is maybe the file that copied OK - but it was a plain text file so even if it was raw data I'd expect it would have shown the content rather than a few unprintable characters?

     
  • rickyrockrat

    rickyrockrat - 2014-08-12

    When you copy the file, it usually just copies the file location - at least Thunar does it that way. What version of spacefm are you using? I'll download & compile and see if I can duplicate.

    What is your window manager (XFCE4/KDE/ICE/???)

     
  • Steven

    Steven - 2014-08-12

    Yes that's how SpaceFM does it as well. I'm on the 0.9.4, tried it with Gtk2 and Gtk3, exactly the same.

    Window manager is Openbox. Arch linux based system; Openbox, SpaceFM, Parcellite are all distro provided versions. I did try compiling parcellite manually in case it was a messed up build, but I got the same result.

     
  • rickyrockrat

    rickyrockrat - 2014-08-12

    Can you post the output of:
    ps aux

    I'm specifically looking for any lx components. Look at bug 131, it's possible it's related.

     

    Last edit: rickyrockrat 2014-08-12
  • Steven

    Steven - 2014-08-12

    Here's ps aux|grep -v ^root
    spacefm, parcellite 1.1.8 running
    (let me know if you needed it all, I only excluded root to save space)

    dbus       345  0.0  0.0  24960  3032 ?        Ss   17:22   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    rpc        355  0.0  0.0  12856  1712 ?        Ss   17:22   0:00 /usr/bin/rpcbind -w 
    steven     406  0.0  0.0  26848  3632 ?        Ss   17:22   0:00 /usr/lib/systemd/systemd --user
    steven     409  0.0  0.0  60048  2068 ?        S    17:22   0:00 (sd-pam)  
    steven     412  0.0  0.0  16948  4880 tty1     Ss+  17:22   0:00 -bash
    steven     442  0.0  0.0  13832  3156 tty1     S+   17:22   0:00 /bin/sh /usr/bin/startx
    steven     459  0.0  0.0  15960  1972 tty1     S+   17:22   0:00 xinit /home/steven/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.XvlKNb41L7
    steven     460  1.4  0.6 357252 104572 tty1    S<l  17:22   1:17 /usr/bin/Xorg.bin -nolisten tcp :0 -auth /tmp/serverauth.XvlKNb41L7 vt1
    steven     465  0.0  0.0 172520 14332 tty1     S    17:22   0:01 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
    steven     470  0.0  0.0  18064  1792 tty1     S    17:22   0:00 dbus-launch --sh-syntax --exit-with-session
    steven     471  0.0  0.0  24828  2388 ?        Ss   17:22   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    dnsmasq    505  0.0  0.0  19452  4008 ?        Ss   17:22   0:00 /usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
    steven     550  0.0  0.0 167372 12480 tty1     S    17:22   0:05 tint2
    steven     551  0.3  0.1 271028 27084 tty1     Sl   17:22   0:17 tilda -x 277
    steven     554  0.0  0.1 188120 21812 tty1     S    17:22   0:00 volumeicon
    steven     555  0.0  0.2 280440 40968 tty1     S    17:22   0:00 /usr/bin/python2 /usr/bin/blueman-applet
    steven     599  0.4  0.0 121596 16088 ?        Ss   17:22   0:25 compton -b --write-pid-path /tmp/.compton.pid
    steven     623  0.0  0.0   8388  1512 tty1     S    17:22   0:00 gnome-pty-helper
    steven     624  0.0  0.0  17212  5088 pts/0    Ss   17:22   0:00 /bin/bash
    steven     704  0.0  0.0 431100 13468 ?        Sl   17:22   0:00 /usr/bin/dunst
    steven   15448  7.1  5.2 1524488 863296 tty1   Sl   17:32   5:50 firefox
    steven   15508  1.2  0.4 524020 80588 tty1     Sl   17:33   1:01 /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 15448 plugin
    steven   20818  0.2  0.2 287892 33260 tty1     S    17:52   0:07 spacefm
    steven   22933  0.1  0.0 230864 15976 tty1     Sl   18:50   0:00 parcellite
    
     
  • Steven

    Steven - 2014-09-13

    Just wondering if there's been any update on this?

    Thanks

     
  • rickyrockrat

    rickyrockrat - 2014-09-29

    Steven,
    I downloaded & compiled spacefm, but I don't have this issue. Have you tried SVN? I always run with what is the latest checked in. Also, I have checked with 1.1.8, and the paste is greyed out for me.

    Please try SVN. It appears to be fixed there, and please report back. Thanks.

     
  • Steven

    Steven - 2014-09-29

    Hi,

    Just compiled the latest SVN source - it still doesn't work. When you said "paste is greyed out for me" -- that is the problem! Roll back to 1.1.7 or just close parcellite and it works fine.

    Thanks

     
  • rickyrockrat

    rickyrockrat - 2014-09-29

    VERY interesting problem. If you use xclip to examine the contents of the clipboards:
    xclip -o -selection clipboard

    The file to be copied is there, yet the selection is greyed out. If you uncheck the 'use ctrl-c' in parcellite's preferences, the option is no longer greyed out (but you have to re-copy).

     
  • rickyrockrat

    rickyrockrat - 2014-09-29

    So try SVN 533 (just checked it in). It appears that if you attempt to update the clipboard (even with exact same data), the file manager decides it's tainted and won't copy. Not sure exactly why it is yet.

    For file managers that are finicky, you cannot have any text processing set (basically nothing under micellaneous besides Confirm clearing history) because that will re-write the clipboard, causing the same issue.

    Please let me know if this fixes the issue or not.

     
    • Steven

      Steven - 2014-09-29

      Woohoo, that got it! Confirmed works with svn533, providing I leave "Trim whitespace" unticked.

       
      • rickyrockrat

        rickyrockrat - 2014-09-29

        Excellent. I've just updated SVN to 534, should be just a code cleanup. Can you please run that for a while? It seems this fixes several bugs. Thanks for the fast response. If this clears up these several bugs (129, 137, 133), I'll release 1.1.9.

         
  • rickyrockrat

    rickyrockrat - 2014-09-30
    • status: open --> closed-fixed
    • assigned_to: rickyrockrat
     
  • rickyrockrat

    rickyrockrat - 2014-09-30

    Fix will appear in 1.1.9

     

Log in to post a comment.

MongoDB Logo MongoDB