Opened 8 years ago

Last modified 8 years ago

#665 assigned defect

Rapid Access improvements

Reported by: olibclarke@… Owned by: Eric Pettersen
Priority: blocker Milestone:
Component: General Controls Version:
Keywords: Cc: Tom Goddard, Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description (last modified by Eric Pettersen)

1) Tool tips for file names
2) Better icons for non-structures #705
3) Text/pattern filtering; file type filtering; delete single entries via context menu #708
4) Editing
5) List view

Change History (3)

comment:1 by Eric Pettersen, 8 years ago

Cc: Elaine Meng added
Description: modified (diff)

To 3) add: delete individual entries from context menu

comment:2 by Eric Pettersen, 8 years ago

Description: modified (diff)

comment:3 by Tom Goddard, 8 years ago

Here are some observations about how to allow deleting individual file history entries. One ideas is to put context menu entry "Remove selected from history". The QWebEngineView can report the selected text -- unfortunately that is not enough to uniquely tell which thumbnails were selected -- testing shows it only gives the actual text caption of the thumbnail and that may be the same for multiple entries. We really need to get an attribute out of the HTML tag for the given thumbnail and there is no QWebEngine call to get that directly. So it requires running some Javascript to get the selected thumbnail attributes. There is a QWebEngine call runJavaScript(script, return_value_callback) to do this. The actual Javascript code may be a bit complex. Another idea is to have a menu entry just to delete the item clicked on to raise the context menu, and a third possibility is a menu entry "Edit history..." that adds "x" buttons next every entry and clicking those buttons runs some Javascript that call a Qt callback.

Any way we go it looks like at least a half day work, and probably not high enough priority to work on any time soon.

Note: See TracTickets for help on using tickets.