After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78291 - selection through keyboard not possible
selection through keyboard not possible
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
AP2
: 66713 672264 777405 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-10 15:00 UTC by Pasupathi
Modified: 2021-06-10 12:35 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Pasupathi 2002-04-10 15:00:53 UTC
I found that libzvt implements all the Atk text interfaces, but still  
selection of text through keyboard is not possible.
I feel this is a critical keynav bug.
Comment 1 padraig.obriain 2002-04-22 07:44:57 UTC
I have added Marc Mulcahy to the Cc list for this bug asI believe that
he has looked at this issue.
Comment 2 Luis Villa 2002-05-01 07:23:49 UTC
reluctantly marking 2.0.1; marc, bill, any idea where we stand here?
Comment 3 Calum Benson 2002-05-01 12:44:55 UTC
Bottom line is we're probably waiting for someone (possibly me) to
work out a keynav proposal for selecting text in a terminal, but it's
a hard problem because of all the weird neolithic apps you can run in
a terminal that want to use pretty much every keycombo you can imagine
for themselves.  I haven't even seen a terminal that allows arbitrary
text selection that we could just copy  :/
Comment 4 Luis Villa 2002-05-14 23:39:35 UTC
*** Bug 66713 has been marked as a duplicate of this bug. ***
Comment 5 bill.haneman 2002-06-19 15:13:54 UTC
Calum/all:

I am not sure this is 'major', since text can be programmatically
selected via at-spi API.  It would be good to offer text selection
directly, but of course the logical keybindings all conflict with
console apps.  One solution might be to add a 'select' item to the
terminal menu, which could modally attach to caret motion and the
shift key, and terminate the selection when either "Enter" or "Esc"
was pressed (after which Shift/Enter/Esc keys would be passed to the
application as normal).

Comment 6 Luis Villa 2002-08-15 01:45:17 UTC
Given bill's assessment, I've marked this down and removed some
keywords. Would still be good to do, of course.
Comment 7 Calum Benson 2002-08-15 11:30:23 UTC
FWIW Bill's idea is probably the most reasonable one I've heard so
far... and come to think of it I have seen terminals on Windoze that
work that way (albeit not very well, but I'm sure we could do a much
better job!)
Comment 8 Calum Benson 2003-04-03 14:54:03 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 9 Calum Benson 2003-08-07 16:06:23 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 10 padraig.obriain 2004-08-16 15:06:50 UTC
vte is being used by gnome-terminal so closing as WONTFIX.
Comment 11 bill.haneman 2005-02-01 13:40:19 UTC
reopening and moving to gnome-terminal, since this was not fixed in vte (and
probably should be implemented by gnome-terminal in conjunction with vte,
assuming we want something like the suggestion I made in comment #5 and endorsed
by Calum in #7)
Comment 12 Calum Benson 2006-01-12 16:36:37 UTC
I guess another way to implement this would be to be consistent with the caret selection modes in Firefox etc... hit F7 to enter the mode, use the standard GNOME text navigation/selection/clipboard keyboard shortcuts as required, and hit F7 again when you're done.
Comment 13 Calum Benson 2006-04-26 17:09:18 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 14 Mariano Suárez-Alvarez 2007-01-26 05:25:46 UTC
I like Calum's idea of a F7-mode. It could make Jeff's keyboard navigable dingus idea from bug 143796 workable, too.

Vte people, this should start there, I guess?
Comment 15 Behdad Esfahbod 2007-01-26 06:17:24 UTC
I like the idea too.  Let Chris go wild ;).
Comment 16 Calum Benson 2008-04-29 18:06:56 UTC
Any sign of any wildness yet...?
Comment 17 Behdad Esfahbod 2008-04-29 18:16:22 UTC
No.. Chris showed his wildness in cairo land instead...
Comment 18 Tolan Blundell 2009-05-11 14:29:04 UTC
Well that's a long running 'bug'!

So, well, yeah I'm basically bumping this bug. No point beating around the bush really ;)

Are there any plans to implement something along these lines? The irony of the terminal being one of the main places I need to use my mouse is killing me ;)
Comment 19 Christian Persch 2014-04-12 15:35:07 UTC
*** Bug 672264 has been marked as a duplicate of this bug. ***
Comment 20 Christian Persch 2017-04-30 20:25:20 UTC
*** Bug 777405 has been marked as a duplicate of this bug. ***
Comment 21 astrothayne@gmail.com 2017-08-28 05:47:26 UTC
Termite, and tmux both also have a separate "selection" or "copy" mode for selecting with the keyboard that is initialized by a single hotkey (Ctrl+Shift+Space for termite and "Ctrl+B [" for tmux). 

Also, the implementation of this should be general enough that the user could use vim, emacs, or arrow-key style navigation (configurably), and of course the hotkey to enter the mode should probably be configurable as well.

I actually use tmux partly so I can get keyboard selection with tmux's copy mode.

p.s. If this was resolved, termite probably wouldn't need to use a forked version of libvte.
Comment 22 astrothayne@gmail.com 2017-08-28 06:02:38 UTC
> If this was resolved, termite probably wouldn't need to use a forked version of libvte.

Assuming the solution is general enough that it's also possible to open a URL using the keyboard.
Comment 23 Kiernan Hager 2018-01-03 04:30:55 UTC
(In reply to astrothayne@gmail.com from comment #22)
> > If this was resolved, termite probably wouldn't need to use a forked version of libvte.
> 
> Assuming the solution is general enough that it's also possible to open a
> URL using the keyboard.

Full disclosure: I don't know a whole lot about libvte and its structure and development, so this might not align with goals or be hard to do, but what if we were to have it both ways? We could have the hooks suggested in bug 679658 allowing terminal emulators flexibility in how they used this functionality, but also have default bindings (which could be disabled by the terminal emulator) assigned to those hooks so that all existing vte terminals could benifit.
Comment 24 Kiernan Hager 2018-01-03 04:31:25 UTC
(In reply to astrothayne@gmail.com from comment #22)
> > If this was resolved, termite probably wouldn't need to use a forked version of libvte.
> 
> Assuming the solution is general enough that it's also possible to open a
> URL using the keyboard.

Full disclosure: I don't know a whole lot about libvte and its structure and development, so this might not align with goals or be hard to do, but what if we were to have it both ways? We could have the hooks suggested in bug 679658 allowing terminal emulators flexibility in how they used this functionality, but also have default bindings (which could be disabled by the terminal emulator) assigned to those hooks so that all existing vte terminals could benifit.
Comment 25 1d28ed33 2019-02-09 22:31:50 UTC
Duplicate of this bug: https://gitlab.gnome.org/GNOME/gnome-terminal/issues/79

(IMHO, I would rather want to track this on GitLab, but this is your decicion.)
Comment 26 1d28ed33 2019-10-29 19:25:40 UTC
https://gitlab.gnome.org/GNOME/gnome-terminal/issues/79
has been confirmed and then closed by @axdoomer?

And even locked…

So should it be tracked here or what?

In any case, I can still reproduce this bug and yes, it prints AD etc.
Comment 27 GNOME Infrastructure Team 2021-06-10 12:35:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/588.