Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "Close All" and "Close All BUT This" can close file tabs the user can't see (in another view) #15162

Open
1 task done
alankilborn opened this issue May 20, 2024 · 0 comments

Comments

@alankilborn
Copy link
Contributor

alankilborn commented May 20, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

See STR (Steps To Reproduce).

Steps To Reproduce

  1. From a fresh 8.6.7 version of N++, create, modify and save 2 file-tabs into the file system (e.g. new 1.txt and new 2.txt)
  2. Move new 2.txt to the "other view"
  3. Click the right-arrow symbol on the splitter control between the two views (this will effectively "hide" the second view -- the one containing new 2.txt)
  4. Execute Close All (or Close all BUT This)

Current Behavior

new 2.txt is closed.

Expected Behavior

new 2.txt to remain open in the other view.

Arguments for this:

  • The other view is effectively "hidden" so user may have temporarily forgotten it is open and contains tabs he really would prefer to keep open
  • All other "close multiple" operations only act on the file tabs in the active view when the command is invoked

Debug Information

Notepad++ v8.6.7   (64-bit)
Build time : May 12 2024 - 20:04:00
Path : C:\NotepadPlusPlus\Misc\_NoBackup\Releases\npp.8.6.7\npp.8.6.7.portable.x64\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3593
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (3.0.16)

Anything else?

Close All BUT This actually has different text in different places; see #15163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant