Bug 381022 - RFE: enable Primary Clipboard support on "edit location"
Summary: RFE: enable Primary Clipboard support on "edit location"
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 15:41 UTC by Todd
Modified: 2018-07-24 16:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
path bar (20.27 KB, image/png)
2017-06-09 18:38 UTC, Todd
Details
dolphin (19.58 KB, image/png)
2017-06-17 00:37 UTC, Todd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2017-06-09 15:41:06 UTC
Request for Enhancement:  

in the upper left of the pane "Click to edit location", the Primary Clipboard (highlight and center click) is not active.  Would you please consider activating it?

May thanks,
-T
Comment 1 Alex Bikadorov 2017-06-09 17:51:43 UTC
Sorry, I don't get what you mean.
In the navigation bar where you enter the current folder path, Ok. But what is not active? Please post a screenshot.
Comment 2 Davide Gianforte 2017-06-09 18:21:54 UTC
When you use Ctrl+L or Ctrl+Up shotrcuts, the current path is selected, so you can paste directly using center click.

This not happens when you click on the bar, the path is not selected and you can't edit it.
Comment 3 Alex Bikadorov 2017-06-09 18:29:10 UTC
Yes. But Right-Click->Copy/Paste works. In edit and navigation mode.
What "Primary Clipboard" is not active?
Comment 4 Todd 2017-06-09 18:38:34 UTC
Created attachment 106010 [details]
path bar
Comment 5 Todd 2017-06-09 18:55:05 UTC
(In reply to Alex Bikadorov from comment #3)
> Yes. But Right-Click->Copy/Paste works. In edit and navigation mode.
> What "Primary Clipboard" is not active?

X11 has four clipboards.  Secondary and Primary are the most used.  Here is a video showing each:

http://www.cs.man.ac.uk/~chl/Secondary-Selection.mp4


<ctrl><c> <ctrl><v> is the "Secondary Clipboard"

<Mouse highlight> and <center click> is the "Primary Clipboard"

The "Secondary Clipboard" does indeed work.  The "Primary Clipboard" does not.  Not having it is a productivity killer.

I would ask for the "Secondary selection" clipboard too, but I am afraid I'd be pushing it.

To reproduce, open a text editor, in Krusader, highlight the path in "click to edit location", move to the text editor, center mouse click to drop the highlighted text

Many thanks,
-T
Comment 6 Alex Bikadorov 2017-06-10 08:43:18 UTC
ah, center click = middle mouse button. Now I get it.

>To reproduce, open a text editor, in Krusader, highlight the path in "click to edit location", move to the text editor, center mouse click to drop the highlighted text

This works for me (in "Edit" mode of course, in "navigation" mode nothing can be selected). What is not working?
Comment 7 Todd 2017-06-13 02:00:29 UTC
(In reply to Alex Bikadorov from comment #6)
> ah, center click = middle mouse button. Now I get it.
> 
> >To reproduce, open a text editor, in Krusader, highlight the path in "click to edit location", move to the text editor, center mouse click to drop the highlighted text
> 
> This works for me (in "Edit" mode of course, in "navigation" mode nothing
> can be selected). What is not working?


I highlight the path, then center click in another documents, and nothing.  I have to go back and <ctrl><C>.  It is a big time waster as the Primary Clipboard works everywhere else and have become a ingrained habit.
Comment 8 Alex Bikadorov 2017-06-13 19:40:15 UTC
It works for me (Arch, LXQt). Can somebody else reproduce this?
Comment 9 Toni Asensi Esteve 2017-06-13 21:26:31 UTC
The tests worked correctly for me using Kubuntu 17.04 and the git version of Krusader
Comment 10 Todd 2017-06-13 22:20:51 UTC
Did you guys try it on 2.5.0?

If it works on 2.6.0, I will start the begging, pleading, insincere compliments, etc. to try and get EPEL to upgrade it.  Fedora is still on 2.5.0, so I can't use the "rpmbuild --rebuild" trick to get to EL7.

Anyone know of an RPM or SRPM for 2.6.0 for EL7?
Comment 11 Todd 2017-06-13 22:31:05 UTC
I just put in 2.6.0 pgrade requests:

EPEL:
https://bugzilla.redhat.com/show_bug.cgi?id=1461209

Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1461210
Comment 12 Alex Bikadorov 2017-06-13 22:35:31 UTC
It also works with 2.5.0 for me.
What is your DE and KF5 version? Please test with Dolphin. It has the same navigation bar.
Comment 13 Todd 2017-06-13 22:41:49 UTC
What is "DE" and "KF5"?

I do not have Dolphin, but do have Thunar 1.6.11.  All three work: primary, secondary, secondary selection.  Highlight and Drag does not.
Comment 14 Alex Bikadorov 2017-06-14 18:01:48 UTC
* Desktop Environment (KDE, Gnome, ...) and/or window manager (OpenBox, ...).
* KDE Frameworks 5

Can you please install Dolphin temporary or at least test with other KDE applications (Kate, KWrite, Konqueror, KMail, ...)? I think it's a general problem and has nothing directly to do with Krusader. We don't implement copy&paste related stuff ourself but rely on the UI framework -> Qt.

Additional to the desktop environment please just post the information shown in Krusader->Help->About Krusader->Libraries
Comment 15 Todd 2017-06-17 00:37:22 UTC
Created attachment 106131 [details]
dolphin

$ rpm -qa kde-baseapps
kde-baseapps-4.10.5-4.el7.x86_64

Primary Clipboard is working fine in Dolphin
Comment 16 Todd 2017-06-17 00:38:33 UTC
KDE Frameworks 5.33.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system
Comment 17 Alex Bikadorov 2017-06-19 20:13:51 UTC
Desktop environment and version of Dolphin please.
Comment 18 Christoph Feck 2017-06-19 22:30:53 UTC
Comment #15 is the KDE4 version of Dolphin, not the KF5 version. Please install 'dolphin', not 'kde-baseapps'.
Comment 19 Todd 2017-06-19 23:24:59 UTC
$ yum whatprovides dolphin
...
kde-baseapps-4.10.5-4.el7.x86_64 : KDE Core Applications
Repo        : sl-rolling
Matched from:
Provides    : dolphin = 4.10.5-4.el7
Comment 20 Todd 2017-06-19 23:26:04 UTC
Xfce 4.12
Comment 21 Alex Bikadorov 2017-06-25 16:01:52 UTC
What Comment #17 says. Please try with Dolphin 16/17.
Comment 22 Todd 2017-06-25 20:59:44 UTC
(In reply to Alex Bikadorov from comment #21)
> What Comment #17 says. Please try with Dolphin 16/17.

Unfortunately, I can only use what is in the repos.
Comment 23 Alex Bikadorov 2017-06-26 18:19:36 UTC
It would be very unusual if you have a package for Krusader 2.5.0 but not Dolphin 16.x or 17.x.
There are packages for Fedora https://pkgs.org/download/dolphin
Comment 24 Todd 2017-06-26 21:16:08 UTC
(In reply to Alex Bikadorov from comment #23)
> It would be very unusual if you have a package for Krusader 2.5.0 but not
> Dolphin 16.x or 17.x.
> There are packages for Fedora https://pkgs.org/download/dolphin

https://pkgs.org/download/dolphin
CentOS 7
CentOS x86_64
    kde-baseapps-4.10.5-4.el7.x86_64.rpm
    KDE Core Applications

I am on EL 7.3, not Fedora.

And being out of date is EL's stock and trade.  It is very frustrating at times.
Comment 25 Toni Asensi Esteve 2018-07-23 12:34:23 UTC
Hi, Todd, do you still have that problem?
Comment 26 Todd 2018-07-23 19:54:46 UTC
(In reply to Toni Asensi Esteve from comment #25)
> Hi, Todd, do you still have that problem?

Well, maybe, but I can't test it.

I upgraded to Fedora from my RHEL clone as I could no longer take the stress of RHEL's out of date, anti-kaisen nature.

I am now on Fedora 28 and Krusader 2.7.0 and can not reproduce the issue I was having on RHEL.  So it is working in Fedora but unknown in RHEL.
Comment 27 Toni Asensi Esteve 2018-07-24 16:44:58 UTC
Todd, I'm glad that it's working in Fedora. As it was working for other testers, it looks like it would be a problem in RHEL. If someone finds it doesn't work there, feel free to reopen this bug or to open a bug report in the bug report system of the particular distribution.