[Bugs] #3996 Sugar NORM: Show frame or OSK, never both

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Oct 5 22:06:17 EDT 2016


#3996: Show frame or OSK, never both
-----------------------+------------------------------------
  Reporter:  erikos    |            Owner:  iamutkarshtiwari
      Type:  defect    |           Status:  assigned
  Priority:  Normal    |        Milestone:  Unspecified
 Component:  Sugar     |          Version:  0.97.x
  Severity:  Major     |       Resolution:
  Keywords:  13.1.0    |  Distribution/OS:  OLPC
Bug Status:  Assigned  |
-----------------------+------------------------------------

Comment (by quozl):

 Thanks for thinking about this.

 Problem as described four years ago in #3996 does still occur.  Force the
 OSK, then use touchscreen to swipe down from top centre of display.  It is
 easy to recover from; swipe down again.

 I've no need to have this fixed on Ubuntu 16.04 because our next model
 does not have touchscreen, so does not have OSK.  Previous model needs the
 fix, and that is on Fedora 18.

 Re: @iamutkarshtiwari http://lists.sugarlabs.org/archive/sugar-
 devel/2016-October/053512.html
 > Is there any way to reveal the OSK in Sugar-Build on Ubuntu 16.04.
 > I need this feature to test/fix a bug.

 No, not at the moment.

 By the way;

 * ''sugar-build'' is not full emulation, it is only a partial environment
 emulation suitable for writing activities, (''sugar-build'' cannot be used
 for hardware related coding; you will have seen many commits from me for
 hardware issues that no developer using ''sugar-build'' has been able to
 detect or fix),
 * virtual machine emulation like VMware or VirtualBox does not support
 "tablet mode" PCs, and often does not support touchscreen emulation,
 * testing and developing on actual hardware is by far the best approach.

 However, there is hope if you are willing to fix many things along the
 way;
 * Sugar does not have a way to call the OSK at the moment, though you can
 see in extensions/deviceicon/frame.py that a frame icon was intended for
 this.
 * enabling this code in frame.py does not work, because `from
 gi.repository import Maliit` does not work,
 * the reason why import fails is that the Ubuntu 16.04 gir1.2-maliit-1.0
 package (assuming it is installed) does not have Maliit-1.0.typelib file,
 and this is a defect in the Ubuntu package.

 So you would have to fix the Maliit package to create the typelib, fix
 frame.py to add the icon, then see if it still works.  Good luck!

 See also
  *
 http://wiki.sugarlabs.org/go/Features/Touch/Development#Show_Frame_or_OSK.2C_never_both
  * http://dev.laptop.org/ticket/12281 (why the frame icon is disabled)
  * http://packages.ubuntu.com/yakkety/all/gir1.2-maliit-1.0/filelist
 (missing typelib in package)

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


More information about the Bugs mailing list