Author Topic: v21.0.0.12 - activate-project-open won't open buffer with pending changes  (Read 647 times)

xj97

  • Community Member
  • Posts: 19
  • Hero Points: 1
  • Make changes to foo.bar, do not save.
  • use create-tile to create another pane, switch to it.
  • Execute activate-project-open.
  • Type foo.bar to narrow the file list, tab to selection area.
  • If you select foo.bar and hit enter, nothing happens.
  • If you save the pending changes to foo.bar, you can then open the buffer.

Thanks
Baker

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4079
  • Hero Points: 277
Maybe I'm doing something wrong..

foo.bar always gets activated for me. When I'm in Brief emulation or not.

Was foo.bar ever saved on disk or did you just create a new file using File>New and check "Add to Project:".

xj97

  • Community Member
  • Posts: 19
  • Hero Points: 1
Hi Clark-

It is an existing file. I am using brief emulation, should have mentioned that.

I did do an upgrade of my old version rather than a clean install, for what that's worth.

Thanks
Baker

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4079
  • Hero Points: 277
I must be missing some magic ingredient here. Brief emulation doesn't make a difference for me.

Does the file you modify matter? Can you reproduce this in one of our sample projects?

xj97

  • Community Member
  • Posts: 19
  • Hero Points: 1
Yes, if I open cpp.vpw:

open cpp.cpp, put a space at the end of a line, do not save
hit F3 to split the pane
switch to right pane
open cpp.vpw
try to open cpp.cpp, will not work while changes pending. Does work once changes are saved or reverted.

Weird.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4079
  • Hero Points: 277
I've managed to reproduced this. It's pretty picky. If I double click the filename while the "file name:" text box is blank, then it works fine, but if I type "cpp.cpp", then it doesn't work as you describe.

We will look into this. Thanks for helping us reproduce this.

Emulation doesn't seem to matter.