Author Topic: Slickedit 2012 (linux x64) Preview window updates incorrectly  (Read 409 times)

jimbo333

  • Community Member
  • Posts: 49
  • Hero Points: 3
I am getting strange behavior with the preview window.  It works correctly most of the time, except it updates when I don't expect it in 1 case.  I have attached a screen-shot which shows my window layout.  If I move the mouse cursor from the bottom tool (the search results) into the preview window (crossing the file tabs toolbar), the preview window updates unexpectedly to what seems like a random symbol (I think it might be the previous symbol that was displayed, but not 100% sure yet).  If I move the mouse really fast into the window, it stays on the symbol result, as expected.  Moving the mouse from the main edit window into the preview window (from the left) does not have the same problem.

I have also noted that when the mouse enters the gray area of the Search results (the docked window title area), the preview windows scroll bars get "bigger" (like the area increased), but the contents have not yet changed.  As soon as the mouse changes to the re-size cursor as I continue to move it up, the contents immediately change.
Software Engineer, Slickedit user since version 7.

Dennis

  • SlickEdit Team Member
  • Community Member
  • *
  • Posts: 1202
  • Hero Points: 136
Re: Slickedit 2012 (linux x64) Preview window updates incorrectly
« Reply #1 on: June 15, 2012, 07:29:37 PM »
When you mouse over the File Tabs, the file corresponding to the tab that you move the mouse over is displayed in the Preview tool window, showing the current line in that buffer (like you would see if you switched to that file).

chrisant

  • Community Member
  • Posts: 1264
  • Hero Points: 119
Re: Slickedit 2012 (linux x64) Preview window updates incorrectly
« Reply #2 on: June 15, 2012, 08:24:30 PM »
Similar problem as  here.
In general, it makes sense to delay updating the Preview window in response to mouse hover.

jimbo333

  • Community Member
  • Posts: 49
  • Hero Points: 3
Re: Slickedit 2012 (linux x64) Preview window updates incorrectly
« Reply #3 on: June 15, 2012, 08:34:49 PM »
I understand that, but there is no file tab between the Search result and the preview window (all the tabs are way to left in this case).  I understand I move across the bar, but I made sure I am not crossing an actual file tab.  What is the expected behavior if I move across the bar where no tab is present?  Also, it does not obey the "Preview window delay" setting, no matter how high I set it, as soon as the cursor changes to the re-size bar, the preview window changes.
Software Engineer, Slickedit user since version 7.

Dennis

  • SlickEdit Team Member
  • Community Member
  • *
  • Posts: 1202
  • Hero Points: 136
Re: Slickedit 2012 (linux x64) Preview window updates incorrectly
« Reply #4 on: June 18, 2012, 01:58:18 PM »
There is a delay, but the setting was to short (50 ms) by default, and it was not on the options GUI.

I'll add the setting to the options GUI for 17.0.1.  The name of the Slick-C variable is def_tag_hover_delay.  Go to Macro > Set Macro Variable... and set it to 500 or 1000 and you will see better behavior.  I'm going to reduce the default to 500 for 17.0.1.

There is no "Preview window delay" setting.  There is a "Preview window timeout" setting, which, is the maximum amount of time that SlickEdit will spend on a symbol lookup for the preview window before giving up and not showing a preview of the current word under the cursor.