Need More Mouse Events

[http://forums.sun.com/thread.jspa?messageID=10811388|http://forums.sun.com/thread.jspa?messageID=10811388]
During search over net I found the above thread and it seems to be describing the same problem which I am also facing. For my application also I need to capture all the mouse events while dragging. I tried the soluiotn mentioned at this thread to solve this problem by overrinding the below method in several ways:
protected AWTEvent coalesceEvents(AWTEvent existingEvent,AWTEvent newEvent);
Even after several attempts, I could not succeed. Can you please suggest how to do that. I was not able to reply to above thread so creating this new thread.
Thanks

I wanted to see if a timer based approach does indeed produce a smoother curve than just simply listening for mouse drag events. What I came up with below was the resulting test code. Lo and behold, using a timer does indeed produce a smoother curve. But it wasn't because it was capturing more mouse positions, it was because it was capturing less. Ain't that a kicker? Another interesting thing is that according to the source code, coalesceEvents is a no-op. The documentation, however, would have you believe that it coalesces mouse events as I thought it did.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.GeneralPath;
import javax.swing.SwingUtilities;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.Timer;
import javax.swing.BorderFactory;
public class Test {
    private static class TimerBasedPanel extends JPanel implements MouseListener {
        private GeneralPath line;
        private Timer mousePosQuerier;
        private Component mouseEvtSource;
        private int pointCount;
        public TimerBasedPanel(Component mouseEventSource) {
            mousePosQuerier = new Timer(15, new ActionListener() {
                Point lastMousePoint = new Point(-1, -1);
                public void actionPerformed(ActionEvent e) {
                    Point p = MouseInfo.getPointerInfo().getLocation();
                    if (p.x != lastMousePoint.x || p.y != lastMousePoint.y) {
                        lastMousePoint.setLocation(p);
                        SwingUtilities.convertPointFromScreen(p, mouseEvtSource);
                        line.lineTo(p.x, p.y);
                        pointCount++;
                        repaint();
            mouseEvtSource = mouseEventSource;
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            if(line != null) {
                ((Graphics2D) g).draw(line);
        public void mousePressed(MouseEvent e) {
            line = new GeneralPath();
            line.moveTo(e.getX(), e.getY());
            pointCount = 1;
            mousePosQuerier.start();
        public void mouseReleased(MouseEvent e) {
            mousePosQuerier.stop();
            repaint();
            System.out.println("Timer Based, Points Captured: " + pointCount);
        public void mouseEntered(MouseEvent e){}
        public void mouseExited(MouseEvent e){}
        public void mouseClicked(MouseEvent e){}
    private static class DragEventsPanel extends JPanel
            implements MouseListener, MouseMotionListener{
        private GeneralPath line;
        private int pointCount;
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            if(line != null) {
                ((Graphics2D) g).draw(line);
        public void mousePressed(MouseEvent e) {
            line = new GeneralPath();
            line.moveTo(e.getX(), e.getY());
            pointCount = 1;
        public void mouseDragged(MouseEvent e) {
            pointCount++;
            line.lineTo(e.getX(),e.getY());
            repaint();
        public void mouseReleased(MouseEvent e){
            System.out.println("DragEvent Based, Points Captured: " + pointCount);
        public void mouseEntered(MouseEvent e){}
        public void mouseExited(MouseEvent e){}
        public void mouseClicked(MouseEvent e){}
        public void mouseMoved(MouseEvent e) {}
    public static void main(String args[]) {
        JFrame frame = new JFrame();
        JPanel drawPanel = new JPanel() {
            @Override
            protected AWTEvent coalesceEvents(AWTEvent existingEvent,
                                              AWTEvent newEvent) {
                if(newEvent.getID() == MouseEvent.MOUSE_DRAGGED) {
                    return null;
                }else {
                    return super.coalesceEvents(existingEvent, newEvent);
        TimerBasedPanel timerPanel = new TimerBasedPanel(drawPanel);
        DragEventsPanel dragPanel = new DragEventsPanel();
        drawPanel.setBorder(BorderFactory.createTitledBorder("Draw here"));
        timerPanel.setBorder(BorderFactory.createTitledBorder("Uses a timer"));
        dragPanel.setBorder(BorderFactory.createTitledBorder("Listens for drag events."));
        drawPanel.addMouseListener(timerPanel);
        drawPanel.addMouseListener(dragPanel);
        drawPanel.addMouseMotionListener(dragPanel);
        frame.setLayout(new java.awt.GridLayout(0,3));
        frame.add(drawPanel);
        frame.add(timerPanel);
        frame.add(dragPanel);
        frame.setSize(600,200);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
}Edited by: Maxideon on Sep 16, 2009 9:56 PM
Minor error, but now fixed.

Similar Messages

  • Movieclip movement triggered by socket event, need more frequent rendering

    I have a flash project that's implementing a simple two player game.  I have added an enterFrame function to my main movie which listens for keyboard activity in order to move a cowboy gunslinger.  Whenever the cowboy moves, I send a message over a socket to a server which dispatches the movement to the other connected client.  This works pretty well, however, the movement messages tend to arrive in clumps which results in jumpy animation of my cowboy on my opponents screen and jumpy animation of his cowboy on my screen.  To illustrate, i put a trace in my enterFrame function because I am imagining that this function will run roughly once each time my main movie renders the screen.  I also put a trace statement in my function that responds to network traffic and moves the remote player's cowboy on my screen.  Here's the output:
    enter frame:4
    enter frame:4
    enter frame:4
    client movePlayer running
    client movePlayer running
    client movePlayer running
    client movePlayer running
    client movePlayer running
    enter frame:4
    enter frame:4
    enter frame:4
    enter frame:4
    enter frame:4
    enter frame:4
    client movePlayer running
    client movePlayer running
    client movePlayer running
    client movePlayer running
    client movePlayer running
    client movePlayer running
    enter frame:4
    enter frame:4
    enter frame:4
    enter frame:4
    As you can see, I'll get several messages in a row from the remote client which instruct me to move their cowboy ('client MovePlayer running') and they will all run in a row before the screen updates.
    I'm guessing I should be using something like updateAfterEvent but this method is only provided by Mouse, Timer, and Keyboard events.
    So a few questions:
    1) Can someone recommend a good approach to force a screen render each time an incoming movePlayer event arrives over the socket?  It's important to note that my function for handling these events has no visibility to the original socket data event.
    2) Am I right in understanding that the enterFrame function of my main movie happens once each time my movie is rendered?  Is there some more accurate event to which I could attach a trace message so that I better understand the relative frequency of the render events and the socket events?
    3) Does firing an updateAfterEvent call force onEnterFrame events to happen more frequently?  I'm worried about destroying performance by inadvertently firing more enterFrames which would fire more socket events which would fire more enterFrames, etc., etc.
    Any help would be much appreciated.

    I have noticed that while my server appears to be writing bytes on a regular basis, roughly every 30 or 40 milliseconds:
    51 bytes sent at 1242146737.69
    43 bytes sent at 1242146737.72
    43 bytes sent at 1242146737.76
    43 bytes sent at 1242146737.79
    43 bytes sent at 1242146737.82
    43 bytes sent at 1242146737.86
    43 bytes sent at 1242146737.89
    43 bytes sent at 1242146737.92
    52 bytes sent at 1242146737.96
    51 bytes sent at 1242146739.46
    43 bytes sent at 1242146739.49
    44 bytes sent at 1242146739.52
    44 bytes sent at 1242146739.56
    44 bytes sent at 1242146739.59
    44 bytes sent at 1242146739.62
    44 bytes sent at 1242146739.66
    53 bytes sent at 1242146739.69
    the socketData event is only firing every 150-200 milliseconds and these packages arrive in clumps:
    * socketDataHandler running at 1242153515.5
    client.movePlayer running at 1242153515.515
    * socketDataHandler running at 1242153515.703
    client.movePlayer running at 1242153515.703
    client.movePlayer running at 1242153515.703
    client.movePlayer running at 1242153515.703
    client.movePlayer running at 1242153515.703
    client.movePlayer running at 1242153515.703
    * socketDataHandler running at 1242153515.89
    client.movePlayer running at 1242153515.89
    client.movePlayer running at 1242153515.906
    client.movePlayer running at 1242153515.906
    client.movePlayer running at 1242153515.906
    client.movePlayer running at 1242153515.906
    client.movePlayer running at 1242153515.906
    * socketDataHandler running at 1242153516.093
    client.movePlayer running at 1242153516.109
    client.movePlayer running at 1242153516.109
    client.movePlayer running at 1242153516.109
    client.movePlayer running at 1242153516.109
    client.movePlayer running at 1242153516.109

  • HT4489 I need more space and quota for my iCloud calendar than only 25.000 events or 24 MB.. What should I do..?

    I need more space and quota for my iCloud calendar than only 25.000 events or 24 MB.. What should I do..?

    It can't be expanded.  You'll have to use a different calendar service if iCloud limits aren't enough.

  • Mouse events during Thread.sleep

    hi.
    I have an applet .
    I have a alghoritm simulator.
    Everytime I find a solution I call the method Thread.sleep .
    I want to pause the application and I create a JToggleButton Pause .
    When I press the Pause during sleep mouse event are managed at the end of alghoritm.
    How can I manage mouse events during sleep?

    All UI events (such as mouse events) occur on the event dispatch thread (EDT).
    That means if you sleep on the EDT, you lock up the UI. For this reason, you shouldn't be sleeping on the EDT.
    I'm not sure what your sleep is trying to do but you need to manage your threads a little more carefully. For instance, any time consuming process which is invoked as a result of a UI event needs to be fired on a new thread to prevent the UI freezing. The fun starts when you have to update the UI as a result of that process, because you should then hook back onto the EDT to avoid the risk of deadlock.
    Some utility classes are provided, such as SwingUtilities, and other example code is provided on Sun's site, such as SwingWorker - but if you do much UI work you'll probably end up with your own core set of threading tools and so on to make life easier.

  • Need a Mouse Listener

    I have a main menu with a series of buttons, when you press a
    button, it triggers an animation for a fly-out menu with a series
    of buttons to trigger other events. Everything works fine up to
    this point.
    What I need is an independent hit area underneath the buttons
    on the fly-out menu so that when the mouse leaves the area, the
    fly-out menu will retract. The current methods require that the
    mouse be down or released, but I need a mouse listener for an
    'over' and 'out' state so that when the mouse is over the hit area,
    the fly-out menu will show and when the mouse leaves the hit area,
    the fly-out menu will retract.
    I've have googled and read and am now totally confused. Can
    anyone point me in the right direction to solve this
    problem?

    you shouldn't need setInterval, and its incorrectly set up.
    If you wanted to use a setInterval call instead of the onMouseMove
    event then you could do it as follows (but its NOT good
    programming, just providing it for illustrative purposes)
    remove the line Mouse.addListener... etc (you wouldn't do
    both an onMouseMove check and a setInterval check)
    and put in
    var ML = setInterval(mouseListener,"onMouseMove",500);
    That should work... I haven't tested it. Nor do I recommend
    it. I think you're better off with onMouseMove.
    If you are going to use the setInterval its better to change
    the name of the
    onMouseMove everywhere that it appears to something like
    onIntervalCheck just so it makes more sense to you if you
    look at it later on (or for someone else too). Using onMouseMove
    shouldn't be too demanding on the CPU - and if its noticeable it
    should only be for very short bursts.
    BTW You can also delete or comment out the trace actions...
    they were just there to help you understand how it works. Best not
    to leave them in when you do a final publish (or exclude trace
    actions in your publish settings)

  • Iocane: poison the rodent (simulate X11 mouse events from keyboard)

    Iocane: the colorless, oderless, tasteless poision that will rid your system of its rodent infestation.  Though no promises about its effectiveness against Rodents Of Unusual Size.
    Iocane simulates mouse events from the keyboard.  Iocane can be passed a few parameters which - ideally - could each have a key binding in your favorite window manager.
    If iocane is called with no parameters it starts in interactive mode (which currently lacks documentation ... hey, I just wrote this this morning).  In interactive mode the directional arrows or h/j/k/l keys move the mouse cursor.  The number keys simulate button presses (1 = left button, 2 = middle, 3 = right).  The page up and page down keys simulate mouse wheel activation.  "q" quits from interactive mode returning any grabbed keys to their normal behavior.  Key bindings are all controlled from a simple rc file.
    Iocane can also be passed a series of commands on the command line or the filename for a script file with a list of iocane commands.  Iocane can also read command from its standard input.
    Iocane is conceptually similar to some functions of xdotool, but iocane should work under any window manager (or no wm at all), is much smaller, and the interactive mode allows for a sequence of many actions without the program having to start up and close down many times in rapid succession.
    Please report bugs or feature requests here.  Iocane is currently 127 lines of C, and it will remain small; in other words, features will only be added if the can be added without substantially increasing resource use.
    EDIT: Version 0.2 is now in the AUR
    Last edited by Trilby (2012-11-03 02:23:15)

    Any arbitrary number of buttons should be easy enough to simulate - provided the Xserver actually responds to events with that button number.  An update I'll push to github tomorrow will include a few changes, including buttons 1-9, but if there is need/desire I could increase that.  Sticking to 1-9 allows for the computationally cheaper hack of converting a string to a number by simple substracting 48 from the value of the first character; numbers greater than 9 would require the use of atoi() or some funky conditionals.  In the grand scheme of things this is fairly trivial, but unless there is a real reason to use more than 9 mouse buttons I'd prefer to keep the lighter code.
    Passing a window name and getting it's coordinates is possible but after considering it I've decided it wouldn't fit well in iocane.  The reason being that to do a half-arsed job of it would be pretty easy.  To do it properly, however, it would take quite a bit of scanning through recursive calls to XQueryTree, polling atoms/wmhints, matching strings, checking for subwindows in the case of reparenting window managers, and a bunch of other nonsense ... all to get two coordinates.
    However iocane will play nicely with any tool that will provide those coordinates from a given window name, so I can imagine and invocation such as the following to move the mouse 10 pixels right and down from the top left of a window - lets call it FlamingSquirrel - and simulate a click there:
    iocane $(cool_app FlamingSquirrel) : move 10 10 : button 1
    Currently that could only be done from a command line invocation, not from a script or interactive session, as it requires shell processing for the command substitution.  I can add support for this type of invocation in scripts and interactive mode as well.  Then all you need to do is find (or write) a program that will give coordinates for a window given a title/name.  I suspect such a program probably exists out there, or if you are comfortable with C, I could give you the starting framework for it as I made something that would have much code in common for another task on these forums (it's in jumpstart.c in the "misc" repo on my github).
    In fact, you could use the following
    xdotool mousemove --window FlamingSquirrel 0 0 && iocane offset 10 10 : button 1
    Though if you are using xdotool anyways, I'm not sure if iocane would serve much of a purpose, unless you just prefer iocane's syntax.
    Last edited by Trilby (2012-11-01 00:21:14)

  • Mouse events listener

    I'm having trouble listening for mouse events in Bridge CS6.
    This example script works well in Photoshop and Toolkit, but not in Bridge:
    var w =new Window ("dialog");
    var b = w.add ("button", undefined, "Qwerty");
    b.addEventListener("click", function (k){whatsup (k)});
    function whatsup (p)
      if(p.button == 2){ $.writeln ("Right-button clicked.") }
      if(p.shiftKey){ $.writeln ("Shift key pressed.") }
      $.writeln ("X: "+ p.clientX);
      $.writeln ("Y: "+ p.clientY);
    w.show ();
    Other event types like resize or focus work well.
    The event types that seem to be broken are: mousedown, mouseup, mouseover, mouseout, click
    Is there a work-around to this problem?

    Only the video edition team is using CC.
    We tried 2 times, on May and July to install 1 PC with CC and the apps (Photoshop and Bridge included) crashed several times.
    CS6 still is more stable.
    For my surprise, 90% of the code we have developed still works on photoshop/Bridge and now we are installing our 'private' company cloud network so my team will be editing also the photos from US on real time.
    Recently I have had success in discovering simple tricks regarding Bridge that anyone needs or uses, but crucial to hard workflows like the one we have.
    In that sense, may be next season we will be able to upgrade to cloud CC
    We'll see…

  • Graphic - drawing nodes and edges, place elements and mouse event

    Hello, I am new to Java. I would like to do the following:
    show graphically a node and edge structure in star format, where each of the nodes, including the centre node, is a string.
    The number of edges is varialbe, so I guess I have to divide the 360' arc into equally spaced angles, define the distance at which to place the nodes at the extremity and then draw n-lines from the centre node (also a string of characters) to each of the peripherical nodes (also a string of characters).
    Additioanally, I would need a mouse click event, where by when I click on any of the nodes (including the periphery ones), an certain event is triggered, depending on which node I am clicking. Basically, something that recognise that the mouse is on top of a specific String when clicked (to make things more complex, I would need a left click or a righ click with pop-up menu of actions..but I guess, that's the easy part)
    thanks to all for the help

    My advice is to start learning Java:
    http://java.sun.com/docs/books/tutorial/
    ... and using existing tools instead of re-inventing the wheel:
    http://www.jgraph.com/jgraph.html

  • Mouse events don't work on a button from a panel ran in a DLL

    Hi.
    I have a DLL that loads a panel.
    Since it's a DLL I can't do the RunUserInterface() function, because the DLL would be stuck waiting for the panel events.
    I only do the LoadPanel().
    When I click with the mouse on one of the buttons, the pushing down event (simulating the button being pressed) doesn't happen and the callback doesn't run.
    But if I press the tab button until the focus reaches the button and press Enter, the callback of the button is executed.
    An even more interesting aspect is that this happens when I call the DLL on TestStand, but on an application of mine that calls the DLL just for debug everything works fine.
    How can I enable the mouse events?
    Thanks for your help.
    Daniel Coelho
    VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
    Controlar - Electronica Industrial e Sistemas, Lda
    Solved!
    Go to Solution.

    Hello Daniel,
    I got surprised when I read your post, because I am experiencing something almost the same as you do.
    I have a DLL (generated by an .fp instrument driver I wrote) which performs continious TCP communication with the UUT.
    It starts 2 threads, each for reading from one of the 2 different IPs the UUT has.
    Another DLL tests this UUT (with the help of the communication DLL above) by exporting functions to be called by TestStand steps.
    If the second DLL wants to display a CVI panel in order to wait for the user response or displays a popup (MessagePopup, ConfirmPopup, etc), user cannot press the buttons.
    Actually, there is a point your program and mine differ. I call RunUserInterface and the button's callbacks call QuitUserInterface, so the execution continues after a button is pressed. The problem is buttons cannot be pressed. I also tried looping on GetUserEvent  but it did not solve the problem.
    There are 2 findings:
    1. I had a small exe to test my instrument driver DLL and the popups in it worked pretty well (this coincides with Daniel's findings).
    2. We workedaround the problem by shutting down the communication threads in the instrument driver DLL before the popup appears and restrating them afterwards. Although they are separate threads in another DLL, they were somehow blocking user events on another DLL running.
    S. Eren BALCI
    www.aselsan.com.tr

  • NEED more than 15 menu item in Context Menu ????

    Hi,
    I really need to have more than 15 menu item displayed on Context Menu. I desperately need some workaround or ideas to achieve this
    My client has invested thousands of dollar in Flex Project, he definitely need more than 15 menu item.If this project failed , client will NEVER think to invest in flex.
    Had I been  aware of this limitation before I would have thought some solution by now.This comes as a surprise to me at the last moment ,just fews days before Prod Date.
    I cant also user java Scrip heck  as my Flex application is running inside Dot net Container , I do not access to the luxury of java script
    Pls gents help me get rid of this ...PLEASE provide some ideas.
    Thanks in advance.
    Thanks,
    Dharmendra

    Thanks Natasha,
    I got your point  but as for as I  know grouping like Quality is not possibel in Flax Context menu. I also cant go for window style menu(file,edit) because I need them to be displyed on DataGrid right clk . I am designing a trade datagrid where in trader can see all trades and he can approve/reject etc by just right clk and  selcting proper menu item form Context Menu.
    In case of window style (acrobat.com) menu trader will have to reach to  menu instead of  getting all options on mouse right clk
    I will have to think other alternative wich provides same ease as cotext menu.(God knows what is that )
    Once again thanks for suggestion.
    Regards,
    Dharmendra

  • Please, i bought a new track pad for my imac. it is working well when my imac is on. But, anytime i off my imac and wish to on it again, My track pad will be connected but it doesn't click i will need a mouse to log in my password first . Any help?

    Please, i bought a new track pad for my imac. it is working well when my imac is on. But, anytime i off my imac and wish to on it again, My track pad will be connected but it doesn't click i will need a mouse to log in my password first . Any help?
    To be specific. I have the imac late 2013 model, and i just bought the trackpad this October 2014. I have been using magic mouse without any problem. I just want to have a new experience with the trackpad.  Any time i on my imac, i will have a normal screen with my picture and a guest column at the center. I need to click either my picture or the guest in order to have the space where i can key in my password with the keyboard. But unfortunately, my trackpad will show that it is connected and the cursor will be moving in front of the screen if i touch the trackpad, but if i try to click, i will get no response. I have to put back batteries inside my magic mouse and then click on my picture if i want to log in with my id or i click on the guest image if i want to log in as a guest. it is only after this that my trackpad will start responding.
    i want to use only trackpad for now so as to be more efficient with it. I don't want to be putting back batteries inside the magic mouse only to on my imac. I need a solution please.
    Thanks.

    It sounds like you have assigned the primary click on the trackpad to something else, perhaps a gesture.
    Use your mouse, login and then open the Trackpad preference pane and see how you have the interface configured.
    Oh and you can have both the Magic Mouse and Magic Trackpad powered up and working at the same time. No need to keep moving batteries around.
    Tom

  • 2010 Macbook pro is running slow in Mavericks.  Do I need more than 4gb ram?

    My late 2010 13" 2.4Ghz Intel Core 2 Duo Macbook Pro is running slow since upgrading to Mavericks.  I currently only have 4gb of ram.  When I boot up It takes quite awhile (nearly 5 minutes or more) before the system is usable.  Or it takes almost as long to switch to another user.  Once I let it sit, it runs fine.  I'm mostly using Safari and possibly MS Word at any given time.  I looked at the Activity monitor and I believe I'm using aboiut 3.6 - 3.9gb of physical memory and over 4gb of virtual memory.  Swap is using 0 at all times.
    Do I need more RAM?  Wipe my drive and do a fresh install?  I'm reluctant to do the latter, because I don't want to have to reinstall all of my apps (even witha TM backup).
    Thanks all

    Thanks Linc for any help-
    Hope I didn't paste too much.  Uninstalling CleanMyMac has already helped some.  Here goes:
    2/3/14 12:14:36.075 AM secd[356]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.076 AM secd[356]:  securityd_xpc_dictionary_handler Keychain Access[395] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.083 AM secd[356]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.084 AM secd[356]:  securityd_xpc_dictionary_handler Keychain Access[395] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.085 AM secd[356]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.085 AM secd[356]:  securityd_xpc_dictionary_handler Keychain Access[395] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.152 AM secd[356]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.152 AM secd[356]:  securityd_xpc_dictionary_handler Keychain Access[395] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.153 AM secd[356]:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.153 AM secd[356]:  securityd_xpc_dictionary_handler Keychain Access[395] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
    2/3/14 12:14:36.346 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x2fd] flags: 0x8 binding: FileInfoBinding [0x48b] - extension: jpg, UTI: public.jpeg, fileType: ????.
    2/3/14 12:14:36.349 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x203] flags: 0x8 binding: FileInfoBinding [0x103] - extension: jpg, UTI: public.jpeg, fileType: ???? request size:48 scale: 1
    2/3/14 12:14:40.061 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x231] flags: 0x8 binding: FileInfoBinding [0x3e1] - extension: pdf, UTI: com.adobe.pdf, fileType: ????.
    2/3/14 12:14:40.062 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x403] flags: 0x8 binding: FileInfoBinding [0x303] - extension: pdf, UTI: com.adobe.pdf, fileType: ???? request size:48 scale: 1
    2/3/14 12:14:40.883 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x3fb] flags: 0x8 binding: FileInfoBinding [0x15f] - extension: docx, UTI: org.openxmlformats.wordprocessingml.document, fileType: WXBN.
    2/3/14 12:14:40.884 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x603] flags: 0x8 binding: FileInfoBinding [0x503] - extension: docx, UTI: org.openxmlformats.wordprocessingml.document, fileType: WXBN request size:48 scale: 1
    2/3/14 12:14:42.496 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x191] flags: 0x8 binding: FileInfoBinding [0x409] - extension: xls, UTI: com.microsoft.excel.xls, fileType: ????.
    2/3/14 12:14:42.555 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x803] flags: 0x8 binding: FileInfoBinding [0x703] - extension: xls, UTI: com.microsoft.excel.xls, fileType: ???? request size:48 scale: 1
    2/3/14 12:14:42.799 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x281] flags: 0x8 binding: FileInfoBinding [0x32f] - extension: doc, UTI: com.microsoft.word.doc, fileType: W8BN.
    2/3/14 12:14:42.926 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xa03] flags: 0x8 binding: FileInfoBinding [0x903] - extension: doc, UTI: com.microsoft.word.doc, fileType: W8BN request size:48 scale: 1
    2/3/14 12:14:46.228 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x51b] flags: 0x8 binding: FileInfoBinding [0x343] - extension: htm, UTI: public.html, fileType: TEXT.
    2/3/14 12:14:46.229 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xc03] flags: 0x8 binding: FileInfoBinding [0xb03] - extension: htm, UTI: public.html, fileType: TEXT request size:48 scale: 1
    2/3/14 12:14:46.756 AM com.apple.IconServicesAgent[407]: main Failed to composit image for binding VariantBinding [0x51f] flags: 0x8 binding: FileInfoBinding [0x299] - extension: xml, UTI: public.xml, fileType: TEXT.
    2/3/14 12:14:46.762 AM quicklookd[409]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0xe03] flags: 0x8 binding: FileInfoBinding [0xd03] - extension: xml, UTI: public.xml, fileType: TEXT request size:48 scale: 1
    2/3/14 12:14:59.191 AM WindowServer[141]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    2/3/14 12:14:59.321 AM WindowServer[141]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    2/3/14 12:15:00.358 AM WindowServer[141]: disable_update_timeout: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    2/3/14 12:15:01.036 AM WindowServer[141]: common_reenable_update: UI updates were finally reenabled by application "Finder" after 1.68 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/3/14 12:15:36.961 AM NetAuthSysAgent[447]: handleStreamError: stream error domain: posix error: 60
    2/3/14 12:15:50.059 AM SecurityAgent[470]: MacBuddy was run = 0
    2/3/14 12:15:50.123 AM WindowServer[141]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    2/3/14 12:15:52.153 AM parentalcontrolsd[475]: StartObservingFSEvents [849:] -- *** StartObservingFSEvents started event stream
    2/3/14 12:15:52.733 AM SecurityAgent[470]: User info context values set for JASON
    2/3/14 12:15:52.983 AM SecurityAgent[470]: Login Window login proceeding
    2/3/14 12:15:53.237 AM sandboxd[101]: ([474]) storeagent(474) deny file-read-data /Users/JANINE/Library/Preferences/com.apple.WebFoundation.plist
    2/3/14 12:15:53.244 AM WindowServer[141]: Session 256 is switching to console
    2/3/14 12:15:53.255 AM Dock[397]: CGSCopyDisplayUUID: Invalid display 0x003f003d
    2/3/14 12:15:53.256 AM Dock[397]: uuid_callback_master: failed to retrieve UUID for display 0x003f003d (1001) (invariant failure)
    2/3/14 12:15:53.272 AM WindowServer[141]: Session 256 retained (2 references)
    2/3/14 12:15:53.281 AM WindowServer[141]: Session 257 released (1 references)
    2/3/14 12:15:53.488 AM airportd[63]: _doAutoJoin: Already associated to “XXXXXXX”. Bailing on auto-join.
    2/3/14 12:15:53.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****
    2/3/14 12:15:55.308 AM WindowServer[141]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    2/3/14 12:15:55.338 AM WindowServer[141]: Display 0x04273140: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    2/3/14 12:16:08.120 AM spindump[462]: Saved diag report for powerstats version com.apple.SystemStats.Daily to /Library/Logs/DiagnosticReports/powerstats_2014-02-03-001607_Bielski-MacBook-Pr o.diag
    2/3/14 12:16:09.114 AM spindump[484]: Saved diag report for powerstats version com.apple.SystemStats.TopPowerEvent to /Library/Logs/DiagnosticReports/powerstats_2014-02-03-001609_Bielski-MacBook-Pr o.diag
    2/3/14 12:16:10.401 AM spindump[486]: Saved diag report for powerstats version com.apple.SystemStats.TopPowerEvent to /Library/Logs/DiagnosticReports/powerstats_2014-02-03-001610_Bielski-MacBook-Pr o.diag
    2/3/14 12:16:32.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****
    2/3/14 12:17:52.335 AM warmd[19]: [__warmctl_evt_desktop_up_block_invoke:499] Desktop up bcstop timer fired!
    2/3/14 12:20:52.788 AM SecurityAgent[491]: MacBuddy was run = 0
    2/3/14 12:20:52.926 AM WindowServer[141]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    2/3/14 12:20:55.909 AM SecurityAgent[491]: User info context values set for XXXXXX
    2/3/14 12:20:56.362 AM SecurityAgent[491]: Login Window login proceeding
    2/3/14 12:20:56.735 AM WindowServer[141]: Session 257 is switching to console
    2/3/14 12:20:56.765 AM WindowServer[141]: Session 257 retained (2 references)
    2/3/14 12:20:56.766 AM WindowServer[141]: Session 256 released (1 references)
    2/3/14 12:20:57.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****
    2/3/14 12:20:57.290 AM airportd[63]: _doAutoJoin: Already associated to “XXXXXXX”. Bailing on auto-join.
    2/3/14 12:20:57.974 AM parentalcontrolsd[499]: StartObservingFSEvents [849:] -- *** StartObservingFSEvents started event stream
    2/3/14 12:20:58.773 AM WindowServer[141]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    2/3/14 12:20:58.900 AM WindowServer[141]: Display 0x04273140: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    2/3/14 12:21:14.958 AM com.apple.preference.security.remoteservice[511]: assertion failed: 13B42: liblaunch.dylib + 25164 [FCBF0A02-0B06-3F97-9248-5062A9DEB32C]: 0x25
    2/3/14 12:21:14.978 AM com.apple.preference.security.remoteservice[511]: assertion failed: 13B42: liblaunch.dylib + 25164 [FCBF0A02-0B06-3F97-9248-5062A9DEB32C]: 0x25
    2/3/14 12:21:15.247 AM WindowServer[141]: disable_update_timeout: UI updates were forcibly disabled by application "System Preferences" for over 1.00 seconds. Server has re-enabled them.
    2/3/14 12:21:16.084 AM Dock[397]: find_shared_window: Invalid depth WindowID 0xbb
    2/3/14 12:21:16.520 AM com.apple.preference.security.remoteservice[511]: Bogus event received by listener connection:
    <error: 0x7fff7eaebb50> { count = 1, contents =
              "XPCErrorDescription" => <string: 0x7fff7eaebe60> { length = 18, contents = "Connection invalid" }
    2/3/14 12:21:17.004 AM WindowServer[141]: common_reenable_update: UI updates were finally reenabled by application "System Preferences" after 2.76 seconds (server forcibly re-enabled them after 1.00 seconds)
    2/3/14 12:21:25.403 AM System Preferences[502]: view service marshal for <NSRemoteView: 0x7ff1c9440660> failed to forget accessibility connection due to Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection was invalidated from this process.) UserInfo=0x60800066bd80 {NSDebugDescription=The connection was invalidated from this process.}
    timestamp: 00:21:25.402 Monday 03 February 2014
    process/thread/queue: System Preferences (502) / 0x10b346000 / com.apple.NSXPCConnection.user.endpoint
    code: line 2940 of /SourceCache/ViewBridge/ViewBridge-46/NSRemoteView.m in __57-[NSRemoteView viewServiceMarshalProxy:withErrorHandler:]_block_invoke
    domain: communications-failure
    2/3/14 12:21:27.128 AM com.apple.preferences.users.remoteservice[515]: assertion failed: 13B42: liblaunch.dylib + 25164 [FCBF0A02-0B06-3F97-9248-5062A9DEB32C]: 0x25
    2/3/14 12:21:27.147 AM com.apple.preferences.users.remoteservice[515]: assertion failed: 13B42: liblaunch.dylib + 25164 [FCBF0A02-0B06-3F97-9248-5062A9DEB32C]: 0x25
    2/3/14 12:21:27.914 AM com.apple.preferences.users.remoteservice[515]: Bogus event received by listener connection:
    <error: 0x7fff7eaebb50> { count = 1, contents =
              "XPCErrorDescription" => <string: 0x7fff7eaebe60> { length = 18, contents = "Connection invalid" }
    2/3/14 12:21:35.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****
    2/3/14 12:22:03.403 AM launchservicesd[53]: Application App:"System Preferences" asn:0x0-41041 pid:502 refs=7 @ 0x7fd3e3c62950 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x44044 pid=522 "SecurityAgent"")), so denying. : LASSession.cp #1481 SetFrontApplication() q=LSSession 100019/0x186b3 queue
    2/3/14 12:22:03.403 AM WindowServer[141]: [cps/setfront] Failed setting the front application to System Preferences, psn 0x0-0x41041, securitySessionID=0x186b3, err=-13066
    2/3/14 12:23:24.677 AM SecurityAgent[527]: MacBuddy was run = 0
    2/3/14 12:23:24.793 AM WindowServer[141]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    2/3/14 12:23:28.985 AM SecurityAgent[527]: User info context values set for JASON
    2/3/14 12:23:29.193 AM SecurityAgent[527]: Login Window login proceeding
    2/3/14 12:23:29.446 AM WindowServer[141]: Session 256 is switching to console
    2/3/14 12:23:29.471 AM WindowServer[141]: Session 256 retained (2 references)
    2/3/14 12:23:29.471 AM WindowServer[141]: Session 257 released (1 references)
    2/3/14 12:23:29.677 AM airportd[63]: _doAutoJoin: Already associated to “XXXXXXX”. Bailing on auto-join.
    2/3/14 12:23:29.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Resume -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****
    2/3/14 12:23:30.726 AM parentalcontrolsd[537]: StartObservingFSEvents [849:] -- *** StartObservingFSEvents started event stream
    2/3/14 12:23:31.491 AM WindowServer[141]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    2/3/14 12:23:31.542 AM WindowServer[141]: Display 0x04273140: Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 12)
    2/3/14 12:24:08.000 AM kernel[0]: **** [IOBluetoothHostControllerUSBTransport][SuspendDevice] -- Suspend -- suspendDeviceCallResult = 0x0000 (kIOReturnSuccess) -- 0x5400 ****

  • I need help with event structure. I am trying to feed the index of the array, the index can vary from 0 to 7. Based on the logic ouput of a comparison, the index buffer should increment ?

    I need help with event structure.
    I am trying to feed the index of the array, the index number can vary from 0 to 7.
    Based on the logic ouput of a comparison, the index buffer should increment
    or decrement every time the output of comparsion changes(event change). I guess I need to use event structure?
    (My event code doesn't execute when there is an  event at its input /comparator changes its boolean state.
    Anyone coded on similar lines? Any ideas appreciated.
    Thanks in advance!

    You don't need an Event Structure, a simple State Machine would be more appropriate.
    There are many examples of State Machines within this forum.
    RayR

  • Need more detail description on BIOS voltage

    I am using DKA790GX Platinum with AMD X4 940, and I did some Overclocking and now I need more detail on those BIOS Voltage setting:
    CPU VDD Voltage?
    CPU-NB VDD?
    CPU Voltage?
    CPU-NB Voltage?
    DRAM Voltage?
    NB Voltage?
    HT Link Voltage?
    MCT Voltage?
    Also,
    What is the difference between CPU Ratio and CPU-NB Ratio?
    LaraCroft
    DKA790GX PlatinumMS-7550/AMD X4 940 Black Edition/AMI A7550AMS v1.6/3.3Ghz(200x16.5)/CPU Voltage 1.4V/2xCorsairCM2X2048-8500C5D 2048MB 1066MHZ(5-5-5-15)/ZALMAN ZM850-HP/NVIDIA GeForce GTX 280/ST31000528AS(1000 GB)/XP Professional 5.01.2600 Service Pack 3

    I'm not familiar with what MCP or MCT voltage is, but I think it's an nvidea thing.
    here's a few tips that I've found on oc'ing the 790gx platinum:
    Disable Cool & Quiet & C1E.
    Disable Spread Spectrum.
    Enable HPET.  (High Precision Event Timer)
    Don't enable the OC option for the onboard graphics. (Should'nt be a problem for your system, since your have an Nvidea GFX card)
    I seem to get better results with ACC Disabled, but others have reported some benefit from it set to auto or in the + range.
    You may find that bumping up the CPU-NB voltage a little bit may help, but it's dependant on cpu voltage too.
    Keep your NB and HT speeds close to stock by reducing their multipliers as needed, OC'ing them won't give you any better performance and it can cause a lot of uneeded problems.
    As you start to OC your system, only increase voltages as you neeed to, otherwise leave them on auto or at their recommended settings.
    Be sure you start with a completely stable system, Memtest & Prime 95 are your friends (see stickies)! and check your system stability as you go.
    Watch your system temperatures, and know the recommended temperature limits for your components. (processor, northbridge, gfx card, etc.
    Good luck and have fun!

  • Firefox mouse event not behaving the same on PC and Mac computers

    I use the FCKEditor and having a very strange problem. When I click on the FCKEditor's editing area, the keyboard gets disabled untill I click the mouse somewhere outside of the editing window. The problem only happen on Firefox (3.6.10) on Mac computer (Snowleopard 10.6.4). Doing exactly the same steps on PC works without any problem.
    What I want to know:
    - Is it possible that the Firefox on Mac is different than the PC in handling mouse events? Or some other areas?

    Sounds more that Firefox is treating that editor area as read-only.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for

  • After making a call yesterday, my iphone went dead and cannot switch on again. Please help.

    After making a call yesterday, my iphone went dead and cannot switch on again. Please some one should help.

  • Oracle Apps training in London

    Hi, are you looking for Oracle Financials, Oracle HRMS, Oracle CRM and Oracle Supply Chain training in London? then contact me at [email protected]

  • Measure HYTD - negative figures

    Hi everyone, We implemented the measure HYTD by adding the members in the TIME dimension with the properties as the others members. The level is HALFYEAR. After processing, we can see in BPC excel the measure HYTD, it seems ok. Now if we use it on al

  • How to unlock iphone 5 locked to three uk

    I bought a second hand iphone 5, locked to three Uk. I cant contact the original owner of the iphone to request Three to Unlock it. is there anything i can do? What if i buy a sim only 1 Month sim and Register this iphone on to that sim that Way will

  • Purchase View for Semi finished Material

    Could we activate purchaes view for Semi finished material type..? we have to do a branch transfer/STO of Semi Finished material and Purchase view is required for STO