Author Topic: beta6: Buffers tab in Files toolbar current buffer broken  (Read 3142 times)

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
beta6: Buffers tab in Files toolbar current buffer broken
« on: October 16, 2014, 11:41:08 AM »
Hi!

I normally have the "Buffers" tab of the "Files" toolbar docked on the left side of the editor to keep track over which files I have opened and which I'm working on.  Testing beta 6 now, I noticed that the current buffer is not outlined in bold as it should be, the buffer outlined in bold is the one that was the current buffer when SlickEdit started.  Opening a new file (via the Windows command line: vs NewFile.cpp) causes the new file to be listed in a bold font for a second before it goes back to normal type, the first current buffer remains in bold the whole time.  Should be easy to reproduce.

Two more issues with the "Files" toolbar:
1. Please make it "Dockable" by default, on all platforms. (This used to vary between platforms in v18 and earlier.)
2. SlickEdit forgets the column spacing (at least for the "Buffers" tab) and the default seems to be tailored for 8.3 file names. So, I'm forced to re-adjust the size every time I start SlickEdit in order to be able to read the buffer names - kind of annoying.

Kind Regards,
 bird.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #1 on: October 16, 2014, 01:44:09 PM »
Have you tried right-clicking in the list and shutting off "Auto-size columns"?

By default we call _TreeSizeColumnToContents, so it should come up adjusted to your longest filename.

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #2 on: October 16, 2014, 02:29:33 PM »
Unchecking "Auto-size columns" doesn't help with the restore problem. When unchecking it and then checking it again afterwards, the column is resized the way I like.
Looks like _TreeSizeColumnToContents is called before any content is present and not called when new files are added.

-bird

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #3 on: October 16, 2014, 02:34:03 PM »
What platform are you on?

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #4 on: October 16, 2014, 02:46:08 PM »
I'm running the 64-bit Windows build of SlickEdit on Windows 8.1.
-bird

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #5 on: October 16, 2014, 03:18:23 PM »
This is fixed for the next drop.

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
Re: beta6: Buffers tab in Files toolbar current buffer broken
« Reply #6 on: October 16, 2014, 03:39:34 PM »
Thanks!