Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8092020

There should be a method to specify whether a Tooltip should be transparent to mouse events or not

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx
    • None

      There should be a method to specify whether a Tooltip should be transparent to mouse events or not. Perhaps "setMouseTransparency(boolean is transparent)", since Node has a method with this name that does just that.

      This issue was approved by Richard Bair in the mailing list. You can see the important bits of this discussion below:

      ---------------------------
      That sounds good.

      Thanks

      Richard

      On Sep 18, 2013, at 6:20 PM, Pedro Duque Vieira <pedro.duquevieira@gmail.com> wrote:

      What about if someone would like a tooltip to grab mouse events on some specific scenario?

      Should I split these into 2 issues? One saying: "Tooltips should not grab mouse events" and the other one: "add setMouseTransparent(boolean isTransparent) method to Tooltip"


      On Thu, Sep 19, 2013 at 2:17 AM, Richard Bair <richard.bair@oracle.com> wrote:
      There should just be an issue saying "Tooltips should not grab mouse events", i think.


      On Sep 18, 2013, at 5:41 PM, Pedro Duque Vieira <pedro.duquevieira@gmail.com> wrote:

      Do you want me to file the issue?

      Would it be: Add support for setMouseTransparent(boolean isTransparent) to Tooltip. The default behaviour should be that the tooltip is transparent to mouse events (doesn't grab any mouse events), that is default should be setMouseTransparent(true).

      Thanks, best regards,


      On Wed, Sep 18, 2013 at 12:31 AM, Pedro Duque Vieira <pedro.duquevieira@gmail.com> wrote:
      *Ops forgot to reply to all...*

      Hi Richard,

      I don't think their is such an issue (not totally sure). Hence the more or less related issue that was created by Pavel.

      Thanks, best regards,
      ----------------------------

            Unassigned Unassigned
            pdvieira Pedro Vieira
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: