Opened 2 years ago

Last modified 2 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:
Has a Patch: no Platform: All

Description

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 2 years ago.
Todays cookie manager

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by humdinger

Attachment: Cookie_manager.png added

Todays cookie manager

comment:1 Changed 2 years ago by pulkomandy

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 Changed 2 years ago by diver

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

Note: See TracTickets for help on using tickets.