notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Feature request] <Prevent pinned tabs from being closed>
Open
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
Current tab pinning moved tabs to leftmost position, but it still can be closed while it is pinned.
Describe the solution you'd like.
In addition to moving to the left, also prevent the tab from being closed.
Debug Information
Notepad++ v8.7.4 (64-bit)
Build time : Dec 4 2024 - 23:50:05
Path : C:\Programs\Text Editors\X-Notepad++\notepad++.exe
Command Line : "C:\[Backup]\Dropbox\NICS\_BD\Unit 04\4.5b - Christ's Kenosis.txt"
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
DirectWrite : ON
Multi-instance Mode : multiInstOnSession
File Status Auto-Detection : cdEnabledOld (for all opened files/tabs) + cdAutoUpdate + cdGo2end
Dark Mode : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5131
Current ANSI codepage : 1252
Plugins :
AutoSave (1.6.1)
ComparePlugin (2.0.2)
DSpellCheck (1.4.24)
HexEditor (0.9.12)
MarkdownViewerPlusPlus (0.8.2)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
NppMarkdownPanel (0.6.1)
NppSnippets (1.7)
SessionMgr (1.4.4)
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how pinned tabs are identified and how tab-close actions are handled in the desktop application. The issue provides no file or test locations, so first locate those entry points and inspect existing tab-pinning behavior. Done means a pinned tab remains open when a close action is attempted while unpinned tabs retain their current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100