KDAB / hotspot

The Linux perf GUI for performance analysis.
4.16k stars 257 forks source link

All docked components in the UI disappear #500

Closed leandrosansilva closed 1 year ago

leandrosansilva commented 1 year ago

Describe the bug All the visual components disappear after I tried to drag the window and there is no way to restore them.

To Reproduce Open hotspot.

drag the docking components around. Make mistakes and they disappear.

After a few attempts, they all disappear.

image

When I click on "window -> top down", the top down dock appears in a different window:

image

But there is no option to show the other docked components, such as the flamegraph, etc.

Expected behavior I would expect the docked components not to disappear.

If forbidding them of disappearing is too difficult, I think that some way to "restore default layout" would be enough, as I could always to back to the original state of the UI in case of mistakes.

Unfortunately I am profiling some large perf.data (multi gigabyte) that take hotspot several minutes to open

Screenshots Posted above.

Version Info (please complete the following information):

Additional context I am opening a perf.data that has been recorded on a different host, so I do not have access to all the debug symbols.

leandrosansilva commented 1 year ago

Apparently there is a way to restore the layout as described on https://github.com/KDAB/hotspot/issues/473, but it seems the changes have not yet been released. I'll try to build hotspot from master and try it again.

leandrosansilva commented 1 year ago

Closing as when building Hotspot from master the Restore Default Layout menu option works for me when I mess up with the layout :-)