Skip to content

[BUG] 8.7.9: Lost folding handles on refresh of an already opened file #16344

@HolterPhylo

Description

@HolterPhylo

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

A file (382KB) is already opened in npp 8.7.8 and shows the folding handles.
The file is refreshed externally and npp has once again focus and loads the refreshed file.
The folding handles are not showing anymore.

After a long time, like 3-5 minutes, the folding handles finally appear. Way to long!
The use of the menu View->Fold something does not do anything in this case.
At least, 8.7.6 allowed a way to get the folding handles back.

On npp 8.7.6, the folding handles would not 'always' appear after a file refresh BUT I could move the file to the other view and back and the folding handles would re-appear. Not anymore.

Steps To Reproduce

  1. Does not happen all the time. No way for me to reproduce consistently.

Current Behavior

See 'Description of the Issue' above

Expected Behavior

That folding handles appear in a timely manner or provide a way to force a refresh of the folding.

Debug Information

Notepad++ v8.7.8   (64-bit)
Build time : Mar  7 2025 - 20:39:25
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "f:\Users\***\Documents\Foldit\NPP Sessions\***.ses"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode : multiInst
File Status Auto-Detection : cdEnabledOld (for all opened files/tabs) + cdAutoUpdate
Dark Mode : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5608
Current ANSI codepage : 1252
Plugins : 
    BracketsCheck (1.2.2)
    Comment Wrap (1.0.0.7)
    ComparePlus (1.2)
    EnhanceAnyLexer (1.4)
    HTMLTag (1.5.2)
    LocationNavigate (0.4.8.1)
    LuaScript (0.12)
    MarkdownViewerPlusPlus (0.8.2)
    Merge files in one (1.2)
    mimeTools (3.1)
    NavigateTo (2.6.4)
    NppConverter (4.6)
    NppEditorConfig (0.4)
    NppExport (0.4)
    NPPJSONViewer (2.1.1)
    NppTextViz (0.4.2)
    NppToolBucket (1.10.6622.41516)
    NppXmlTreeviewPlugin (2)
    PreviewHTML (1.3.3.2)
    Python Indent (1.0.0.5)
    PythonScript (2.1)
    RegexTrainer (1.2)
    SessionMgr (1.4.4)
    XBrackets (1.3.1)
    zoomdisabler_x64 (1.2)
    _CustomizeToolbar (5.3)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    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