Very strange behaviour of mouse, trackpad and finder

As if there were a demon in my Mac:
- left mouse click doesn't work correctly
- left mouse click clicks by itself
- cursor sticks to objects on the screen and drags them around, from desktop, from safari, anything
- dock doesn't appear
- when I drag the cursor over objects it marks them without me clicking left mouse click, it also creates rectangles
- click another window, but it doesn't come in foreground
- when all these strange things happen, the mouse pad seems not to work, it doesn't click, it feels differently, doesn't make the usual clicking sound, doesn't move down
- the USB mouse is no better, though! (when all this happens)
... I can end this ghost in the machine only by forcing the Mac to shut down
... after that it sometimes works ok for a while... then IT happens again
... closing and opening the mbp helps sometimes
is it the software, is it the hardware, is it both?
(I repaired disk permissions, cleaned PR ram, scanned for viruses)
any ghostbusters around???
p.s.: all these thing do not happen when I boot from my windows partition on the same mac

There are several possible causes for this issue. Take each of the following steps that you haven't already tried until it's resolved. Some may not be applicable.
1. Follow the instructions in this support article, and also this one, if applicable.
2. Open the Bluetooth preference pane in System Preferences and check for unknown or forgotten input devices. Disconnect any USB input devices that you aren't using.
3. Boot in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you reboot as usual, stop here and post your results. If you can't boot in safe mode, do the same. If you booted in safe mode and there was no change, go on to the next step.
4. Reset the System Management Controller.
5. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
6. A swollen battery in a MacBook Pro or Air can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
7. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and the unit needs to be serviced or replaced.
8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

Similar Messages

  • Strange behaviour of Mouse-Events and Range size

    Hello,
    i found a strange behaviour of the Paragraph-Ranges in Word and can't explain this myself.
    I have a add-in with a Custom Task Pane "UserControl1" and a button "Button1":
    dropbox.com/s/zz2m0out5rvds0m/word.jpg
    This is the Code for the user control:
    public partial class UserControl1 : UserControl
    public UserControl1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    showRanges();
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges();
    private void showRanges()
    Debug.WriteLine("-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    The mouse-enter and mouse-click events of the button, prints out the ranges of the current paragraphs. In this example it outputs:
    0 - 15 | The first line
    15 - 32 | And a second one
    Thats fine!
    And now the strange stuff starts: When i change something in the first line in the document like "The VERY first line" and use the button again, i got different range outputs for mouse-enter and mouse-click events.
    mouse-enter event (wrong ranges):
    -------------------------------------0 - 143 | The VERY first line
    143 - 160 | And a second one
    mouse-click event (correct ranges):
    0 - 20 | The VERY first line
    20 - 37 | And a second one
    Why the hell I get wrong Ranges when I use the mouse-enter event??? (When I enter the button with mouse a second time, it shows the correct ranges again).

    Hi Torben,
    What is Word version?
    According to my test in Word 2013, the code you provided works fine for me.
    I changed the code as below:
    private void showRanges(string eventname)
    Debug.WriteLine(eventname + "-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges("Button MouseEnter");
    private void button1_Click(object sender, EventArgs e)
    showRanges("Button Click");
    The document:
    The output:
    The result is same.
    There might be something else at the end of the first line.
    If you change current document to .zip and find document.xml, what does it look like?
    Here is my document.xml:
    <w:body>
    <w:p w:rsidR="001347D9" w:rsidRPr="001511D8" w:rsidRDefault="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>The VERY first line</w:t>
    </w:r>
    </w:p>
    <w:p w:rsidR="001511D8" w:rsidRPr="001511D8" w:rsidRDefault="001511D8" w:rsidP="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>And a second one</w:t>
    </w:r>
    <w:bookmarkStart w:id="0" w:name="_GoBack"/>
    <w:bookmarkEnd w:id="0"/>
    </w:p>
    <w:sectPr w:rsidR="001511D8" w:rsidRPr="001511D8">
    <w:pgSz w:w="12240" w:h="15840"/>
    <w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
    <w:cols w:space="720"/>
    <w:docGrid w:linePitch="360"/>
    </w:sectPr>
    </w:body>
    Is there anything different?
    I have uploaded the sample document for your test, please check:
    https://onedrive.live.com/redir?resid=AD77AE76D657E280!166&authkey=!AFfIP0eVTDQdMAc&ithint=file%2cdocx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Very strange behaviour of table values and event case

    Hi all
    i'm becoming crazy on my .vi
    i want to change the second col values on click from yes to no and from no to yes simply by a click.
    The problem is that this changing happens after some clicks on an old position.
    Try to click on some "no" on the file that is attached.
    Thanks a lot!
    Dario
    http://www.sd-studio.it - web design agency
    Attachments:
    Ecu_wizard.vi ‏101 KB

    The issue took me a sec to understand but here it is.  You are trying to change the value during the mouse up event.  And you do... however you have just selected that cell in the table.  So LabVIEW is waiting for the user to change the value, and in this case ignoring your change.  All you need to do is add a property node to the end of that sequence that is Key Focus and set it to false

  • Very strange behaviour of RGBImageFilter class

    Hi!
    I found very strange behaviour of RGBImageFilter class and problem is
    that I need to solve that problem :/ So, situation is next:
    I decided to use filtering process for collecting information about
    image. So, I extended my own class from RGBImageFilter and overwrite
    filterRGB( ... ) method ( everything is absolutely the same as in
    documentation ) and also added my own code for 'no matter what'.
    This code changes some class variable and my idea was to read those
    variables after filtering process end, but... Suddenly I realized that
    those variables, many times changed while filtering were performed
    ( I checked it ) after filtering gave the same value as in constructor!
    The only one clue and idea about what happened is that class instance
    were cloned and then executed, but thats not a functionality I was
    searching. :/ I made some example of that 'effect'.
    Image file name goes in command line.
    Please pay attention on -3 value on exit: Filtering works, count growing
    ( just uncomment setPixels() method to see it ) but, but...
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    class ToForum
         public static void main( String[] args )
              try
                   JFrame frame = new JFrame( "now i beleave in x-files!" );
                   frame.setDefaultCloseOperation( frame.DISPOSE_ON_CLOSE );
                   Toolkit kit = Toolkit.getDefaultToolkit();
                   Image origin = kit.getImage( args[0] );
                   RedBlueSwapFilter filter = new RedBlueSwapFilter();
                   Image filtered = frame.createImage( new FilteredImageSource( origin.getSource(), filter ) );
                   MediaTracker tracker = new MediaTracker( frame );
                   tracker.addImage( filtered, 1 );
                   tracker.waitForAll();
                   System.out.println( "AND WE GOT: "+filter.getCount()+" !!!" );
                   Container content = frame.getContentPane();
                   content.setLayout( new FlowLayout() );
                   JLabel label = new JLabel( new ImageIcon( filtered ) );
                   content.add( label );
                   frame.pack();
                   frame.setVisible( true );
              catch( Exception ex )
                   System.out.println( "Exception in main():\n"+ex );
    class RedBlueSwapFilter extends RGBImageFilter
         private int count=-5;
         public RedBlueSwapFilter()
              count = -3;
              canFilterIndexColorModel = true;
         // uncommenting this function will show that filterRGB method IS calling !!!
         // so, why then AFTER filtering count is still ( or again ??? ) equals to 0 ?
         public void setPixels( int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize )
              System.out.println( "on entering in setPixels count="+count );
              super.setPixels( x, y, w, h, model, pixels, off, scansize );
              System.out.println( "on exiting from setPixels count="+count );
         public int filterRGB( int x, int y, int rgb )
              count++;
              return ( (rgb&0xff00ff00) | ((rgb&0xff0000) >> 16) | ((rgb&0xff) << 16) );
         public int getCount()
              return count;

    Cliff, Hi. I'm curious because this can't work. I have no problem synching with the exchange - as long as i accept the message that the certificate of the exchange (which is not the certificate of the exchange but the certificate of dig @reighthandsideofmailadress) is not valid (expired, wrong common name etc).

  • Populate List from Database (Very Strange Behaviour)

    Dear Fellows,
    I have developed a from which has two lists One for Major (say) and Other for Minor (say), thesr minors are based on the value of Major.
    Now I have developed this system on Windows XP Professional, Developer/2000 6i and Oracle 8i (release 8.1.7).
    Major list is populated from database and it shows all major values now using 'when_list_change' trigger the minor list is populated from the database based on the value of major list. Interestingly enough it is working fine without any problem.
    Now I have deployed the software to Windows 2000 Professional/Server (tried on both), Developer/2000 6i and Oracle 8.0.5, but strangly the lists are not working now. First list (major) is still working but the other dependent lists are not working.
    Another strange thing is that it populate the second list for one particular value (only at times).
    The logic is that I have used a program unit to which i am passing 'list element' and 'query' and call it for each list in the when-list-change trigge.
    Now its a very strange behaviour, I don't know what to do?
    Your cooperation will be highly appreciated.
    regards.

    rolrollerx wrote:
    Hi,
    I have Nokia N8 (a great phone, btw) with Symbian Anna. I wanted to download the maps. But the PC Ovi Suite is just busy forever, without downloading anything (I used Performance Monitor to find out it was doing nothing for hours).
    As I have unlimited data plan from my phone, I decided to try updating directly from the phone instead. It successfully downloaded the list of maps, but when I selected one of them
    "No Wi-Fi network available. Please configure a WiFi access point in the phone Internet destination settings."
    Why should I do that? I have a working connection on that phone (as evidenced by the successful download of the list of maps). So now, I am stuck. How can I download the maps?
    Well, the suggestion is there. Use a router.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Very strange behaviour master-detail-detail please help

    Very strange behaviour master-detail-detail please help
    Hello,
    I have a parent-child-grandchild report which show's some really strange behaviour.
    The data template has 3 queries Q1, Q2 and Q3.
    Q2 is bound to Q1 using a bind variable
    Q3 is bound to Q2 using another bind variable
    For a certain record in Q1 the output should be
    2 records in Q2
    and 1 record in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q2 record B
    Q3 record BC
    The results conforms to the expected output.
    For another record in Q1 the output should be
    2 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record AB
    For another record in Q1 the output should be
    5 records in Q2
    and 2 records in Q3 for each record in Q2
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record EI
    Q3 record EJ
    In stead of the expected output, the result shows
    Q1 record
    Q2 record A
    Q3 record AA
    Q3 record AB
    Q2 record B
    Q3 record BC
    Q3 record BD
    Q2 record C
    Q3 record CE
    Q3 record CF
    Q2 record D
    Q3 record DG
    Q3 record DH
    Q2 record E
    Q3 record DH
    So for the last record of Q2 I don't get the appropriate records from Q3 when there are multiple records to be shown, but only the last record which belongs to the previous Q2
    What is going on?
    Please help me out...
    Kind regards,
    Jan-Marcel

    Hi Tim,
    Thanks for your reply. Below you will find the datatemplate on the scott/tiger schema.
    Please help me out.
    Kind regards,
    Jan-Marcel
    <dataTemplate name="scott" description="Template scott" dataSourceRef="otcy001" version="1.1">
      <parameters>
        <parameter name="p_deptno" dataType="number"/>
      </parameters>
      <dataQuery>
        <sqlStatement name="Q1">
          <![CDATA[
            select empno            mgr_empno
                 , ename            mgr_name
                 , job              mgr_job
                 , hiredate         mgr_hiredate
                 , sal              mgr_sal
                 , comm             mgr_comm
              from emp
             where deptno = nvl(:p_deptno, deptno)
               and mgr is null
          ]]>
        </sqlStatement>
        <sqlStatement name="Q2">
          <![CDATA[
            select empno            mgr2_empno
                 , ename            mgr2_name
                 , job              mgr2_job
                 , hiredate         mgr2_hiredate
                 , sal              mgr2_sal
                 , comm             mgr2_comm
                 , mgr              mgr2_mgr
              from emp
             where mgr = :mgr_empno
          ]]>
        </sqlStatement>
        <sqlStatement name="Q3">
          <![CDATA[
            select empno            emp_no
                 , ename            emp_name
                 , job              emp_job
                 , hiredate         emp_hiredate
                 , sal              emp_sal
                 , comm             emp_comm
                 , mgr              emp_mgr
              from emp
             where mgr = :mgr2_empno
          ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="G_mgr1" source="Q1">
          <element name="q1_mgr_empno"    value="mgr_empno"/>
          <element name="q1_mgr_name"     value="mgr_name"/>
          <element name="q1_mgr_job"      value="mgr_job"/>
          <element name="q1_mgr_hiredate" value="mgr_hiredate"/>
          <element name="q1_mgr_sal"      value="mgr_sal"/>
          <element name="q1_mgr_comm"     value="mgr_comm"/>
          <group name="G_mgr2" source="Q2">
            <element name="q2_mgr_empno"    value="mgr2_empno"/>
            <element name="q2_mgr_name"     value="mgr2_name"/>
            <element name="q2_mgr_job"      value="mgr2_job"/>
            <element name="q2_mgr_hiredate" value="mgr2_hiredate"/>
            <element name="q2_mgr_sal"      value="mgr2_sal"/>
            <element name="q2_mgr_comm"     value="mgr2_comm"/>
            <element name="q2_mgr2_mgr"     value="mgr2_mgr"/>
            <group name="G_emp" source="Q3">
              <element name="q3_emp_empno"    value="emp_empno"/>
              <element name="q3_emp_name"     value="emp_name"/>
              <element name="q3_emp_job"      value="emp_job"/>
              <element name="q3_emp_hiredate" value="emp_hiredate"/>
              <element name="q3_emp_sal"      value="emp_sal"/>
              <element name="q3_emp_comm"     value="emp_comm"/>
              <element name="q3_emp_mgr"      value="emp_mgr"/>
            </group>
          </group>
        </group>
      </dataStructure>
    </dataTemplate>

  • FOR i IN (statement) LOOP - very strange behaviour

    Hello, I'm experiencing very strange behaviour in my 9i Development Environment:
    If I run this select from SQL Plus a I get six month with number of days:
    select to_char(add_months(trunc(sysdate,'month'),rownum-1),'Month-YYYY') tmp_date, add_months(trunc(sysdate,'month'),rownum)-add_months(trunc(sysdate,'month'),rownum-1) colspan from dual a connect by level <=6
    But if I try to cycle through it in PL/SQL I only get the first row.
    FOR i in (
    select to_char(add_months(trunc(sysdate,'month'),rownum-1),'Month-YYYY') tmp_date, add_months(trunc(sysdate,'month'),rownum)-add_months(trunc(sysdate,'month'),rownum-1) colspan
    from dual a
    connect by level <=6 )
    loop
    -- print something out
    end loop;
    Any ideas why does this happen this way? If I use a query that does not contain CONNECT BY it works ok.

    Hi
    Just change as given below:
    FOR i in (
    select * from (select to_char(add_months(trunc(sysdate,'month'),rownum-1),'Month-YYYY') tmp_date, add_months(trunc(sysdate,'month'),rownum)-add_months(trunc(sysdate,'month'),rownum-1) colspan
    from dual a
    connect by level <=6 ))
    loop
    -- print something out
    end loop;
    Regards
    RK

  • Magic mouse, trackpad and bluetooth

    So I've had my bluetooth trackpad and magic mouse for 6 months on my iMac.
    All of a sudden the 'right click' on the mouse doesn't work. Strange. So I talk to a Mac specialist via Express Lane, and we reset the Pram. Everything works fine. Then two days later, the right click stops working. Reset Pram. Everything works fine. I do this another couple times and then decide this isn't the long term solution. I talk to a mac specialist at the apple store and they give me a new Magic mouse. So I Pram reset, and ow, the mouse isn't recognized, yet the trackpad continues to work fine. Help.

    Got a new mouse from the Apple Store.  Works fine now.

  • Very strange.  In iPhoto '11, cannot find my Trash bin under RECENT category - -need to retrieve missing photos.

    Hello.  I have been trying to solve this for quite some time on my own.
    I've been using iPhoto for years, and get all the upgrades.  Working with iPhoto tonight, trying to set up two new Albums, it added my entire iPhoto library into the first new Album I created.  When I deleted that, then I tried to create another new Album, this time it added 26 photos from a different Album.  Very strange.  I deleted that new Album, too.  When I went back to the date and photos I was originally looking at, I noticed the two I was going to place in the new Album were missing. 
    That's when I looked up for the Trash bin, which I've usually found under the RECENT category, but now is entirely gone. 
    Oh no...
    I don't understand what is going on.  If anyone has any clues, I would be most grateful for your insight.

    Hello Terence,
    Thanks for your rapid response.  To answer your question, under RECENT, I currently see Last Import, Last 18 Months, Flagged, and...
    Well, this is wonderful, the Trash is back again, right where it was before.  I have also checked the photos that were missing, and they are back right where they were supposed to be.
    Now I am wondering if this is a  iPhoto '11 problem in general, since I noticed there were quite a number of other entries on the iPhoto discussion page  on similar subjects, ranging from Trash trouble to missing photos this evening.  Might there be anything to this?
    It is great that in my case, it's all been restored.  Next time, I will just quit iPhoto and re-open it again.  Perhaps even restarting my Mac might well have been a good enough idea.
    That was a close call.  Thanks very much.

  • Strange behaviour when setting client_info and module in v$session

    Hello,
    I've tried to set the CLIENT_INFO field in V$SESSION using DBMS_APPLICATION_INFO.SET_CLIENT_INFO but found a strange behaviour.
    Normally the forms modules seems to set the field MODULE in V$SESSION to its name. If I use DBMS_APPLICATION_INFO.SET_CLIENT_INFO the CLIENT_INFO field is set correctly but the MODULE field is set to 'frmweb.exe' instead of the forms modules name.
    I also tried to set the MODULE using DBMS_APPLICATION_INFO.SET_MODULE but then strangely the MODULE and MODULE_HASH field of the original frmweb.exe (the main applet?) entry and the entry for the forms module were the same (set to the new module name). From now on every newly opened module had 'frmweb.exe' as the module entry until I closed the forms application.
    Example:
    Entries in V$SESSION:
    -- After start of forms application there is only one entry for the process:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    -- When a new forms module is opened it looks like this:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    1596:7204         my_module         1929284615
    -- When the modified forms module that sets the client_info/module is opened this happens:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         mod_module        3097977240
    1596:7204         mod_module        3097977240             my client info
    1596:7204         my_module         1929284615As one can see the entry of the forms application seems to be overriden (at least the MODULE and MODULE_HASH fields) but the CLIENT_INFO only changes for one of the entries?
    The following code is responsible for the changes of CLIENT_INFO and MODULE:
        -- get client info
        client_info :=
            webutil_clientinfo.get_ip_address
            || ' (' ||
            webutil_clientinfo.get_user_name
            || ')'
        -- set client info
        DBMS_APPLICATION_INFO.SET_CLIENT_INFO(client_info);
        -- get module (set action to '')
        DBMS_APPLICATION_INFO.SET_MODULE(name_in('system.current_form'),''); I really don't understand, why it does not work properly.
    Any help is appreciated!
    Thanks in advance.

    This was an application module pooling, activation / passivation issue.
    After view objects had been set-up correctly, the problem disappeared.

  • Strange behaviour whit custom JTextField and JToolTip

    Hello everyone. I hope I'm writing in the right section and sorry if I did not search for this issue but I really don't know which keywords I should use.
    I'm using NetBeans 6.1 on WinXP and JDK 1.6.0_07, I have a custom JTextField with regex validation: when you type something that don't mach regex it shows a JToolTip. This JToolTip should disappear when the text typed is finally correct, or when the textfield loses focus (see code below).
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Point;
    import javax.swing.JToolTip;
    import javax.swing.Popup;
    import javax.swing.PopupFactory;
    public class MyJTextField extends javax.swing.JTextField implements FormComponent
    private static Popup popUpToolTip;
    private static PopupFactory popUpFactory = PopupFactory.getSharedInstance();
    private boolean isValidated = false;
    private String regEx = "a regex";
    public MyJTextField()
    this.addKeyListener(new java.awt.event.KeyAdapter()
    public void keyReleased(java.awt.event.KeyEvent evt)
    if(evt.getKeyCode()!=java.awt.event.KeyEvent.VK_ENTER)
    validateComponent();
    else if(evt.getKeyCode()==java.awt.event.KeyEvent.VK_ENTER)
    if(isValidated)
    ((Component)evt.getSource()).transferFocus();
    this.addFocusListener(new java.awt.event.FocusAdapter()
    public void focusLost(java.awt.event.FocusEvent evt)
    if(popUpToolTip!=null){popUpToolTip.hide();}
    public void validateComponent()
    if(text.matches(regex))
    isValidated = true;
    if(popUpToolTip!=null){popUpToolTip.hide();}
    else
    isValidated = false;
    if(popUpToolTip!=null){popUpToolTip.hide();}
    String error = "C'&egrave; un errore nella validazione di questo campo";
    JToolTip toolTip = createToolTip();
    toolTip.setTipText(error);
    popUpToolTip = null;
    popUpToolTip = popUpFactory.getPopup(
    this,
    toolTip,
    getLocationOnScreen().x,
    getLocationOnScreen().y - this.getPreferredSize().height -1
    popUpToolTip.show();
    }(I've cut it a bit, here's only the lines that involve JToolTip use)
    I have many of them in a form, and when the first tooltip appears (on the first textfield I type in) it never disappears, while nex textfields work just fine.It seems the first tooltip appearing can't be overwritten or something similar. If I use this same component on any other NetBeans project, everithing works without issues.
    I have some other custom components working the same way (JComboBox, JXDatePicker), and they had this "not disappearing tooltip" issue since I changed this
    popUpToolTip = popUpFactory.getPopup(this, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
    whit this
    popUpToolTip = popUpFactory.getPopup(null, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
    but if I try it on the JTextField all textfield's tooltips stay stuck there, not only the first one appeared (while other components still works fine).
    This thing is really driving me crazy. Someone has an hint (or a link to another thread) which could explain this strange behaviour?
    Thanks in advance.

    BoBear2681 wrote:
    Note that an SSCCE wouldn't require you to post any proprietary code.Hmmm... well, I'll try again to reproduce the issue and post an SSCCE.
    BoBear2681 wrote:
    That probably indicates that the problem is somewhere other than where you're currently looking.Yes, I suppose so. Maybe it's some interference between all the custom components I created, or maybe something else that apparently doesn't conern at all. If I cannot reproduce it in an SSCCE and I'll figure out what's the cause of this mess I'll post it here for future knowledge.
    Many thanks for your advices. :)

  • [SOLVED] Strange behaviour of gnome-terminal and xterm

    Hello,
    I've been on Archlinux for 2 days, and I have a strange problem with gnome-terminal and xterm. When I write a too long command on a line, the text continues from the beginning of this line erasing the text, instead of going to a new line. Do you have any idea of how to fix that?
    Thanks a lot!
    Last edited by crotte (2008-04-13 21:59:34)

    Seems to be in a fresh install, too. I didn't change any setting of bash and no PS1.
    I still can't reproduce it... I hate those errors. :-(
    Edit:
    Fixed by using zsh now.
    Last edited by Misery (2008-05-16 08:48:44)

  • Very strange behaviour and exception with af:tree

    Hello,
    I deployed an ADF taskflow (which contains a af:tree) inside Webcenter portal...
    When I add this taskflow to a page, the tree renders fine.. But when I expand a node (which contains just one element under it) and then collapse it and switch to a different tab, I am getting a Null Pointer Exception..
    Attached is the log information
    java.lang.NullPointerException
         at oracle.adf.view.rich.change.FilteredPersistenceChangeManager.addComponentChange(FilteredPersistenceChangeManager.java:138)
         at org.apache.myfaces.trinidad.change.ChangeManagerWrapper.addComponentChange(ChangeManagerWrapper.java:44)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.addAttributeChange(UIXComponentBase.java:1108)
         at org.apache.myfaces.trinidad.component.HierarchyUtils.__handleBroadcast(HierarchyUtils.java:50)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:237)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:241)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    To make the problem more clear, if I collapse every node of the tree as last operation and then click on a command link (which should redirect me on another page), then the following happens according to the value of the "immediate" property of the tree:
    1. If I set the immediate ="true" on the tree it does not throw this exception. But if the last action in the screen is collapsing a node and I click on any other action (clicking on a different tab) it does not trigger the action. But if I click on the same action once again, then the action is triggered successfully and things work as expected again.
    Basically, it looks like if the last action in the screen is collapsing a node, then we have to click on a action (like clicking on a tab) twice for the action to be triggered.
    But if I set the immediate="false", then it throws the null pointer exception.
    2. if immediate = "false" I get an exception, and the application crashes:
    Any help would be appreciated. Using Jdev 11.1.1.6.

    Any suggestions, pls

  • VERY strange behaviour......

    Hi all,
    I'm experiencing a very annoying problem......no not the wife.
    During playback if I copy a region - any region - the minute I drop it the sound drops out completely, and only comes back when I hit 'stop', followed by clicking the solo button on and off.
    I have no solo buttons on anywhere, and none of my regions have a yellow box around them like someone else was experiencing when they realised they were soloing individual regions!
    I've tried it on numerous projects and the result is the same.
    I've tried searching the forum but no joy.
    Anyone help me?
    Thanks,
    Andy

    If I were in your shoes, I'd find a source that wants to get rid of Tiger at a reduced price, now that Leopard is out. You may want to wait for Leopard to get to 10.5.1 or 10.5.2 before installing it - let others complete Apples testing. Some people have installed it fine, but a number are having teething pains. You can view the Leopard discussions at http://discussions.apple.com/category.jspa?categoryID=235

  • Very strange behaviour (Image Squished) every time I export

    I have a strange issue happening.
    On one of my mobile pages if I export my HTML the image appears squished. However if I make any adjustment to the image in Muse prior to exporting. i.e./  Shift its X or Y property, etc and then export again .. it appears correctly. If I then export again without touching it .. its back to being squished again. It's really annoying and tedious right now that every time I export HTML for my site I have to go to the mobile layout and make an adjustment to that single image to ensure it's not going to be squished.
    Any ideas ?

    This is driving e nuts.. I have to manually do this every time I export my HTML. .. why is this happening ?  Why only with 1 image too ?

Maybe you are looking for