Summary: | "Maximum number of entries in recent file list" is zero-based and keeps one file even when set to 0 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kconfigwidgets | Reporter: | Serhiy <serhiy.int> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christoph, justin.zobel, nate |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kconfigwidgets/commit/6fe641001ff2be40849568b2c3b0c0f90348133f | Version Fixed In: | |
Sentry Crash Report: |
Description
Serhiy
2020-05-12 06:05:38 UTC
I can confirm this is still an issue in kate from git master, filename is shown in [Recent Files] section of file. I think KRecentFilesAction can't really cope well with the limit "0". I think KRecentFilesAction can't really cope well with the limit "0". A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/34 Git commit 6fe641001ff2be40849568b2c3b0c0f90348133f by Christoph Cullmann. Committed on 23/02/2021 at 11:22. Pushed by cullmann into branch 'master'. fix maxItems == 0, really ensure no items are remembered * fix maxItems == 0 avoids inserting of any item * fix that maxItems can be negative, code doesn't handle that M +10 -3 src/krecentfilesaction.cpp M +2 -0 src/krecentfilesaction.h https://invent.kde.org/frameworks/kconfigwidgets/commit/6fe641001ff2be40849568b2c3b0c0f90348133f |