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

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

[Octave-bug-tracker] [bug #46151] WindowButtonMotionFcn callback not use


From: jsh
Subject: [Octave-bug-tracker] [bug #46151] WindowButtonMotionFcn callback not used with uipanel
Date: Thu, 08 Oct 2015 01:51:49 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

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

                 Summary: WindowButtonMotionFcn callback not used with uipanel
                 Project: GNU Octave
            Submitted by: jsh
            Submitted on: Thu 08 Oct 2015 01:51:48 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

This could maybe be related to bug #46086, but possibly not so I'm opening a
new case. Its essentially the same problem though that the callback isn't
called in some cases:

1) An axis is put in a uipanel:


hf = figure ();
hp = uipanel ( 'parent', hf );
hax = axes ( 'parent', hp );

fcn = @(a,b) disp (get (gca (), 'currentpoint'));
set (hf, 'windowbuttonmotionfcn', fcn)


2) The uipanel is (partially) covering the axis:


hf = figure ();
hp = uipanel ( 'parent', hf, 'position', [0 0 0.5 1] );
hax = axes ( 'parent', hf );

fcn = @(a,b) disp (get (gca (), 'currentpoint'));
set (hf, 'windowbuttonmotionfcn', fcn)


Also, in this last case in Matlab the axis will be on top of the uipanel (so
the uipanel does not hide the axis). 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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