Opened 3 years ago

Last modified 3 years ago

#13302 new enhancement

Improve deleting of cookies

Reported by: humdinger Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This is hrev50953.

Deleting a batch of cookies in one go in WebPositive's "Cookie manager" is a bit cumbersome. It could be improved by:

  • Allowing the deletion of the cookies of whole domains or top-levels by selecting one or more entries in the list view to the left and delete those with the "Delete" button.
  • Accepting ALT+A to select all and DEL to delete in either list view. Currently multiple selection is done by holding CTRL, whereas it's usually done with ALT in Haiku...
  • Find a way to collaps/uncollaps all items in the left list view. Maybe with one button "Expand/Fold" below it that with every click expands one level deeper and then folds back up once it reached the bottom level?

A visual aid of the status quo:

Todays cookie manager

Attachments (1)

Cookie_manager.png (21.0 KB ) - added by humdinger 3 years ago.
Todays cookie manager

Download all attachments as: .zip

Change History (3)

by humdinger, 3 years ago

Attachment: Cookie_manager.png added

Todays cookie manager

comment:1 by pulkomandy, 3 years ago

There is no specific code for multiple selection in that window. It uses standard BOutlineListView (domains) and BColumnListView (sockets). It does not (yet) enable multi-selection in either list, so it should not be possible, at all, to select multiple domains for now. But, of course, this should be added. There is a TODO in the code about that, and about making the "delete" button delete all cookies if a domain is selected, but no entry in the cookie list is selected.

The expand/collapse on the domain list should be done with standard keyboard shortcuts, I think. Fold/unfold should be done using left/right arrows? (and maybe there are already modifiers on that for "fold all"/"unfold all" ?). I would rather add a way to search for a domain (text box above the list), which would unfold and select all matching entries.

comment:2 by diver, 3 years ago

It could be a good idea to add search support directly into BOutlineListView. See #10843.

Note: See TracTickets for help on using tickets.