Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.54k stars 173 forks source link

small UI bug with session, when "ui_backup_sessions": 0 #5712

Closed Alexey-T closed 1 month ago

Alexey-T commented 1 month ago

"ui_backup_sessions": 0,

now If I close all files and leave one Untitled tab, and make some edits to it, and close it -> this Untitled tab's text will be reopened on next start. it must not reopen on start because I closed the untitled tab. Cud don't overwrite 'history session.json' with 'no tabs' (empty) content on exit. but it must.

MiroslavMatas commented 1 month ago

sorry, it is just BTW notes…

it must not reopen on start because I closed the untitled tab…

that is correct

ui_backup_sessions

valid/applicable also on Project based Sessions? /situation where plugin_disabledexist on folder py\cuda_sess_manager/ seems to me, ui_backup_sessions is only for Session Manager addon

Alexey-T commented 1 month ago

no, report is not valid for project-based sessions. but pls check it.

ui_backup_sessions is only for Session Manager addon

hm, no, it is used by the main app.