Bug 470966 - Missing Close button for Memory Viewer Tool
Summary: Missing Close button for Memory Viewer Tool
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (show other bugs)
Version: 5.11.230401
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-13 09:08 UTC by Andrew M
Modified: 2023-06-14 10:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.