Project

General

Profile

Actions

Bug #4788

closed

Popup lightweight ontology browser

Added by ben leinfelder about 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
Morpho Plugin
Target version:
Start date:
02/11/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4788

Description

Instead of the modal dialog, the browser should just be a super-duper-combobox

Actions #1

Updated by ben leinfelder about 14 years ago

This is working with some more room for refinement:
-TAB and/or ENTER key should trigger the selection and close the popup
-ESC should exit the popup w/o changing the previously selected value

Actions #2

Updated by ben leinfelder about 14 years ago

Now:
-CLICK on the field and the popup is shown
-TAB will save current selection from the popup
-ESC exits without saving any changes you may have made (selection)
-Start typing anything in the field and it will open the popup (if not already open from a click) and begin searching with whatever string you've managed to enter.

I was trying to use a focusGained event for showing the popup, but there were two issues:
-focus was immediately gained by the first widget when the page showed up
-you could "escape" from the popup and then no amount of clicking on the same filed would give you the popup back - you'd have to go to a different field then back to the old one to trigger the focus event.

Actions #3

Updated by ben leinfelder about 14 years ago

also, ENTER key is not being captured by the popup - the underlying frame hears it first as if you've clicked the Ok button (since at this point these widgets are being used within a dialog page).

Actions #4

Updated by ben leinfelder about 14 years ago

would like to add:
-DOUBLE CLICK to select the class and close the popup
-text field should show currently selected class, perhaps

Actions #5

Updated by ben leinfelder about 14 years ago

closing this - i like how it's working at the moment. feels pretty natural to navigate and double click

Actions #6

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4788

Actions

Also available in: Atom PDF