Author Topic: Pointer lockup during MDI manipulation  (Read 2735 times)

twaithrb

  • Community Member
  • Posts: 28
  • Hero Points: 0
Pointer lockup during MDI manipulation
« on: June 06, 2013, 02:08:37 pm »
*** Warning.  May not be readily reproducible ***

While moving a floating tab to a new location, the system appeared to lockup.  However, I noticed a clock was still active.  A CTL-ALT-DEL to bring up the normal Windows 7 option "what now" screen, followed by cancel, returned the system to normal.  My best guess is that SlickEdit had gone into a "system modal" mode with it interface, but was not handling messages.

Approximate setup scenario:  I had dragged a tab outside the SlickEdit window, which was full screen on a second monitor.  The tab had been dragged to a third, USB, monitor where a new "instance" of SlickEdit window appeared.  I dragged the window back to the second monitor, and then dragged its lone tab to the tab placement widget where I split the upper tab in the rightmost of two vertical tab groups.  The tab was correctly placed, but the mouse became totally unresponsive.  I could not give focus to another application and SlickEdit was not processing (visibly) any clicks.  However, as noted earlier, a clock continued to update the time on the screen.

I tried a few times to reproduce the problem, but no luck.

SlickEdit 2013 (v18.0.0.10 64-bit)

Serial number: FE11935_BETA
License type: Beta License
License expiration: 2013-08-21 06:02:00
License file: C:\ProgramData\slickedit\18\slickedit.lic

Build Date: May 30, 2013
Emulation: GNU Emacs

OS: Windows 7 x64
OS Version: 6.01.7601  Service Pack 1
Memory: 70% Load, 2711MB/3819MB Physical, 4494MB/7638MB Page File, 253MB/8388607MB Virtual
Shell Info: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1680 x 1050, 1366 x 768, 1280 x 1024

Project Type: No project open
Language: .config (XML)

Installation Directory: C:\Program Files\SlickEditV18.0.0 x64 Beta6\ (non-removable drive,NTFS,107182MB free)
Configuration Directory: C:\Users\twait\Documents\My SlickEdit Config\18.0.0\ (non-removable drive,NTFS,107182MB free)
Spill File: C:\Users\twait\AppData\Local\Temp\$slk.0 (non-removable drive,NTFS,107182MB free)


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5171
  • Hero Points: 427
Re: Pointer lockup during MDI manipulation
« Reply #1 on: June 06, 2013, 02:27:03 pm »
You may have this problem:

http://community.slickedit.com/index.php/topic,9207.msg39326.html#msg39326

If you have the Logitech setpoint driver, that's the problem. We have a work around for the next beta.

twaithrb

  • Community Member
  • Posts: 28
  • Hero Points: 0
Re: Pointer lockup during MDI manipulation
« Reply #2 on: June 06, 2013, 11:06:25 pm »
I don't have that hardware (but it still may be a driver).  I have a ThinkPad T430 with an integrated trackstick in the center of the keyboard.  The drivers are by Synaptics and are version 16.2.5, dated 5 July 2012, though I believe they are part of the original software for the system.  Let me know if you need more info.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5171
  • Hero Points: 427
Re: Pointer lockup during MDI manipulation
« Reply #3 on: June 07, 2013, 03:02:22 am »
Thanks for the info. It really sounds like the same problem. It looks to me like the bug is actually a windows API bug with a particular setWindowsHookEx call. Qt's code is absurdly simple and when there are two hooks (qt and a mouse driver), the application stops getting mouse events. The work around was some straight win32 code for the event loop.

twaithrb

  • Community Member
  • Posts: 28
  • Hero Points: 0
Re: Pointer lockup during MDI manipulation
« Reply #4 on: June 07, 2013, 01:57:00 pm »
Sounds like you've nailed it!  By the way, I really like the new MDI now that the "tab drag" feature is available.  The "placement widget" is very cool, and I'm still learning all I can do with it.  Thanks!

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5171
  • Hero Points: 427
Re: Pointer lockup during MDI manipulation
« Reply #5 on: June 07, 2013, 01:59:18 pm »
Thanks! Glad you like it.