Results 1 to 4 of 4

Thread: Extjs 6.2 : Error on tooltip target destroy

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    39

    Default Extjs 6.2 : Error on tooltip target destroy

    Hi,

    I'am using ExtJs 6.2,

    I'm using a tooltip on a container, all goes well until I destroy the container the following error occurs.

    tooltipError.png
    You can reproduce the error with the following fiddle :


    So on beforedestroy of the container a function should be added to unregister the tooltip.

    I think it's a bug, because all was working well before the upgrade from Extjs 6.0.1 to 6.2

    Thank you !

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    You are correct that this is a bug and one that has already been fixed. Tested in last night's nightly and no error occurs.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    39

    Default

    I'm using the nightly of October 9, 2016 and still getting the errors ..

  4. #4
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,250

    Default

    Ulitmately, in older versions it was merely masking the fact that there was a leaking target left in the tip manager.

    In that sense I don't really think it's a bug, it would be more appropriate to unregister the tip on destruction. We could add a warning if it finds a target that it can't access, but I don't think we should "fix" the issue because it isn't best practice to be doing that.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Replies: 10
    Last Post: 1 Dec 2014, 9:33 PM
  2. Tooltip not positioning into target container
    By parky128 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 12 Nov 2010, 7:56 AM
  3. [CLOSED][Rev: SVN 5531] Tooltip error on destroy
    By canxss in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 22 Oct 2009, 11:30 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •