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

b

  • Senior Community Member
  • Posts: 269
  • Hero Points: 24
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: 4652
  • Hero Points: 373
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: 276
  • 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: 4652
  • Hero Points: 373
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: 4652
  • Hero Points: 373
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: 269
  • Hero Points: 24
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: 4652
  • Hero Points: 373
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: 269
  • Hero Points: 24
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: 276
  • 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.