Bug 470966

Summary: Missing Close button for Memory Viewer Tool
Product: [Applications] kdevelop Reporter: Andrew M <quantumphazor>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: igorkuo
Priority: NOR    
Version First Reported In: 5.11.230401   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrew M 2023-06-13 09:08:12 UTC
SUMMARY
Memory viewer tabs in the Memory Viewer Tool cannot be closed. There is an area of the UI that holds a right click context menu with the option to close and configure some things but it disappears when activating [OK] or [Cancel].

STEPS TO REPRODUCE
1. Debug a C/C++ project where gdb works
2. Enable the Memory Viewer tool view if not enabled
3. Add a variable and length and click [OK] to display something (it can take variable names for "Start" and "Amount")
4. Click the "New Memory Viewer" button
5. Click [Cancel]
6. Click the "New Memory Viewer" button

OBSERVED RESULT
1. Memory viewer tabs accumulate
2. You can only close a Memory View tab if you right click the blank area around the Start and Amount input, but that area is hidden once you click [OK] or [Cancel]

EXPECTED RESULT
1. Close Tab next to the New Tab button
2. Some UI elements belonging to the tab to allow the user to change the memory range again, similar to the find in files tool in Kate. I don't know why the Start and Amount input need to disappear when finished

SOFTWARE/OS VERSIONS
Linux: 6.3.4-arch1-1
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
none
Comment 1 Igor Kushnir 2023-06-14 10:09:32 UTC
Confirmed. Memory tool view appears unpolished, to say the least. No fixes or improvements other than a crash fix and code cleanups since https://phabricator.kde.org/D4232.