View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000759YaCy[All Projects] Generalpublic2017-06-15 16:132019-07-28 08:38
Assigned To 
PlatformOSOS Version
Product VersionYaCy 1.9 
Target VersionFixed in Version 
Summary0000759: When searching Changing from Hangul to English will erase the contents of the search window
DescriptionWhen creating a search having entered search terms in English when changing to Hangul input method the entire search entry box is cleared.
Steps To ReproduceFor example:
On the search page enter:

Then switch to Hangul input method and the contents of the search box are cleared.

Additional InformationUse US English normally
For Korean using IBusHangul
Dubeolsik keyboard layout
automatic reordering is checked under etc
commit in word unit is not checked.

I use Windows key/Spacebar to toggle language input but using the menu can also cause this behavior.
TagsNo tags attached.
Attached Fileshtml file icon selectOnFocus.html [^] (672 bytes) 2017-07-05 15:38

- Relationships

-  Notes
luc (reporter)
2017-06-19 08:43

I also reproduce your issue with Ibus on Debian Jessie.

This is caused by YaCy automatic text selection on search field receiving focus (on the HTML input element : onFocus="this.select()").

Personally I am not especially attached to this feature, and I would say that if it is annoying for some users and doesn't bring that much benefits to the majority it should be removed.

But it appears to have been here for some years, so I would prefer confirmation of other YaCy users/developers before committing any change.
TOP (reporter)
2017-06-20 04:43

I would consider too that this occurs with any non-latin languge mixed in with English based search terms thus aggravating any user not using an English font. Think China Korea Japan. That could slow implemention among speakers of those languages. In other words non-users might not become users.
luc (reporter)
2017-07-05 15:36
edited on: 2017-07-05 15:39

After further analysis and testing, I think it is likely rather a Firefox/ibus issue. On Debian Jessie with ibus-hangul 1.5.0-1 I see :
 - no problem with Konqueror 4.14.2 (WebKit or KHTML view modes) and Chromium 57.0.2987.98
 - issue reproduced with Firefox ESR 45.9.0

The problem with Firefox, is that when changing input method with IBus-Hangul, it triggers on Firefox a blur and focus event on the browser window. It is not the case with the other tested browsers. You can check with the attached test HTML page (open it with your browser console enabled - 'F12' key shortcut - to see eventual events traces when changing input method on the search field).

Would you like to open an issue on ibus?

- Issue History
Date Modified Username Field Change
2017-06-15 16:13 TOP New Issue
2017-06-19 08:43 luc Note Added: 0001446
2017-06-20 04:43 TOP Note Added: 0001447
2017-07-05 15:36 luc Note Added: 0001465
2017-07-05 15:38 luc File Added: selectOnFocus.html
2017-07-05 15:39 luc Note Edited: 0001465 View Revisions

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker