bugGNU Octave - Bugs: bug #39578, "currentfigure" property...

 
 

bug #39578: "currentfigure" property does not follow the mouse for fltk toolkit

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sat 27 Jul 2013 02:20:47 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/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.

 

Thu 01 Aug 2013 11:39:23 PM UTC, comment #4:

I pushed a change that works for the few tests I did.

http://hg.savannah.gnu.org/hgweb/octave/rev/88616c872933

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 28 Jul 2013 02:12:43 AM UTC, comment #3:

The support for mouse handlers is indeed better in QtHandles. AFAIK, the FLTK backend only supports the windowbuttonXXX handlers.

Michael Goffioul <goffioul>
Project Member
Sat 27 Jul 2013 09:15:22 PM UTC, comment #2:

Good point. With matlab the "buttondownfcn" does not function when the zoom tool is active. I assume that the same is true here?

This problem is beyond my present understanding of the code, and since there is some lower hanging fruit, I'll likely not but any more effort into this.

I assume that "buttondownfcn" works as intended with the qt toolkit?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 27 Jul 2013 09:07:56 PM UTC, comment #1:

But, if you plot subplots, you can use
the mouse to pan and zoom any of the
subplots. But, gca() returns the axis
handle of the "last" subplot. So, somehow
it is known which subplot the cursor is on.

That is a start.

Michael Godfrey <godfrey>
Project Member
Sat 27 Jul 2013 02:20:47 PM UTC, original submission:

The sequence below should return the handle for figure(1).

  • Mouse click on figure (1)

Essentially what is needed is a private "buttondownfcn" figure property that sets the current "currentfigure" of the root object.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.

 

(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 goffioul (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by bpabbott (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Aug 2013 11:03:47 PM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 01 Aug 2013 11:39:23 PM UTCbpabbottStatusNone=>Ready For Test
      Assigned toNone=>bpabbott
    Sun 28 Jul 2013 08:06:27 PM UTCbpabbottSummarycurrent figure does not follow the mouse=>"currentfigure" property does not follow the mouse for fltk toolkit

    Back to the top


    Powered by Savane 3.1-cleanup1