Currently I have installed my own gtk app inside Ubuntu Phone Meizu MX4.
It works, because in the .desktop file I turn Xmir on:

  [Desktop Entry]
  Name=LazarusApp Demo
  Comment=Lazarus developed app, made to run via xmir
  X-Ubuntu-Touch=true
  X-Ubuntu-XMir-Enable=true
  Exec=/home/phablet/.local/xmir/demo/demo.sh 
/home/phablet/.local/xmir/demo/demo
  Icon=/home/phablet/.local/xmir/lazarus.png
  Terminal=false
  Type=Application

and inside my demo.sh:

  #!/bin/bash
  export QT_IM_MOUDULE=maliitphablet
  export GTK_IM_MODULE=maliitphablet
  #below is just added after reading the comments in this thread:
  export QT_DEVICE_PIXEL_RATIO=
  exec $@

now, my app do launch and works, however, I just cannot get the onskreen
keyboard to show up. Again, it is a GTK app, not a QT one.

If there is no way to make this to work, then someone please tell me,
can I just use some shell command to just trigger the onscreen keyboard
regardless of the status of the focus inside my app? I mean, to
popup/hide the ISK fully programatically, without actual integration
with focusing on text input allowed control, but just on demand? Because
then, I could at least call the OSK programatically from my app.

Some of my recent experimenting with this stuff:
http://forum.lazarus.freepascal.org/index.php/topic,32090.0.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1572653

Title:
  keyboard does not show up on xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1572653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to