Bug 353077 - Deleted sessions are not deleted if another session is created
Summary: Deleted sessions are not deleted if another session is created
Status: RESOLVED FIXED
Alias: None
Product: kronometer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 09:03 UTC by Elvis Angelaccio
Modified: 2022-09-22 22:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elvis Angelaccio 2015-09-23 09:03:09 UTC
See below:

Reproducible: Always

Steps to Reproduce:
1. Delete some existing session
2. Create a new session

Actual Results:  
The deleted session is re-added to the list of session

Expected Results:  
The deleted session should not have been re-added to the list of session
Comment 1 Bug Janitor Service 2020-12-20 20:52:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kronometer/-/merge_requests/1
Comment 2 Elvis Angelaccio 2021-01-05 21:51:24 UTC
Git commit 52c6eb1a0ebd34a40dd671724222f72a8bd53e6d by Elvis Angelaccio, on behalf of Johnny Jazeix.
Committed on 05/01/2021 at 21:47.
Pushed by elvisangelaccio into branch 'master'.

Only use one session model for all the windows.

M  +6    -7    src/gui/mainwindow.cpp
M  +1    -1    src/gui/mainwindow.h
M  +2    -2    src/gui/sessiondialog.cpp
M  +1    -1    src/gui/sessiondialog.h
M  +3    -1    src/main.cpp

https://invent.kde.org/utilities/kronometer/commit/52c6eb1a0ebd34a40dd671724222f72a8bd53e6d