Skip to content

[BUG] Poor UX when lots of files open and user accidentally pins a file #16117

@folkforms

Description

@folkforms

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Not strictly a bug, but I find it a poor user experience when I have many files open and I accidentally click the "Pin" button on a tab. I typically have 150-ish files open (why bother closing files? 😄) so this mistake renders the application unresponsive for a time as it moves the file leftwards one-by-one. There is no way to abort the process. Then, I want to undo my mistake and need to use Document list > Move Document > Move to end, which is itself equally slow. And finally I use shift+mousewheel to place the document back exactly where it was. 😭

Steps To Reproduce

  1. Open lots of files
  2. Pin one of the files on the far right of the tab list
  3. Pinned file moves leftwards

Current Behavior

Pinned file moves leftwards

Expected Behavior

There are a few options that could improve this behaviour. In no particular order:

  • Escape key stops the pinning process
  • Pinned files do not move at all
  • Pinned files move instantly to the left
  • Unpinning a file places it back where it was when it was pinned

Related:

  • Document list could support dragging documents to reposition them
  • Document list could support shift+mousewheel for positioning documents

Debug Information

Notepad++ v8.7.5   (64-bit)
Build time : Dec 21 2024 - 05:13:03
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\dev\spm-enterprise\ti_css\TI\tests\TabTestApp\webclient\WebContent\wizardnav.jspx" 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
DirectWrite : ON
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 11 Enterprise (64-bit)
OS Version : 23H2
OS Build : 22631.4751
Current ANSI codepage : 1252
Plugins : 
    JsonTools (7.1)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    XMLTools (3.1.1.13)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions