Opened 11 years ago

Last modified 7 years ago

#3996 assigned defect

Show frame or OSK, never both

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

Description

http://wiki.sugarlabs.org/go/Features/Touch/Development#Show_Frame_or_OSK.2C_never_both

When we show the OSK manually #3982 we do hide the Frame. We have to do the same when the OSK is revealed automatically.

When the Frame is revealed and the OSK is up, the OSK should be hidden.

Attachments (1)

osk-over-frame.png (32.5 KB) - added by garycmartin 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by garycmartin

  • Keywords 13.1.0 added
  • Milestone changed from 0.96 to 0.98

Correcting the milestone, though this might need to push out to 1.0 now. Testing in 13.1.0 build 16. With the OSK open, the Frame can be revealed and does not dismiss the OSK. The lower half of the Frame is obscured behind the OSK. Also note that the touch selection handle is visible through the Frame. See attached image.

Test case:

1) Raise the OSK (e.g. in ebook mode focus on a zoom view search, or focus on any Activity toolbar title input)
2) Swipe down from the top of the screen to raise the Frame

Expected behaviour:
The OSK should hide before the Frame reveals.

Changed 11 years ago by garycmartin

comment:2 Changed 11 years ago by dnarvaez

  • Bug Status changed from Assigned to New

comment:3 Changed 11 years ago by dnarvaez

  • Milestone changed from 0.98 to Unspecified

comment:4 Changed 11 years ago by dnarvaez

  • Bug Status changed from New to Unconfirmed

comment:5 Changed 10 years ago by walter

  • Priority changed from Unspecified by Maintainer to Normal

comment:6 Changed 7 years ago by iamutkarshtiwari

  • Bug Status changed from Unconfirmed to Assigned
  • Owner changed from erikos to iamutkarshtiwari
  • Status changed from new to assigned

comment:7 Changed 7 years ago 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

Note: See TracTickets for help on using tickets.