mschieder@450: 20180117 Magnus Schieder mschieder@450: mschieder@450: 20170317 BER: Reproduce and then fix a defect that it is surprising which mschieder@450: entries are moved by `m` or deleted by 'd'. mschieder@450: It probably has to do how multi-selection are handled. Maybe they mschieder@450: are not cleared properly at the end of an operation. mschieder@450: One description: It happens when you have changed a lot of entries mschieder@450: from different projects (I assume), e.g. by editing the description, mschieder@450: the length or timedate and then use move where you intend to only move mschieder@450: one, the unwanted result is several moved entries. mschieder@450: mschieder@450: reproduced with getan 2.1 mschieder@450: 20180118BER Reproduced with urwid v1.3.0, python3.4.6, getan 2.2.dev1 r445 mschieder@450: mschieder@450: Creating a new database with test data: mschieder@450: mschieder@450: 1) Delete getan_test_data.db if it already exists to create a new database. mschieder@450: 2) Execute getan_test_data.py to get the test database getan_test_data.db. mschieder@450: (getan/test_data/getan_test_data.py) mschieder@450: mschieder@450: - Bug 1.0 mschieder@450: 2) Open getan with the test database. (getan /path/getan_test_data.db) mschieder@450: 3) Switch to the entries from the project pro1 with tab. mschieder@450: 4) Mark with return and arrow keys ent1 and ent2. mschieder@450: 5) Go back to the projects with tab. mschieder@450: mschieder@450: 20180118BER: mschieder@450: Observation: ent1 and ent2 are not highlighted anymore. mschieder@450: mschieder@450: 6) Switch back to the entries of project pro1. mschieder@450: 7) Mark this time ent3 and ent4. mschieder@450: 8) Press m, then 3 and then y to move ent3 and ent4 to pro3. mschieder@450: mschieder@450: Expectation: mschieder@450: ent3 and ent4 are moved to pro3. mschieder@450: mschieder@450: Result: mschieder@450: ent1, ent2, ent3 and ent4 were moved to pro3. mschieder@450: mschieder@450: - Bug 1.1 mschieder@450: Execute 1) to 7) from 1.0. mschieder@450: 8) Press d to delete ent3 and ent4. mschieder@450: mschieder@450: Expectation: mschieder@450: ent3 and ent4 are deleted. mschieder@450: mschieder@450: Result: mschieder@450: ent1, en2, ent3 and ent4 are deleted. mschieder@450: mschieder@450: