Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4142 closed defect (notsugar)

Can not reveal osk manually (frame device icon) when not in ebook mode

Reported by: erikos Owned by: dsd
Priority: High Milestone:
Component: Sugar Version: 0.97.x
Severity: Major Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Assigned

Description

From http://dev.laptop.org/ticket/12082#comment:13

Currently the behaviour in the XO is that the OSK will only be shown automatically when in ebook mode.

We have an edge case that is not triggered yet correctly. There is a Frame device that does reveal the OSK manually. We do use the glib API for that http://git.sugarlabs.org/sugar/mainline/commit/b7997ef33011283690c9a3d24d54fb7050316e5c. That should allow to reveal the OSK as well in laptop mode. Since the last fix that does only work in ebook mode.

Change History (3)

comment:1 Changed 11 years ago by dsd

Both clicking on a text input field, and using the frame to open the keyboard, arrives at the same entry point in maliit.

#0  MInputContextConnection::activateContext (this=0x8430828, connectionId=1)
    at minputcontextconnection.cpp:448
#1  0xa7660796 in m_dbus_glib_ic_connection_activate_context (obj=0x83ee420)
    at minputcontextglibdbusconnection.cpp:235
#2  0xa7660152 in dbus_glib_marshal_m_dbus_glib_ic_connection_BOOLEAN__POINTER
    (closure=0xafe334a8, return_value=0xafe334e0, n_param_values=2, 
    param_values=0x84b2230, invocation_hint=0x0, marshal_data=
    0xa7660770 <m_dbus_glib_ic_connection_activate_context(MDBusGlibICConnection*, GError**)>) at mdbusglibicconnectionserviceglue.h:257

So an API change will be needed to make this work right: the frame device needs a way of saying "really, really open the keyboard".

Also not really worth looking into this until #4054 is fixed, otherwise you won't be able to type when we do get it appearing request.

comment:2 Changed 11 years ago by dsd

  • Resolution set to notsugar
  • Status changed from new to closed

comment:3 Changed 11 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.