octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44832] Qt: first call to ginput() doesn't rec


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44832] Qt: first call to ginput() doesn't recognize keyboard key press
Date: Tue, 14 Apr 2015 12:15:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?44832>

                 Summary: Qt:  first call to ginput() doesn't recognize
keyboard key press
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 14 Apr 2015 02:15:56 PM CEST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Steps to reproduce (with qt toolkit):

1. plot ([1 3])    # gives some simple plot

2. [a, b, c] = ginput (1)

3. # position mouse cursor over plot. Hmmm, cursor doesn't change into
crosshair like Matlab does and like the fltk toolkit *used*  to do in 3.8.2
4. # press any letter key
# => nothing happens

Now, try again and click somewhere in the plot => ginput catches the mouse
click. From now on key presses are recognized in next calls to ginput()

==> Key presses are only recognized *after* a first mouse *click*.

This works fine with the fltk toolkit.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44832>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]