[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44910] windowkeypressfcn callback not impleme
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44910] windowkeypressfcn callback not implemented |
Date: |
Thu, 23 Apr 2015 16:59:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/bugs/?44910>
Summary: windowkeypressfcn callback not implemented
Project: GNU Octave
Submitted by: rik5
Submitted on: Thu 23 Apr 2015 09:59:31 AM PDT
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The figure properties 'windowkeypressfcn' and 'windowkeyreleasefcn' are only
implemented to the extent that you can modify the property values. There is
no actual backend implementation for the Qt or FLTK toolkits.
What should happen is that the 'windowkeypressfcn' gets called whenever there
is a keypress event in the window, even when another child object like a
uicontrol has a keypressfcn set. Some explanation is here:
http://stackoverflow.com/questions/25174400/matlab-difference-between-keypressfcn-and-windowkeypressfcn.
I'm attaching a test script tst_keypress.m. Call it with no arguments to see
how the keypressfcn callback works. Then do 'close all' and call tst_keypress
(true) to run the windowkeypressfcn callback and see that nothing happens.
It's pretty obvious that there is no backend because I used 'grep -i
windowkey' on Canvas.cc and __init_fltk__.cc and found nothing. Those are the
two files that need to be updated to support this.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 23 Apr 2015 09:59:31 AM PDT Name: tst_keypress.m Size: 493B By:
rik5
<http://savannah.gnu.org/bugs/download.php?file_id=33748>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44910>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #44910] windowkeypressfcn callback not implemented,
Rik <=