Menu

#194 Same file opened twice with the "File->Open..." dialog

9.0.2
closed
nobody
None
Bug
Core
minor
2018-12-21
2018-11-08
No

If I drag (the icon of) a file on the Alpha icon, and if this file is already open, Alpha does not open it a second time a bring the corresponding buffer on the foreground. The same thing occurs if I select an already opened file in the "File->Open Recent" list.

However, if I select a file already opened in the "File->Open..." dialog, it open a new buffer of that file whose name is suffixed with <2>.

At some point (I cannot determinate when exactly), the "Open Recent" list start working the same way: each time I select the same file in the list, it open a new buffer, incrementing the <n> suffix.</n>

Best,
Sylvain

Discussion

  • Bernard Desgraupes

    This is complex. All these technics ultimately invoke an aevt/odoc AppleEvent which has an option for either opening the same file or open a duplicate. The calling procs certainly do not have the same settings and this is the cause of the inconsistent behavior. I'll look into this.

     
  • Bernard Desgraupes

    This is fixed. "File->Open..." dialog is now consistent with the other methods: if the file is already opened, Alpha brings it to front.
    Changes committed to the repository (rev. 1575 (sourceforge.net)).

     
  • Bernard Desgraupes

    • status: open --> fixed
     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.0.1 --> 9.0.2
     

Log in to post a comment.

MongoDB Logo MongoDB