notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[BUG] No file/tab to "left" or "right" when using Document List

Open
#15,096 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is there an existing issue for this?
  • I have searched the existing issues
Description of the Issue

When the "tab bar" is hidden and only the Document List is used, there is no tab to the "left" or to the "right" when Close Multiple Documents is accessed.

Steps To Reproduce
  1. In Preferences > General >Tab Bar, make sure Hide is checkmarked
  2. On the View menu, checkmark Document List
  3. Create two new tabs by pressing Ctrl+n twice (should now have new 1, new 2, and new 3 as tabs)
  4. Right-click the new 2 tab (in the Document List window)
  5. Choose Close Multiple Documents from the popup menu
Current Behavior

I see menu choices of:

  • Close All to the Left
  • Close All to the Right

but there are no tabs to the left/right of the one I right-clicked, only tabs above/below.

Expected Behavior

Menu choices of:

  • Close All Above
  • Close All Below
Debug Information
Notepad++ v8.6.5   (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : C:\NotepadPlusPlus\Misc\_NoBackup\Releases\npp.8.6.5\npp.8.6.5.portable.x64\notepad++.exe
Command Line : -titleAdd="8.6.5 64-bit" -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.3447
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (3.0.16)
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Reproduce the issue with the tab bar hidden and Document List enabled, then inspect the Close Multiple Documents menu handling. Done means the menu uses “Close All Above” and “Close All Below” when documents are arranged vertically.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.