bugGNU Octave - Bugs: bug #46086, WindowButtonMotionFcn callback not...

 
 

bug #46086: WindowButtonMotionFcn callback not used unless implemented with set() cmd

Submitted by:  jsh <jsh>
Submitted on:  Thu 01 Oct 2015 01:51:52 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Oct 2015 05:17:23 AM UTC, comment #3:

I fixed this issue here:
http://hg.savannah.gnu.org/hgweb/octave/rev/d0f886a030b7

Closing report.

Pantxo Diribarne <pantxo>
Project Member
Fri 02 Oct 2015 12:48:43 AM UTC, comment #2:

I can also confirm the behavior. And I can confirm Pantxo's observation that using the set() command after figure creation works.

This is particular to certain callbacks, because the "windowbuttondownfcn" callback does work even when initialized in the figure command.

Rik <rik5>
Project Administrator
Thu 01 Oct 2015 12:07:11 PM UTC, comment #1:

I can confirm the bug. In the current default branch, the "windowbuttonmotionfcn" is triggered only if it has been set after creation of the figure, e.g.:

Pantxo Diribarne <pantxo>
Project Member
Thu 01 Oct 2015 01:51:52 AM UTC, original submission:

WindowButtonMotionFcn callback works in 4.0 but not in the dev branch. Test script should output the current coordinates when the mouse pointer is moved over the figure.

jsh <jsh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by jsh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Oct 2015 05:17:23 AM UTCpantxoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 02 Oct 2015 12:48:43 AM UTCrik5SummaryThe WindowButtonMotionFcn callback is not called ("qt" toolkit)=>WindowButtonMotionFcn callback not used unless implemented with set() cmd
    Thu 01 Oct 2015 12:07:11 PM UTCpantxoCategoryGUI=>Plotting with OpenGL
      Item GroupNone=>Incorrect Result
      StatusNone=>Confirmed
      SummaryThe WindowButtonMotionFcn callback is not called=>The WindowButtonMotionFcn callback is not called ("qt" toolkit)

    Back to the top


    Powered by Savane 3.1-cleanup1