https://bugzilla.wikimedia.org/show_bug.cgi?id=44884
Web browser: ---
Bug ID: 44884
Summary: entityselector replaces entered string to Item's label
if the typed string matches the first suggested Item's
alias
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
The following situation on wikidata.org:
I type "Seal". The suggestion list will show me "Pinniped" (alias: "Seal") as
first item, all further item's actually have the label "Seal".
From now on cursor interactions are cursed. If I press the left or 'home' key,
the cursor will immediately jump back to the String's end. If I press ctrl+A,
the whole string will be selected but after a short moment, the cursor will
jump back as well and the selection is gone.
But that's not all. After the "Seal", I type another character, e.g. "f",
"Sealf". Assume this results in the list being empty because of lack of
suggestions. Now I remove that character again (after all, there were no
suggestions, likely I hit the wrong key), now we should be back at "Seal" but
instead, it will be set to the first Item's label which is "Pinniped". In
addition, the cursor will be set at character 4 (because "Seal" has four
characters). Whatever I do now, I'll hardly be able to do any further
meaningful interaction. If I type any character now, the whole thing will
behave in different funny ways (depending on the action) I don't even want to
start describing.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l