Author Topic: SE opens recent files at odd location  (Read 1035 times)

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
SE opens recent files at odd location
« on: March 14, 2019, 12:17:01 am »
If I start SE, it will reopen my windows of the previously opened workspace, but it appears to stubbornly force the view such that the "remembered" cursor is 6 characters from the right.

I've been working around this by using the vim emulation '^' to shift the window back to normal.   I've seen this when I other workspaces while SE is running (and switching back can spuriously exhibit this issue).  The cursor position is in the correct last remembered location, but the window view always forces the cursor to position 6 so it's all shifted weird.    I've even resorted to exporting my options, blowing away my 23.0.1 config directory and reimporting my options (attached), but it crops up after a few sessions.

Code: [Select]
SlickEdit Pro 2018 (v23.0.1.0 64-bit)

Serial number: FE10296
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\23\slickedit.lic

Build Date: February 14, 2019
Emulation: Vim

OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 49% Load, 8047MB/16265MB Physical, 9984MB/18697MB Page File, 4658MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1040, 1920 x 1080, 1200 x 1920

Project Type: (Other)
Language: .c (C/C++)
Encoding: Automatic

Installation Directory: C:\Program Files\SlickEdit Pro 23.0.1\ (non-removable drive,NTFS,44782MB free)
Configuration Directory: C:\Users\bkurle\Work Folders\Documents\My SlickEdit Config\23.0.1\ (non-removable drive,NTFS,44782MB free)


« Last Edit: March 14, 2019, 12:20:32 am by b »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #1 on: March 15, 2019, 12:43:34 pm »
No luck reproducing this so far. No idea what the trick is.

rajkej

  • Senior Community Member
  • Posts: 281
  • Hero Points: 12
Re: SE opens recent files at odd location
« Reply #2 on: March 15, 2019, 06:55:22 pm »
I'm running on MAC and am able to reproduce this by splitting my window (Window menu, split vertically) when my cursor is far right on the line. For instance, I have most of my files setup for 80 column width. If I put my cursor past the end of the line on column 80 when in one window view mode then do the vertical split, the new window opens similar to how the original poster indicated. My cursor is still on column 80 but that column is no longer on the far right of the window, instead the left most column displayed is column 45.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #3 on: March 15, 2019, 07:47:46 pm »
I'm running on MAC and am able to reproduce this by splitting my window (Window menu, split vertically) when my cursor is far right on the line. For instance, I have most of my files setup for 80 column width. If I put my cursor past the end of the line on column 80 when in one window view mode then do the vertical split, the new window opens similar to how the original poster indicated. My cursor is still on column 80 but that column is no longer on the far right of the window, instead the left most column displayed is column 45.

I can reproduce this on Windows and macOS. We will look into this. No way to know if this issue is related to the auto-restore workspace files issue.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #4 on: March 15, 2019, 10:00:44 pm »
These issues are probably related. This is not hot fixable. This fix will be added to 23.0.2 (no date set yet -- guess ~2 months).

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
Re: SE opens recent files at odd location
« Reply #5 on: March 15, 2019, 10:59:42 pm »
I'm running on MAC and am able to reproduce this by splitting my window (Window menu, split vertically) when my cursor is far right on the line. For instance, I have most of my files setup for 80 column width. If I put my cursor past the end of the line on column 80 when in one window view mode then do the vertical split, the new window opens similar to how the original poster indicated. My cursor is still on column 80 but that column is no longer on the far right of the window, instead the left most column displayed is column 45.

I hadn't even thought of that association, but my was horizontally split.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #6 on: March 15, 2019, 11:25:10 pm »
I use horizontal split window a lot. Previously, when I hit this issue I could never reproduce the problem. The trick is to put the cursor further out to the right. Also, you may have to have a minimap window for this to occur.

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
Re: SE opens recent files at odd location
« Reply #7 on: March 18, 2019, 04:16:22 pm »
I definitely have minimap on.     It actually happens quite frequently (several times a day).   I look forward to the fix when it comes.

rajkej

  • Senior Community Member
  • Posts: 281
  • Hero Points: 12
Re: SE opens recent files at odd location
« Reply #8 on: March 18, 2019, 04:28:58 pm »
Also, you may have to have a minimap window for this to occur.

I also have minimap on.

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
Re: SE opens recent files at odd location
« Reply #9 on: June 07, 2019, 08:34:15 pm »
These issues are probably related. This is not hot fixable. This fix will be added to 23.0.2 (no date set yet -- guess ~2 months).


I just encountered this issue with 23.0.2.  Note from screen capture that I had minimap disabled.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #10 on: June 08, 2019, 04:20:43 pm »
If your vrestore.slk hasn’t been modified by exiting SlickEdit, post it here. I’ll check it over.

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
Re: SE opens recent files at odd location
« Reply #11 on: June 10, 2019, 04:40:38 pm »
Looking at the date, I presume that it hadn't been modified.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #12 on: June 10, 2019, 05:40:44 pm »
I need your "About" information which has a "Screen Size:" field giving the resolutions of your monitors. You have a lot of different monitor configs and I don't which one to look at.

b

  • Senior Community Member
  • Posts: 280
  • Hero Points: 25
Re: SE opens recent files at odd location
« Reply #13 on: June 10, 2019, 11:45:47 pm »
Code: [Select]
SlickEdit Pro 2018 (v23.0.2.0 64-bit)

Serial number: FE10296
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\23\slickedit.lic

Build Date: May 28, 2019
Emulation: Vim

OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 55% Load, 8953MB/16265MB Physical, 15247MB/21382MB Page File, 10244MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1040, 1920 x 1080, 1200 x 1920

Project Type: Cpp
Language: .process (Process)
Encoding: Automatic

Installation Directory: C:\Program Files\SlickEdit Pro 23.0.2\ (non-removable drive,NTFS,14396MB free)
Configuration Directory: C:\Users\bkurle\Work Folders\Documents\My SlickEdit Config\23.0.2\ (non-removable drive,NTFS,14396MB free)
Migrated from: C:\Users\bkurle\Work Folders\Documents\My SlickEdit Config\23.0.1\
Spill File: C:\Users\bkurle\AppData\Local\Temp\$slk.14816 (non-removable drive,NTFS,14396MB free)

« Last Edit: June 10, 2019, 11:48:39 pm by b »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4739
  • Hero Points: 383
Re: SE opens recent files at odd location
« Reply #14 on: June 11, 2019, 02:18:59 pm »
Couldn't get anything useful out of this. I managed to get it to restore but it didn't restore exactly to what you are seeing. Possibly not a close enough reproduction of your test case. If I click on the cantask-proto.c tab in the top row, I'm not seeing any extra horizontal scroll. I just created dummy files for your files.