Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Mar 2010
    Posts
    171
    Vote Rating
    0
    docsportal is on a distinguished road

      0  

    Default Empty QuickTips

    Empty QuickTips


    I've found that in the GXT 2.2.x series, I can get an empty QuickTip to show where I would not expect one by doing the following:
    1. Create a new QuickTip(somegrid) and setShowDelay(1000) - any delay works as long as you're fast enough.
    2. Use a custom renderer to assign a qtip="foobar" attribute to some rows but not others.
    3. Move the mouse over a row that has the qtip attribute.
    4. Quickly, before the showDelay runs out, move the mouse over a row that does NOT have the qtip attribute.
    5. A QuickTip pops up anyway, but with no text in it (presumably because it's reading the qtip of the element under the cursor and there isn't one).

    I think the QuickTip should double check if the element under the mouse actually has a qtip attribute when the delayed show timer fires and suppress the showing if it does not. I'm willing to apply a custom patch to fix this issue, but because the interplay of the QuickTip, ToolTip, Tip class hierarchy is a bit involved I'm not sure where to apply it. Any suggestions?

  2. #2
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
    support_csd_kz is on a distinguished road

      0  

    Default


    Same problem here..

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2010
    Posts
    171
    Vote Rating
    0
    docsportal is on a distinguished road

      0  

    Default


    Here's a quick fix that's working for me. Override or make a local copy of the QuickTip class and add the following method:
    Code:
      @Override
      public void show() {
    	if (targetElem != null) super.show();
      }

  4. #4
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    191
    Vote Rating
    3
    support_csd_kz is on a distinguished road

      0  

    Default


    nice idia but I hope GXT developer can make targetElem protected.

  5. #5
    Sencha User
    Join Date
    Dec 2010
    Posts
    8
    Vote Rating
    0
    hhiplaz is on a distinguished road

      0  

    Default


    I was able to work around this by overriding QuickTip.onTargetOver() and QuickTip.show(), but it would be helpful if this could get fixed in GXT.

  6. #6
    Sencha User
    Join Date
    Dec 2010
    Posts
    8
    Vote Rating
    0
    hhiplaz is on a distinguished road

      0  

    Default


    I'm told this is fixed in 2.2.5, but I haven't tested it for myself.

Similar Threads

  1. Replies: 3
    Last Post: 11 Aug 2009, 12:36 AM
  2. Replies: 5
    Last Post: 21 Jul 2009, 8:52 PM
  3. Validation QuickTips to replace 'hint' QuickTips
    By LouisArquie in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Feb 2009, 11:00 PM
  4. Replies: 0
    Last Post: 19 Mar 2008, 3:28 AM

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."