[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive |
Date: |
Wed, 31 Jul 2013 20:24:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12 |
Follow-up Comment #17, bug #39305 (project octave):
What I see with the current sources (hg id is 47b504503a3f) on Windows is that
C-c always interrupts and never copies text to the clipboard and C-v always
behaves as the readline quote character and never copies text from the
clipboard.
Do other people see different behavior on Windows systems?
Remember, the code that provides the terminal is completely different on
Windows and Unix systems. So checking the behavior on a Unix system is not
sufficient to know what will happen on Windows.
Again, what I think is happening is that on Windows systems, the terminal
widget works by giving input to the Windows console directly, so the Qt code
that handles keyboard shortcuts never sees the keyboard input. If I'm right
about this, then I don't see how we can possibly get the behavior we want with
this design and we need to arrange for Qt to get the input first, and then
pass it on to readline. I think that's the way the Unix code works, by using
a pty (see the sendKeyEvent function in the Unix terminal files).
Can we use a similar approach with Windows, so that Qt responds to all key
press events and then passes them to the Octave thread? That way, Qt
shortcuts should work. But maybe it's not possible on Windows since we don't
have a proper pty implementation?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39305>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, (continued)
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Mike Miller, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, John Donoghue, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Torsten, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Mike Miller, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, John Donoghue, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, John W. Eaton, 2013/07/30
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Torsten, 2013/07/31
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, John Donoghue, 2013/07/31
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Mike Miller, 2013/07/31
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive, Mike Miller, 2013/07/31
- [Octave-bug-tracker] [bug #39305] copy/paste not consitent or intuitive,
John W. Eaton <=