Skip to content

[Bug] Topics and projects are completely broken

Description:

Projects cannot be selected, and having more than one topic and one project is currently impossible.

Details:

This is a big one. From a fresh install with no data files, you can create a topic. You do this in the 'Projects' tab, and once complete, you will have a new topic with an identically named project under it. From here, you can add a session and notice this project name is already selected as pictured below.

screenshot20230607_022940517 screenshot20230607_023005752

Also, this isn't pictured, but the initial project can be renamed successfully. This is as far as I can get the functionality to work. If you create another project under a topic, it will not appear under 'New session'.

screenshot20230607_023832708 screenshot20230607_023838403

To further complicate things, if you delete the initial project that is created when you make a new topic, any newly created projects under a topic cannot be selected, even if it's the only project, and thus cannot have sessions created for them.

screenshot20230607_024343240 screenshot20230607_024335853

Finally, the last part of this that really breaks the feature is when you have more than one topic. This will make the list appear empty. It will only let you make sessions under the default project as seen working in the first screenshot. You cannot select any other topics or sessions. As you can see, even with all the topics in their default state after creation, indeed I actually cannot select them, I cannot even see a list of topics at all now, and it is defaulting to the first topic I created. Even if I re-order the topics, it does not change the default project in the 'new session' window.

screenshot20230607_025056251 screenshot20230607_025109034

Information:

Device: Google Pixel 3a

OS: Ubuntu Touch Focal (devel branch)

Time Tracker: v1.1.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information