Author Topic: closing SE before closing Help  (Read 5033 times)

mikef

  • Community Member
  • Posts: 13
  • Hero Points: 2
closing SE before closing Help
« on: July 06, 2016, 12:51:52 PM »
I am using SlickEdit Pro 2015 (v20.0.3.0 64-bit) on Centos7.
If I open SE's help and then close SE without closing Help first - Help window stays always on top, it can't be closed, mouse can't move focus to other windows and can't close any window. In short - the desktop becomes unusable. Killing help program (assistant and assistant_exe) doesn't help - Help's window becomes solid (without any content) and the system's behavior doesn't change.
If I close help before exiting SE - everything is fine. However, sometimes I forget to close help before exit, or I want to leave it running on purpose in order to view command line options - and it causes the above mentioned issues.
Any solution to this issue?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #1 on: July 07, 2016, 02:04:45 PM »
Wow! I can't believe you're the first to find this bug. It seems to only happen on Unix (not Mac or Windows).

We will look into this

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #2 on: July 07, 2016, 08:25:37 PM »
Here's a fix for you:

Follow these steps:


mikef

  • Community Member
  • Posts: 13
  • Hero Points: 2
Re: closing SE before closing Help
« Reply #3 on: July 11, 2016, 04:53:08 AM »
I tried to use this file unsuccessfully. SE doesn't start, it pops up error message"slickedit-pro2015/vslick.stu is not recognized as compatible state file or pcode file".

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #4 on: July 11, 2016, 12:58:58 PM »
I've uploaded another executable. Give it a try.

I was hoping to change the version of the binary so you/we know what version you're running. Unfortunately, that's not possible without a completely new installation. This replacement executable will have the same version number (20.0.3.0). The download location is still the same.

mikef

  • Community Member
  • Posts: 13
  • Hero Points: 2
Re: closing SE before closing Help
« Reply #5 on: July 11, 2016, 01:19:25 PM »
Thanks for a quick fix! Much better! There is no stuck help windows in case SE is closed before help. However, help window is closed together with SE. Is it possible to leave help window for reference after SE is closed (no parent-child relationship between SE and Help)?


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #6 on: July 11, 2016, 01:27:02 PM »
Not sure if that would be a good or bad default. I think it's doable.

Not sure how useful this will be to you but you can start the help with the following command:

bin/assistant -collectionFile help/slickedit.qhc

This will run as a separate process that SlickEdit knows nothing about.

Clark

pmsteinm

  • Senior Community Member
  • Posts: 114
  • Hero Points: 3
Re: closing SE before closing Help
« Reply #7 on: August 08, 2016, 07:49:52 PM »
I just encountered this issue too. I tried the new EXE but it didn't fix the problem but I'm on a different Linux flavor:
  Build Date: July 28, 2016
 
  OS: Linux
  OS Version: SUSE Linux Enterprise Desktop 11 (x86_64)
  Kernel Level: 3.0.101-0.47.55-default
  Build Version: #1 SMP Thu May 28 08:25:11 UTC 2015 (dc083ee)
  Processor Architecture: x86_64

And I don't know if its related but there is still the issue that if I minimize the VS window all the floating tool windows minimize too (This wasn't the case on 19.x). The real problem is that when I restore the minimized window none of the floating tool windows can be resized. I mentioned this on another thread months ago but didn't get a response.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #8 on: August 08, 2016, 10:30:14 PM »
Does your OS lock up if you exit SlickEdit before closing the help window? I'm curious if you have the same problem.

pmsteinm

  • Senior Community Member
  • Posts: 114
  • Hero Points: 3
Re: closing SE before closing Help
« Reply #9 on: August 09, 2016, 02:21:45 PM »
My window manager (FVWM) hangs but not the OS or X11. I still have a mouse I can move around, and I can even select the file->close dialog on Slickedit help. But after that the help window stays open, doesn't redraw where the menu was, and no windows have focus. Moving the mouse around doesn't change focus (I have a focus follows mouse policy) and I can't click on anything. The keyboard seems to have no effect.

If I ssh into my host and terminate FVWM and restart it the help window goes away (but all other programs remain) and things are back to normal.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #10 on: August 09, 2016, 03:08:07 PM »
Sounds like the same problem.

How bytes is your "bin/vs_exe" binary?

pmsteinm

  • Senior Community Member
  • Posts: 114
  • Hero Points: 3
Re: closing SE before closing Help
« Reply #11 on: August 09, 2016, 03:57:52 PM »
From ls:
  39600023 Aug  8 15:35 vs_exe
  39598224 May 25 18:14 vs_exe_orig

vs_exe is the one I downloaded from this thread. vs_exe_orig is the orignal 20.0.3 binary.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #12 on: August 09, 2016, 04:43:39 PM »
Thanks. I'm surprised that didn't fix it for you. We will see if we can reproduce the problem on suse

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: closing SE before closing Help
« Reply #13 on: August 09, 2016, 08:17:43 PM »
I just tried on Suse 13 x64 and the fix works for me. It looks like you correctly replaced the executable. That's all you need to do.

Here are the steps I did to test this:

Start SlickEdit
Open help (Help>Contents)
Click back on the editor some where. Tried (Alt+F4 and Clicking X to close SlickEdit)
SlickEdit and help windows close with no problems