Bug 1114074 - Ctrl + Home / Ctrl + End sends same codes as Home / End
Summary: Ctrl + Home / Ctrl + End sends same codes as Home / End
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vte
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-27 16:11 UTC by Jaroslav Škarvada
Modified: 2014-07-04 00:27 UTC (History)
1 user (show)

Fixed In Version: vte-0.28.2-13.fc20
Clone Of:
Environment:
Last Closed: 2014-07-04 00:27:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Backported patch (3.39 KB, patch)
2014-06-27 16:11 UTC, Jaroslav Škarvada
no flags Details | Diff
Escapes before application of the patch (67.41 KB, text/plain)
2014-06-27 16:12 UTC, Jaroslav Škarvada
no flags Details
Escapes after application of the patch (67.41 KB, text/plain)
2014-06-27 16:13 UTC, Jaroslav Škarvada
no flags Details

Description Jaroslav Škarvada 2014-06-27 16:11:28 UTC
Created attachment 912862 [details]
Backported patch

Description of problem:
Vte sends the same sequences for Ctrl + Home / Ctrl + End keys as for Home / End:

Ctrl + Home: \eOH
Ctrl + End:  \eOF
Home: \eOH
End:  \eOF

So it's impossible for apps to distinguish Ctrl / non Ctrl variants or even workaround this somehow. For example Midnight commander uses these keys in its default binding and the functions binded to Ctrl + Home / End are not available.

Vte upstream recently patched 3.x to send correct sequences (https://bugzilla.gnome.org/show_bug.cgi?id=600659).

In Fedora there are packages which needs vte 2.x and this functionality is broken there.

Version-Release number of selected component (if applicable):
vte-0.28.2-10.fc20

How reproducible:
Always

Steps to Reproduce:
1. Check the sequences sent by terminal for Ctrl + Home / End

Actual results:
Ctrl + Home: \eOH
Ctrl + End:  \eOF

Expected results:
Ctrl + Home \e[1;5H
Ctrl + End  \e[1;5F

Additional info:

Comment 1 Jaroslav Škarvada 2014-06-27 16:12:20 UTC
Created attachment 912863 [details]
Escapes before application of the patch

Comment 2 Jaroslav Škarvada 2014-06-27 16:13:58 UTC
Created attachment 912864 [details]
Escapes after application of the patch

You can see that nothing else was brokon by the patch.

Comment 3 Kevin Fenzi 2014-06-28 16:16:49 UTC
Looks good. Will push builds here in a bit.

Comment 4 Fedora Update System 2014-06-28 16:50:36 UTC
vte-0.28.2-12.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/vte-0.28.2-12.fc20

Comment 5 Fedora Update System 2014-06-29 02:53:29 UTC
Package vte-0.28.2-12.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing vte-0.28.2-12.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7851/vte-0.28.2-12.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-06-29 19:27:46 UTC
vte-0.28.2-13.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/vte-0.28.2-13.fc20

Comment 7 Fedora Update System 2014-07-04 00:27:47 UTC
vte-0.28.2-13.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.