Author Topic: SlickEdit stops responding when file dialog is shown  (Read 7840 times)

wraith808

  • Community Member
  • Posts: 6
  • Hero Points: 0
SlickEdit stops responding when file dialog is shown
« on: December 03, 2008, 07:48:04 pm »
I've been having this problem for a while, and it continues to get worse.  I have SlickEdit 2007 and every time I add a file (or do anything that calls up the file dialog box) the entire application freezes.  I have to end the task.  I thought it was something with the source control (I use source safe), but even when I don't log into VSS it still happens.  Any ideas?

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: SlickEdit stops responding when file dialog is shown
« Reply #1 on: December 05, 2008, 08:38:08 pm »
Unfortunately, this is hard to debug without a lot more information. Do you have maintenance and support? That would be the best way to resolve this.

Graeme

  • Senior Community Member
  • Posts: 1978
  • Hero Points: 226
Re: SlickEdit stops responding when file dialog is shown
« Reply #2 on: December 05, 2008, 09:07:54 pm »
What is the "file dialog box"?

An easy thing to try is a new configuration folder.  Invoke slick with the -sc switch
vs.exe +new -sc c:\temp\virgin-config

and see if the problem is gone?

A similar thing to try is - close slick, backup your config folder, delete vslick.sta, run slick, see if the problem is gone.

Graeme

wraith808

  • Community Member
  • Posts: 6
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #3 on: December 08, 2008, 05:08:43 pm »
By file dialog box, I meant any time a dialog comes up to allow you to select a file- whether it is add a file, new file, etc.

Thanks for your suggestion- the new config worked.

allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #4 on: March 22, 2009, 02:26:44 pm »
I have started having a similar problem with any file open dialog box (or similar). Unfortunately the solution given above doesn't work for me.

Doing file open or open workspace will result in an unresponsive SE. I was using 2008. I uninstalled it, eliminated all directories related to SE (such as My SlickEdit) and went through the registry trying to eliminate remnants.

I then did a 'clean' install of SE2009. Same problem.

Using WinXP, latest updates. NO other program has any problem with dialog boxes.

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: SlickEdit stops responding when file dialog is shown
« Reply #5 on: March 22, 2009, 07:28:55 pm »
@allank: please try the -sc approach posted by Graeme. It's the only way to be sure you are using a default config.

This most likely relates to slow network resources on your machine. That's whay these are hard to debug without a lot more information, like:
What platform are you on? Please post the Help > About information.
Where's your config? Answered by above.
Where are you source files stored?
Where are your project files: .vpw and .vpj?

allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #6 on: March 23, 2009, 03:27:58 am »
I tried both of Graeme's suggestions and the problem doesn't go away.

Here is the About info:

SlickEdit Version 14.0.0.5

Serial number: WB335823
Licensed number of users: Single user
License file: C:\Documents and Settings\All Users\Application Data\slickedit\14\slickedit.lic

Build Date: March 19, 2009
Emulation: Brief

OS: Windows XP
Version: 5.01.2600  Service Pack 3
Memory: 36% Load, 0MB/2097MB Physical, 206MB/2097MB Virtual

Installation Directory: C:\Program Files\SlickEdit 2009\ (non-removable drive,NTFS,63133MB free)
Configuration Directory: C:\Documents and Settings\Allan Kaminsky\My Documents\My SlickEdit Config\14.0.0\ (non-removable drive,NTFS,63133MB free)

Source and project files are in a directory under C: that I can't get to because of the problem.

Graeme

  • Senior Community Member
  • Posts: 1978
  • Hero Points: 226
Re: SlickEdit stops responding when file dialog is shown
« Reply #7 on: March 23, 2009, 10:45:13 am »
When you say "the problem doesn't go away", what exactly do you mean?  Did you try to open a file or did you try to open your project?  If you tried to open a file, can you describe exactly at what point slickedit hangs - what do you see on the screen.

What happens if you use the "edit" command on the slick command line - edit somefile.cpp.  See if slick hangs when you do that.
You could also try opening a workspace from the command line  -  try - workspace_open c:/somedir/someworkspace.vpw.

When slickedit hangs, you could try pressing Ctrl-Alt-Shift-F2 and see if slick reacts - it should bring up a stack trace dialog that tells you where it was executing.  You could also try the slick debugger to see where slick is getting hung if you wanted.

Another thing you could try is process explorer from sysinternals
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx  - and see what CPU time slick is using when it hangs.

Also, if you haven't already done so, try creating a new project in a directory well away from the one that's giving problems.  Have you tried opening files from directories other than your project directory?

Has slickedit being working ok up till now or has it never worked properly?  If the problem just suddenly came along, did you change anything on your system?

Graeme


allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #8 on: March 23, 2009, 12:02:09 pm »
When I try to open a file or a workspace using the dialog box, I can navigate upward without problem. If I try to scroll at the current level, I get an endless hourglass. If I'm already at the proper level and try to open a file (or workspace), I again get the endless hourglass. I can end SE with task manager (if I'm patient).

Using SE 2009's Smart Open works WITHOUT problems. Opening a project from the SE command line works WITHOUT problem.

Pressing Ctrl-Alt-Shift-F2 during the hang doesn't work. I'm not sure how to use Process Explorer. Total CPU time being used is ~5% and the computer is responsive for other tasks.

It would seem to be the Windows dialog box malfunctioning, but no other program has this problem Also, Windows Explorer can browse the entire computer and LAN.

I hadn't used SE in some months, but it had been working properly then. After trying the solutions above, I did as close to a 'clean' install as I could, to no benefit. I have now done a clean install of SE 2009 and the problem persists.

I had been using Visual Studio with SE tools without problem.

Allan

allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #9 on: March 23, 2009, 12:07:01 pm »
I mean to also say that navigating down also hangs (double-clicking on a subdirectory). The only functioning dialog box maneuver is navigating up.

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: SlickEdit stops responding when file dialog is shown
« Reply #10 on: March 23, 2009, 02:54:25 pm »
Not that it should make a difference, but can you try switching to CUA emulation and see if you have the same problem?

allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #11 on: March 23, 2009, 03:26:11 pm »
Switching to CUA makes no difference. I'd think there's a clue in the fact that Smart Open works fine as do project open commands from the SE command line.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3941
  • Hero Points: 256
Re: SlickEdit stops responding when file dialog is shown
« Reply #12 on: March 23, 2009, 04:05:36 pm »
This is definitely something specific with the Windows File Open dialog. I'll bet you can't reproduce this on another machine even if you copied your installation.  If you can, then we might be able to reproduce your Windows configuration here. I believe we need to replicate your Windows configuration in order to reproduce this problem.

Graeme

  • Senior Community Member
  • Posts: 1978
  • Hero Points: 226
Re: SlickEdit stops responding when file dialog is shown
« Reply #13 on: March 24, 2009, 08:38:46 am »
Quote
It would seem to be the Windows dialog box malfunctioning, but no other program has this problem

It might be something to do with the fact that SlickEdit presents a "customized" file open dialog.  Do the applications where the file open dialog works use a customized or non-customized dialog.  You can see the non customized dialog by doing file open in Notepad.

Does it make any difference if you initiate the file open using Ctrl-O, the toolbar or the File menu?

SlickEdit used to have a Windows 3.1 style file open dialog option but this seems to be gone from Slick 2009.

Googling for "file open dialog" hangs  -  finds a couple of suggestions - doesn't sound like your problem though.
1.  Windows is hunting for icons
2. Your path has a non-existent network path in it.

To see the path setting you can open the build toolbar and type path.  SlickEdit adds the slick installation "win" folder to the path.

For the icon thing, the suggested solution is this

Quote
Goto this key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Shell
Icons

Just delete Shell Icons or rename it and the problems will go away. It
will force the shell to just goto shell32.dll for icons.

Another thing I saw mentioned was that stardock "windowblinds" can cause problems.  Have you installed any skinning/theme stuff recently?

Graeme

allank

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: SlickEdit stops responding when file dialog is shown
« Reply #14 on: March 25, 2009, 08:46:04 am »
Notepad works. I'm not sure what programs use a customized file open dialog. If you can suggest one, I'll be happy to install it.

It makes no difference how the file open dialog is opened.

I checked the path: all the items are valid.

I haven't installed any skinning/theme stuff.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\

doesn't have the key Shell Icons under it.

Allan