Author Topic: Tool windows - bad restore.  (Read 3027 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1972
  • Hero Points: 185
  • Text
Tool windows - bad restore.
« on: September 22, 2014, 04:47:57 pm »
As before, run slick.
Get two floating editor windows.
On main window, do not have "Open" tool window.


DUplicate->Open.
Now there are 3 floaters -- two editors plus an "Open".
Close the floating "Open".
In the main window run smart-gui-open
Sometimes, the keyboard focus appears to move to an invisible Open tool window, and sometimes a docked "Open" appears on the main window.


Close Slick.
Open Sick.


Slick now has *every* tool window docked on the left - including 2 instances of each of the tool windows that had originally been opened.


Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 752
  • Hero Points: 48
Re: Tool windows - bad restore.
« Reply #1 on: September 23, 2014, 02:23:40 am »
I cannot reproduce this. The problem where all your tool-windows get stuffed in the mainwindow means autorestore failed and it had to do something with all the extra windows. But why did autorestore fail?

I would really appreciate your help, so please:

I need your Help>Program Information.

Run with a clean config.
Set up everything just short of failure and exit the editor.
Save off your config-dir/19.0.0/vrestore.slk
Run the editor and reproduce the problem.
Give me the exact steps.
PM me the offending vrestore.slk

If you cannot reproduce with a clean config, then give me a 'vrestore.slk' from your config-dir that does reproduce it. Hopefully I can reconstruct something on my end.

++rodney

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 752
  • Hero Points: 48
Re: Tool windows - bad restore.
« Reply #2 on: September 23, 2014, 01:11:14 pm »
Messages and files received. Thanks.

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 752
  • Hero Points: 48
Re: Tool windows - bad restore.
« Reply #3 on: September 23, 2014, 04:02:03 pm »
Your vrestore.slk is restoring an entire floating mdiwindow that is not visible, with an empty but visible mdiarea (editor window area), and 5 tool-windows (Symbols, Projects, Class, Defs, Open). Obviously this should never happen and I am still trying to reproduce the scenario with the steps you provided.

Edit: Seems to be related to your post: http://community.slickedit.com/index.php/topic,10496.0.html

Do a 'set-var def-mdi-close-if-no-child-windows' from the SE commandline and tell me the value (should be 1 by default).

Paste your Program Information from Help>About SlickEdit.

Thanks.
« Last Edit: September 23, 2014, 04:17:12 pm by Rodney »

jporkkahtc

  • Senior Community Member
  • Posts: 1972
  • Hero Points: 185
  • Text
Re: Tool windows - bad restore.
« Reply #4 on: September 23, 2014, 04:25:04 pm »

def-mdi-close-if-no-child-windows is 1.

The vrestore.slk file I sent you was from a 2nd computer.
Most of the other floating problems I reported were done on my primary computer.
Both are running the same version of Slick with mostly the same configuration.



SlickEdit 2014 (v19.0.0.8 64-bit)


Serial number: FE33710_BETA
License type: Beta License
License expiration: 2014-10-04 17:03:00
License file: C:\ProgramData\slickedit\19\slickedit.lic


Build Date: September 16, 2014
Emulation: Visual C++ 6


OS: Windows 8 x64
OS Version: 6.02.9200 
Memory: 78% Load, 6220MB/7924MB Physical, 7302MB/8948MB Page File, 287MB/134217727MB Virtual
Shell Info: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1200, 1920 x 1080


Project Type: No project open
Language: .e (Slick-C)


Installation Directory: C:\Program Files\SlickEditV19.0.0 x64 Beta5\ (non-removable drive,NTFS,41077MB free)
Configuration Directory: C:\Users\joe\Documents\Slickedit\19.0.0\ (non-removable drive,NTFS,41077MB free)

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 752
  • Hero Points: 48
Re: Tool windows - bad restore.
« Reply #5 on: September 23, 2014, 06:18:13 pm »
Okay I finally reproduced it, though using a slightly different set of steps. Now I can work on a fix.

++rodney

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 752
  • Hero Points: 48
Re: Tool windows - bad restore.
« Reply #6 on: September 23, 2014, 08:21:51 pm »
Fixed for the next build. When you did the Apply Layout to All, we applied tool-windows to a hidden/empty floating mdiwindow that had been "marked" for disposal. That is why, when you ran smart-open, focus got lost - because it was going to a tool-window inside a hidden floating mdiwindow.

Good one. Thanks!

++rodney