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

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

[Octave-bug-tracker] [bug #52795] "pickableparts" unimplemented


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52795] "pickableparts" unimplemented
Date: Sun, 21 Jan 2018 16:26:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #3, bug #52795 (project octave):

>> for absolute Matlab compatibility, not all objects accept the "all" value.
...

Yes it is much easier to have "pickableparts" a base_property so that you can
access it through graphics_object::get_properties (), and anyway root and
figure objects should not have this property at all so I chose the "unused
property/value" route.

>> One thing I noticed is that even though the Patch object is on top of the
Line object, it is always the Line object callback that is triggered ...

Confirmed, I have no clue 

>> ... For example, when PickableParts is set to "none" on the axes object, I
still think you should be able to interact with graphic objects within the
axes. 

No, it is clearly stated here [1] (see the second note) that if an axes has
its "pickableparts"->"none", its children are not clickable.

>> When HitTest is "off", is the mouse click passed to the ancestor of the
object which received the click (this is what the Matlab documentation says,
but I'm not sure exactly what it means), or does the object which is behind
the object which received the click get it instead? The latter is what is
implemented, but I don't think that is right. 

Yes, I have probably incorrectly interpreted the fact that when clicking on
non visible parts of an object that has "pickableparts"->"visible", the click
can be captured by objects below it([2]). But if an click is not captured by
an object because its "hittest" is "off", then it is its ancestor that should
inherit the click event. I'll look into this when I get some time.

[1]
https://de.mathworks.com/help/matlab/creating_plots/capturing-mouse-clicks.html
[2]
https://fr.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-properties.html#property_d119e755263

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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