Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save selected traffic #137

Open
mossmann opened this issue Jul 18, 2024 · 1 comment
Open

Save selected traffic #137

mossmann opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels
enhancement potential new feature

Comments

@mossmann
Copy link
Member

Add ability to select multiple rows in traffic pane and save selection. Possibly also allow launch of external program with selected traffic data as input.

@mossmann mossmann added the enhancement potential new feature label Jul 18, 2024
@martinling martinling self-assigned this Jul 18, 2024
@martinling
Copy link
Member

This is going to be a bit more work than I thought; I had expected we could just replace SingleSelection with MultiSelection, and then ask that for the row ranges to save, but the API to MultiSelection doesn't provide that information; you can only ask it whether a given row is selected, or tell it to give you a Bitset over all rows, which it warns is slow.

So I think we're going to want our own SelectionModel, which handles selection actions and then keeps track of what was selected in a form that allows us to efficiently iterate over just the packets to be saved. That doesn't look too hard to do, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement potential new feature
Projects
None yet
Development

No branches or pull requests

2 participants