Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678102 - sys-apps/less-549 breaks mouse copy/paste operation
Summary: sys-apps/less-549 breaks mouse copy/paste operation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-15 20:00 UTC by cyrillic
Modified: 2019-02-17 14:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cyrillic 2019-02-15 20:00:25 UTC
sys-apps/less-549 breaks mouse copy/paste operation from the first time less is invoked until the terminal (gnome-terminal in my case) is restarted.

Reproducible: Always



Expected Results:  
With sys-apps/less-548 or earlier, the mouse can be used to copy/paste from within less.
Comment 1 Emil Petrakov 2019-02-16 00:23:12 UTC
In my case it sends strange codes into the command line while I'm trying to select some text in the terminal using mouse.
Comment 2 cyrillic 2019-02-16 00:59:03 UTC
(In reply to iq180 from comment #1)
> In my case it sends strange codes into the command line

Yes, that happens for me too.
Comment 3 Larry the Git Cow gentoo-dev 2019-02-16 10:26:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9a8152a139bd720024d8fbe194aca2734da916

commit 0e9a8152a139bd720024d8fbe194aca2734da916
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-16 10:22:30 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-16 10:26:26 +0000

    package.mask: =sys-apps/less-549 has broken mouse behavior
    
    Bug: https://bugs.gentoo.org/678102
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-02-16 10:31:52 UTC
Unfortunately I'm very busy with private life right now so I'd appreciate if someone could report this to upstream.
Comment 5 Albert W. Hopkins 2019-02-16 15:40:23 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Unfortunately I'm very busy with private life right now so I'd appreciate if
> someone could report this to upstream.

I sent an email to the maintainer (that seems to be the preferred method for bug reports).  I'll add an upstream bug link when I get an update.
Comment 6 Albert W. Hopkins 2019-02-16 16:07:04 UTC
From Mark Nudelman:

Hi Albert,
Yes, sorry about that. This is fixed in the github repository 
https://github.com/gwsw/less. I will release a numbered version soon 
which includes the fix.

--Mark

This looks like the fix:

https://github.com/gwsw/less/commit/d5015d29f79e70fb70489616c0f2d0ff32e52898
Comment 7 Larry the Git Cow gentoo-dev 2019-02-16 19:11:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78dc4749aa8c49ea035be184b705477939899c8

commit f78dc4749aa8c49ea035be184b705477939899c8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-02-16 19:07:05 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-02-16 19:09:13 +0000

    sys-apps/less: Revbump to fix mouse issue.
    
    Bug: https://bugs.gentoo.org/678102
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/less/files/less-549-mouse_fix.patch       | 51 ++++++++++++++++++++++
 .../less/{less-549.ebuild => less-549-r1.ebuild}   |  4 ++
 2 files changed, 55 insertions(+)
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-02-16 19:12:04 UTC
Please test =sys-apps/less-549-r1 and report back any success/failure.
Comment 9 josef.95 2019-02-16 21:17:12 UTC
Yes, the patch in =sys-apps/less-549-r1 fixed the issue for me.

Thanks! :)
Comment 10 Emil Petrakov 2019-02-16 23:02:52 UTC
Thanks.
Comment 11 cyrillic 2019-02-17 14:01:59 UTC
Problem solved with -r1