Modify

Opened 7 years ago

Closed 7 years ago

#13189 closed defect (worksforme)

Additional suggestions not offered after completing path

Reported by: Ryan J Ollos Owned by: Peter Suter
Priority: normal Component: WikiAutoCompletePlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

After pressing enter/return to complete the path, suggestions for the next path component aren't offered until moving the cursor. Additional suggestions are offered if using tab to select the completion. Is that behavior expected? I expect some people would use enter to choose the completion, so the behavior might be confusing.

Pressing Enter/Return to choose selection:

Pressing tab to choose selection:

Attachments (2)

Screen Shot 2017-05-24 at 10.40.17.png (28.4 KB) - added by Ryan J Ollos 7 years ago.
Screen Shot 2017-05-24 at 10.40.45.png (28.3 KB) - added by Ryan J Ollos 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Ryan J Ollos

Changed 7 years ago by Ryan J Ollos

comment:1 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 7 years ago by Peter Suter

From comment:12:ticket:12929:

I think the reopen after completion is good for source suggestion

Right, very important there. So I reverted the behavior for the TAB key.

however it is not good for other strategies. Especially, newline would be unable to be entered when wiki processors is completed with enter key on {{{#!.

So we leave the ENTER key unchanged for now.

It's a trade-off. Sometimes you want to eat the key and stay in suggestion mode, sometimes you want the effect of the key (a newline) and leave suggestion mode. Unfortunately we can't read the user's mind, so we have to rely on rough heuristics and compromises.

Staying in suggestion mode on ENTER would sometimes be convenient, but sometimes it would be extremely irritating. So leave suggestion mode on ENTER is in my opinion the better option.

Last edited 7 years ago by Peter Suter (previous) (diff)

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Peter Suter.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.