binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Sticky Linear Function Titlebar

Open toolCHAINZ opened this issue 3 years ago • 3 comments

Apologies if this has already been requested (couldn't find it in a quick search).

It would be nice if the Function Title Bar in linear mode would "stick" to the top of the pane when it scrolls out of frame (in the spirit of this recent vscode addition: https://twitter.com/stefanjudis/status/1555466217774882818).

Graph view has something similar in that it has the function name/prototype permanently at the top of the pane. Not sure of the difficulty of "sticky" elements in QT. Maybe as a simpler alternative, having that same graph view title bar in single function linear view would be nice.

toolCHAINZ avatar Sep 01 '22 20:09 toolCHAINZ

We've definitely talked about it a lot but I can't find the issue so it was either a comment on another issue or a checkbox that was maybe removed. Definitely would be nice.

psifertex avatar Sep 02 '22 04:09 psifertex

This is related to issue #2988. Depending on what we do, the solution might resolve both tickets.

fuzyll avatar Sep 06 '22 18:09 fuzyll

Proposed before and after visuals.

Note that in the "after" the black boarder at the top/sides is not intended but the border at the bottom is intended as it should differentiate in some subtle way from an actual function header at that exact line, but shouldn't be so distinct as to confuse the "current function" in case a smaller function lower on the screen is currently selected.

before-feature after-feature

psifertex avatar Sep 06 '22 18:09 psifertex

Added in 3.2.3889-dev

negasora avatar Nov 30 '22 22:11 negasora