Uncontrollable mouse button events (single clicks are doubled?)

Hello, folks--
I am having a mouse problem that is driving me up the wall. The mouse in question is an optical IM/PS2 mouse--it is a cheap no-name product, but has worked fine for 2 or 3 years. The trouble started maybe six weeks ago when I did a full upgrade. The most important change that I know of in that upgrade was the introduction of HAL, so I strongly suspect that the cause of the problem is related to my HAL configuration, or perhaps a conflict between that and my X config. But anyway, the symptoms I've been seeing include (but are not limited to):
  * Firefox: a single click selects an entire paragraph
  * Thunderbird: a single click in the message list opens the message in a new window
  * Xfwm: a single click on the "windowshade" button collapses the window, then expands it again
    (or vice versa, depending on the initial state)
  * Xfwm: when dragging a window quickly, the mouse "loses its grip"--i.e. the window stops moving even
    though I am still moving the mouse
None of these things happens every time, but they all happen often. The problems seem most severe in Firefox, but given that similar things happen elsewhere, I would imagine that's due to Firefox's complex event handling exposing a pervasive problem, rather than any kind of application-specific issue.
With the possible exception of the window-dragging issue, all the above symptoms are consistent with a problem I have seen reported elsewhere, that single clicks are being read as double clicks. However, the only clearly applicable solution I've seen for that issue is to remove all mouse configuration from Xorg.conf, leaving it up to HAL. I tried that and it didn't seem to change anything. However, at the same time I purged the mouse from Xorg.conf, I created an FDI file for the mouse in /etc/hal/fdi/policy. I wonder now if that was necessary--there was no FDI for the mouse before, but perhaps there doesn't really need to be one if you aren't applying any special settings? Dunno, I don't understand much about HAL yet.
I have tried a couple of other things: first, I set the double click speed to the minimum using the Xfce Mouse Settings applet (BTW, I suppose this applet is a front-end to some shell command or config file, but what?). That seems to help, but only a little. Second, if I use the mouse in an unnaturally precise manner (e.g., when single-clicking, I click as quickly as possible and lift my finger all the way off the button), the problems mostly, but not entirely, disappear.
Any suggestions?

mgushee wrote:
bernarcher wrote:Sounds like faulty hardware.
Did you try another mouse by chance?
Well, no, and I suppose to be thorough I should try that. But I am quite sure that the problem appeared suddenly, and exactly at the time of the upgrade I mentioned.
Well, it could be that your fdi modification tries to catch the mouse events twice in a row. Perhaps you should post the file.
Besides: There is are no mouse specific fdi settings in my system. I currently have no idea where the mouse behaviour was defined besides my still old xorg.conf. (I did only activate Option "AutoAddDevices".)

Similar Messages

  • Remediation for single-clicking a double-click action

    I'm using the double mouse click feature of a Click box in a
    software simulation lesson we've built in captivate. Unfortunately
    when the user single-clicks in the Click box, no remediation shows
    to tell the user that they must double-click in the box to complete
    the step.
    Anyone have any ideas on how to provide the user with
    remediation on single clicking a double click Click box?
    Thanks,
    Scott Witlen
    McKessson Provider Technologies

    Um... there are no macros. Captivate is a closed system with
    no documented API outside of some variables you can read and in
    some cases, set to make Captivate do some simple navigation-related
    things. Search the Captivate help file for 'variables' and you'll
    find a list.
    Outside of that, the only official ways to "enhance"
    Captivate are either to:
    - Create your own standalone functionality in Flash and
    insert it in Captivate as a self-contained animation. This can be
    problematic due to the closed nature of the Captivate runtime, as
    well as the layering imposed by the use of skins and borders.
    - Make Javascript calls to the browser and put the
    functionality there. Since there is limited interactivity between
    Javascript and Flash, this is much more limited in scope than
    inserting your own self-contained animations
    Some folks have also opened up a published SWF with a
    decompiler program and viewed the Adobe source code in an effort to
    make their inserted animations do cooler things, but that is very
    much an unsupported activity.

  • Leopard Registering Single Clicks as Double Clicks

    I have a terrible problem under 10.5.1 with the system registering about 40% of my single clicks as double clicks. It seems to be getting worse, as well. I thought it was an issue with the mouse on my Wacom tablet or with the Wacom driver, but in trying to troubleshoot it I found I had the same problem when using my original Apple mouse.
    It's extremely problematic. For example, I've customized my Finder toolbar to include the delete icon. However, if I click the delete icon and the system registers it as a double click, it will delete not only the file I intended, but it's parent directory. Is anyone else experiencing this?

    I have the same problem. I have concluded that it is a software problem either with OS X or some third party software on the computer.
    I originally thought it was a problem with Logitech's control center as that was the mouse I was having problems with. However, I recently replaced that mouse and uninstalled the logitech software and am still having problems with my new mouse from a different vendor. All the while, the trackpad will still register single clicks as double clicks.
    In my observations I found that once I restart the computer, single clicks will be registered as normal for the first few minutes of computer use. After that, any time the mouse is clicked more than once without being moved, no matter how much time has passed, it will register the subsequent clicks as double/triple/etc. clicks. So if, for example, I were to click an application icon once, not move the mouse, come back a day later and click again, it will double click. I also found that if the mouse is moved ever so slightly, it might still register as a double click.
    Additionally, if I am scrolling through any window but don't move the mouse, it will register the subsequent clicks as double clicks, even when you are clicking on a different item. An example of this is if I am scrolling down a finder window with a lot of files in column view, click on a file to see it's icon preview, then scroll down without moving the mouse and click on another file, it will register as a double click and launch that item.
    Other observations: I was having this problem in the early days of my OS install, so I went ahead and reinstalled the system. The problem came back in a day or so and I can't pinpoint it to any one piece of software that has been installed. I'm wondering if it is an OS issue.

  • How to handle both single click and double click from mouse

    hey,
    I looked in past threads and didn't get a proper answer for capturing both single and double click from the mouse.
    in most applications the single click action does not interfere with the double click action, for example in a text editor, single click sets the cursor in between the text, double click marks a word, triple click marks a sentence, they do not bother each other, they all can happen first the single then the double and then the triple, but what if i have a very distinct action for each of the actions, the e.getClickCount() returns every time the number of clicks and if i use
    if(e.getClickCount()==1)
        doSingleClick();
    if(e.getClickCount()==2)
        doDoubleClick();it will always do first the single click and then the double click, which works fine with the example i gave, but not with what i want to do, so i was thinking to over come this that i will use another thread to run my tasks if dt has past since the last click and by the last click counts to perform the correct action and go to sleep until the next mouse click notify it, what do you think?
    run this to get what i mean...
    package blah;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MouseClickTest {
         static long previousTime = System.currentTimeMillis();
         public static void main(String[] args) {
              JPanel panel = new JPanel();
              JButton component = new JButton("Hit me, please");
              component.addMouseListener(new MouseAdapter(){
                   public void mouseClicked(MouseEvent me){
                        if(me.getClickCount()==1)
                             System.out.println("Now I will do single click action");
                        if(me.getClickCount()==2)
                             System.out.println("Now I will do DOUBLE click action");
    //                    System.out.println("Click count: " + me.getClickCount());
              panel.add(component);
              Launcher.launch(panel);
    package blah;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Launcher {
         public static JFrame launch (Container contents, String title, Color backgroundColor) {
              JFrame frame = new JFrame (title);
              if (backgroundColor != null) {
                   frame.setBackground (backgroundColor);
                   contents.setBackground (backgroundColor);
              } else {
                   frame.setBackground (contents.getBackground());
              frame.getContentPane().add (contents, BorderLayout.CENTER);
              frame.pack();
              frame.addWindowListener (new WindowAdapter() {
                   public void windowClosing (WindowEvent e) {
                        System.exit (0);
              frame.setVisible (true);
              return frame;
         public static JFrame launch (Container contents, String title)      {
              return launch (contents, title, null);
         public static JFrame launch (Container contents, Color backgroundColor) {
              return launch (contents, contents.getClass().getName(), backgroundColor);
         public static JFrame launch (Container contents) {
              return launch (contents, contents.getClass().getName());
    }

    Read my comments and solution in this posting; [http://forums.sun.com/thread.jspa?forumID=57&threadID=705244]
    and then choose a better design for your application.

  • How to differentiate between Single click and double click event in List

    I am facing a problem while using list in awt.
    I want to execute some code on single click and other on double click but when double click event occurs it also executes the single click code.
    because i have added both actionlistener and itemlistener on the list.
    How to sort out this problem.
    please help me out.
    Thanks buddies.

    Hello Meeraj_Kanaparthi
    Thanks for helping i m giving u the code i have tried.
    Plz help me on this...
    Thanks........
    import java.awt.*;
    import java.awt.event.*;
    class CheckList extends Frame implements MouseListener
         List l1;
         int x;
         int y;
         CheckList()
         setSize(500,500);
         setLayout(new FlowLayout());
         l1=new List(10);
         add(l1);
         l1.add("Item 1");l1.add("Item 2");l1.add("Item 3");l1.add("Item 4");l1.add("Item 5");
         x=6;
         y=0;
         l1.addMouseListener(this);
    //     l1.addItemListener(this);
         show();
         public void execute(int y)
         if(y==1)
         {System.out.println("3");
              l1.remove(l1.getSelectedIndex());
         if(y==2)
         {System.out.println("4");
              l1.add("item " + x);
              x++;
         public void mousePressed(MouseEvent e)
              System.out.println("Pressed");
         public void mouseReleased(MouseEvent e)
              System.out.println("Released");
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void mouseClicked(MouseEvent e)
         if (e.getClickCount()==1)
              System.out.println("1");
              y=1;
         if (e.getClickCount() == 2)
         {System.out.println("2");
              y=2;
              execute(y);
         public void actionPerformed(ActionEvent ae)
         public void itemStateChanged(ItemEvent it)
         public static void main(String ag[])
         new CheckList();
    }

  • Single Click versus Double Click Action not working

    Hello, having an issue with actions on symbols.
    I have symbols that when clicked play at a specific location on the timeline.
    Tthe first symbol uses single click (how I want it)
    The rest of the symbols also use single click, but when I test the animation they require double click (even though they are coded to be single click)
    Any ideas?
    Here is a testing location for the animation:
    http://www.contentx.com/DSU_discovery/MainAnim.html
    Ideally I want single click on all the symbols. The double click is confusing.
    Thanks!
    zack

    Hi, Zack-
    Marie nailed it without even looking at the project.    You are calling play() on a place that has a trigger that says stop().  The reason it plays the second time is rather complicated and has to do with the default play() behavior when there's a trigger, but the easy thing to do is to add one to your click event timecode.
    For instance: Presentation.click currently says:
    sym.play(22000);
    Just replace it with:
    sym.play(22001);
    The next easiest thing to do is to change your play call to use the optional "false" parameter to force it to not execute the trigger at 2200.
    sym.play(22000, false);
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html#symbolinstance
       - scroll down to "play" to read more about the API
    Hope that helps!
    -Elaine

  • How to retrieve last mouse button that was clicked?

    Is there a function that gets the last mouse button that was pressed? I am creating a GUI in the MATLAB environment, and its mouse button detection abilities are quite limited. Since MATLAB can import Java classes, I am hoping I can get around MATLAB's limitations by issuing a java command that will tell me which button was pressed (in MATLAB a cntrl left click and a right click are given the same tag!!!!)
    If this is possible, can someone show me the java code to get the mouse click info (note: I do not need any java mouse action callback behavior - I just need to know the last mouse click)
    -brian

    This is probably something that you will have to do yourself. You can use the MouseListener interface and then store the last mouse click in a class variable. This is only theory to me as I have not done it myself.

  • Mouse down event and Click event in List Box Very urgent.

    Hi,
           How can i differentiate mouse down and itemclick in ListBox.Its very urgent.
    Regards,
    Jayagopal.

    Nick wrote:
    Turns out need update value while typing turned on if you want to gaurantee a correct read of a text input control in a mouse down event.
    AFAIK, "Update value while typing" will trigger only a Value Change event of the Str Ctl.
    Mouse Down event will preceed a Value Change event, if you have both the event cases configured in your code.
    - Partha
    LabVIEW - Wires that catch bugs!

  • How do you make the "mouse down event" achnolage the area of an image

    Hi
    I am trying to program a simple game.
    In this game I would like to insert
    giff images, that when "clicked on"
    by the mouse, will finallly return some kind of action.
    In the book that I am reading, I have learnt how to
    use the basics of the "mousedown event".
    This I found out would be no use to me for what I am trying to achieve
    at this moment,
    because it only alows me to choose one coordinate at a time.
    Is there any class that will able me to click anywhere on the "area" of the giff image instead of only one coordinate?
    I hope I am clear enough..

    And this is how you create the JLabel:
    JLabel j = new JLabel(new ImageIcon("yourImage.gif"));

  • Is it possible to make a tab group into an app tab or bookmark button for single click switching?

    Firefox 4 - I like the idea of tab groups but don't like the way you have to switch between them.
    Is there a way to create an app tab or button that I can click on to switch between my tab groups?
    Thanks,
    Grant

    This can be done with html5 and jQuery to create ur audio player then embedded with the web content overlay
    http://www.jquery4u.com/media/10-jquery-html5-audio-players/
    http://www.codebasehero.com/2011/07/html5-music-player-updated/

  • Seems I have lost my "home" button, the single click that takes me to my home page. Does anyone know where it is?

    Thats it

    # Press Alt+V
    # Select Toolbars
    # Click on Customize
    # You will icons in a dialog box.
    # Find the Home Button and simply drag it on your navigation bar.
    ''<hr>Note: If anyone's reply has solved your problem, then please mark that reply as "Solved It" to the right of that reply after logging in your account. It will help us to concentrate on new questions.''

  • T510 Trackpoint Mouse Button Randomly Loses Click??

    I have a brand new T510, coming from a T61p. Everything is GREAT but ONE thing...
    Occasionally when I am using the trackpointer (which I do often) the left click button will lose the click that it has, let me try and explain...
    I click down to grab a window and drag it, start dragging, suddenly without depressing the button at all, it just drops the window, and then the click kicks back on a split second later either grabbing something else or clicking something else giving it the focus.
    I can replicated it occasionally and opened paint, started drawing a long curvy line without unclicking the button and the line ends up with breaks in it!
    Has anyone had this issue? It is VERY irritating...

    1. Does vertical scroll work elsewhere? Like in Adobe Reader or a long Wordpad document?
    2. Same here; do clicks work elsewhere?
    I've only seen the delay when my CPU is being maxed out and SynTPEnh.exe doesn't intercept the middle-drag in time.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • Touch screen double clicks are seen as two single clicks due to position sensitivity

    I'm developing an app for a laptop with a touch screen. It displays several low resolution images in Lab View pictures. The operator can select an image by double clicking, displaying a higher resolution picture that fills the screen. Double clicking that image returns to the multiple image display.
    It is very difficult to cause a double click event via the touch screen. The two clicks must be located at the exact same point on the touchscreen, or two single clicks are returned. My fat fingers can't seem to hit the same pixel twice.
    Is there a way to set the position sensitivity of double clicks in Lab View? in Windows?
    Thanks,
    Dan

    Hi Dan,
          I think this would be an OS configuration-parameter - at least, outside LabVIEW - have you looked under "Control Panel" or Programs for a touch-screen configuration utility?  Here's a link to info re: the Dell Latitude XFR D630.  Note the "Doube Click Area" parameter under "Touchkit Configuration Utility" - Settings.
    Cheers!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Why does my event structure run a single click when I double-click?

    I would like to treat single-clicks differently than double-clicks but it appears that when I double-click an item on a Front Panel control it runs the single-click event once before running the double-click event.  I would like the single-click event not to trigger if the user double-clicks.
    I am discarding the "Mouse Down?" filter event then using the "Mouse Up" notify event to try to catch the difference between a single-click and double-click.
    Should I be doing something different with the timeout event (right now it does nothing)?
    Should I stop displaying the event type?
    Should I eliminate the 5 msec Wait in the Producer Loop?
    Should I use the "Mouse Down" notify event instead of the "Mouse Up" notify event?

    JeffOverton wrote:
    If you edit the event cases, is the "Lock front panel until the case for this event completes" box checked?
    I think this is a key configuration to understand.
    The current configuration means that the 'mouse up' event for the first click is triggered. Then immideatly the front panel is locked. The second click needs to wait until the event has finished. So I think unchecking that box might improve the code.
    Yes you should remove the 5 ms. wait, it has little purpose. It might even cause this: Click 1(& lock), wait 5 ms, event 1 (&unlock), click2 (no double click anymore).
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Right click as primary mouse button won't work

    Here's my problem...
    I go into system preferences / keyboard & mouse and click on "Right" under "Primary mouse button:".
    Then I close system preferences, but my right click isn't set as my main click (the contextual menu keeps popping up).
    So I re-open system prefs / keyboard & mouse and notice that "Primary mouse button" is set to left again, so I click on "Right" again, close system prefs.
    The same thing happens again:(
    I tossed preferences for keyboard & mouse, repaired permissions, restarted...no dice. I'm on a powerbook g4 osx 10.4.7 & it's a logitech mouse (logitech's latest driver is bunk..I had it installed previously but uninstalled because the same thing was happening).
    The thing that bugs me is that i have an imac at work w/ 10.4.7 and it works fine with the same mouse!
    Anyone...please....
    Thanks!
    Powerbook G4 15'   Mac OS X (10.4.3)  

    Hey, thanks for getting back:)
    I'm using a logiech mouse w/ left & right click buttons. It's possible that if you're not using a 2 button mouse, "Right" does not appear in the Keyboard & Mouse system pref.
    I'm trying to make the actual right mouse button on my mouse my main click & make the left mouse button my right click. Basically I want to reverse the mouse buttons.
    About the test user account...if it does work correctly in the new account, how can I make it work in my main account?
    Thanks again

Maybe you are looking for