[Bugs] #4186 Browse NORM: Wikipedia search: pressing enter on the osk is not recognized

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Nov 20 09:50:00 EST 2012


#4186: Wikipedia search: pressing enter on the osk is not recognized
----------------------------+-----------------------------------------------
    Reporter:  erikos       |          Owner:  humitos    
        Type:  defect       |         Status:  accepted   
    Priority:  Normal       |      Milestone:  0.98       
   Component:  Browse       |        Version:  Unspecified
    Severity:  Major        |       Keywords:             
Distribution:  Unspecified  |   Status_field:  Assigned   
----------------------------+-----------------------------------------------

Comment(by humitos):

 Well, I researched about this and I'm quite sure that it's an issue with
 the Javascript on the Wikipedia Page and how its suggestion list works
 regarding the focus or how it handle the events.

 I copy the same chunk of HTML code from the Wikipedia page on a clean
 .html and OSK works without problem on it.

 After that I took a look at the Javascript code, but it's
 incomprehensible. I ''think'' this is the code that does appear the
 suggested options and the problematic js
 ([http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=ext.EventLogging%2CUserBuckets%2CmarkAsHelpful%2CpostEdit|ext.Experiments.experiments%2Clib|ext.articleFeedback.startup|ext.articleFeedbackv5.startup|ext.gadget
 .DRN-
 wizard%2CReferenceTooltips%2Ccharinsert%2Cteahouse|jquery.articleFeedbackv5.verify|jquery.autoEllipsis%2CcheckboxShiftClick%2CclickTracking%2CcollapsibleTabs%2CdelayedBind%2Chidpi%2ChighlightText%2Cjson%2CmakeCollapsible
 %2Cmw-
 jump%2Cplaceholder%2Csuggestions%2CtabIndex|mediawiki.api%2Chidpi%2CsearchSuggest%2Cuser|mediawiki.page.ready|mw.MwEmbedSupport.style|mw.PopUpMediaTransform&skin=vector&version=20121120T025205Z&*
 link])

 Anyway, I wasn't able to enable some Maliit logging or check another way
 to know "why Enter is not working" or "where it is going to" / "which
 entry is receiving it". It'd be good to have more examples of pages where
 this is not working to get more information by taking a look at the
 {{{<script>}}} tags and try to guess which JS action is the problematic
 one.

 I asked in #webkitgtk+ but I got no answer.

 Another interesting thing is that the mobile version of Wikipedia works
 without problem. I mean, there is no issue in the suggested list when you
 start typing and hit Enter:

  * https://en.m.wikipedia.org

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4186#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list