#12 Programs losing focus upon keystroke

closed-out-of-date
nobody
None
5
2011-10-30
2010-02-04
Anonymous
No

Using RBTray 3.4. While I do some work on Illustrator or InDesign, pressing a key (e.g. switching to a tool, using quick hand tool, type a filename in save as, etc.) will cause the window to lose focus and then unable to make another keystroke until I make the window active again. Killing the RBTray process stops the problem.

Discussion

  • Nobody/Anonymous

    Windows XP SP3

     
  • A. Fritz

    A. Fritz - 2010-04-23

    The same behavior (loss of focus) occurs in Acronis True Backup.

    I reviewed the code that processes keypresses in rbhook.c:
    There is an error on the last line of the callback function "KeyboardProc":

    Line 75: return CallNextHookEx(hMouse, nCode, wParam, lParam);
    should rather be
    Line 75: return CallNextHookEx(hKey, nCode, wParam, lParam);

    The command must be the same as the one on line 46.

    However, I didn't modify the source and build the program yet. Maybe someone else can try.

     
  • James Purcell

    James Purcell - 2011-10-30
    • status: open --> closed-out-of-date
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks