pjrinaldi / wombatforensics

linux c++, fox-toolkit, multi-threaded forensic gui tool
GNU General Public License v2.0
46 stars 12 forks source link

path toolbar #454

Closed pjrinaldi closed 6 months ago

pjrinaldi commented 1 year ago

Path toolbar is not quite working properly. need to work on this at some point and either fix it or just decide some other way to navigate the directories. possibly implement a ../ to go back up a directory. if i can implement this feaure in the table view, then i can implement this in the button.

pjrinaldi commented 7 months ago

Making progress on new path toolbar implementation. got the dynamic button added and removed when clicking partitions. just need to work on implementing the other path buttons.

pjrinaldi commented 7 months ago

getting closer to being implemented, and need to get the pathtext properly displayed in the table.

pjrinaldi commented 7 months ago

got buttons added, need to implement button clicking action. also need to update the pathtext variable to reset the path variable at the right time. also need to fix the application of the "/" added to the display path.

pjrinaldi commented 7 months ago

got the button display order and content working correctly. need to implement the button functionality and then also fix the path column displayed with the end "/" correctly.

pjrinaldi commented 7 months ago

got path issue working, there were null terminators in the middle of the path strings. got the functionality for home, showing partitions working. need to implement root directory correctly and then other child directories.

also need to ensure i am skipping the root directory "/" button display, since the root directory is the selected partition.

pjrinaldi commented 7 months ago

got child buttons working, am skipping the root directory since it is covered with the partitions, got the partition button, home button, and image button working, need to implement the child directories functionality working.

pjrinaldi commented 7 months ago

have an issue with the display of the child buttons when i'm 2 levels deep. got 1st level click working. need to figure out how to store and implement second level clicking. maybe need to just use gid and search for the file with button gid at end of the file. or link the childids. need to write down what i have and ponder how to store it in a format that allows for the easiest way to map to the buttons.

pjrinaldi commented 7 months ago

initial fix for 2 levels deep directory path buttons functionality is working. need to test case and ensure the path button text is getting displayed correctly.

pjrinaldi commented 7 months ago

got the path button text correct. need to fix the icons to be the same size, remove button spacing, add the current directory rather than skip it, and then make the buttons depressable, so the current directory is down and the rest are up, and then implement all that.

pjrinaldi commented 7 months ago

making progress on making the buttons depressable. need to ensure the current directory is listed, fix the icon/button size, and remove more of the button spacing.

pjrinaldi commented 7 months ago

show current directory, properly select the current directory, fixed the icon button sizes to be consistent and removed the button spacing i had priorly had in place. current issue is when i am navigating between child directoires, i don't clear them and then when i use the table and not the buttons to navigate, the directories get double added. I don't think the current setup can account for 2 directories with the same name, so it is probably better to clear the directories and remap, which would remove prior children.

pjrinaldi commented 6 months ago

currently works. ended up checking to see if gid exists in childids variable. if it does, it doesn't add it as new, so the existing gets used. will need to test on more complex examples and probably need to modify icon checks if i implement a deleted directory icon. closing and will open new tickets as new issue arise.