Bug 487405 - Kate wrong number of files/untitled
Summary: Kate wrong number of files/untitled
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 03:27 UTC by David Chmelik
Modified: 2024-07-12 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Chmelik 2024-05-23 03:27:49 UTC
SUMMARY
Kate gives a wrong number of open files in a session (like on welcome screen), most these being dozens of untitled windows when there's only one those.

STEPS TO REPRODUCE
1. Run Kate.
2. Open more than one file including leave some untitled.
3. Save/restart session.

OBSERVED RESULT
Kate gives a wrong number of open files in a session (like on welcome screen), most these being dozens of untitled windows when there's only one of those.

EXPECTED RESULT
Don't keep incrementing 'untitled' when closed--restart it every time you start Kate.

SOFTWARE/OS VERSIONS
UNIX/Linux/KDE Plasma: Slackware GNU/Linux 15 (stable, current) (64-bit) (test various others at times)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
For example, in session '0', I have 10 files open and one window untitled it calls '36', which isn't even saved by me yet and is more correctly '1'... Kate welcome screen says I have 46 files open!
Comment 1 David Chmelik 2024-05-26 21:28:57 UTC
I made a mistake.  It initially happens in the session chooser (which maybe starts when restarting after a crash) where it specifically says the wrong number of files.
Comment 2 Christoph Cullmann 2024-06-12 19:13:13 UTC
Hmmm, could you retry that with the current Qt 6 based version? We did alter a lot of stuff there. Thanks.
Comment 3 Bug Janitor Service 2024-06-27 03:47:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-07-12 03:47:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!