Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Keyboard Support #269

Open
TheoRettisch opened this issue Jul 4, 2018 · 2 comments
Open

Virtual Keyboard Support #269

TheoRettisch opened this issue Jul 4, 2018 · 2 comments

Comments

@TheoRettisch
Copy link

Hello,

i would like to use Modrana on a linux system with touchscreen input. Everything is working very well with the awesome QT5 UI, only thing i am missing is an on screen keyboard for the poi and address search fields. There seems to be the Qt Virtual Keyboard which can handle exactly this. Any chance to include it into Modrana and maybe make it an startup option?

Btw. would it be possible to always set the start point of an route to the current location?

@M4rtinK
Copy link
Owner

M4rtinK commented Jul 8, 2018

Hello,

i would like to use Modrana on a linux system with touchscreen input. Everything is working very well with the awesome QT5 UI, only thing i am missing is an on screen keyboard for the poi and address search fields. There seems to be the Qt Virtual Keyboard which can handle exactly this. Any chance to include it into Modrana and maybe make it an startup option?

Oh, so you environment is basically a fairly standard desktop distro running on a touchscreen only device ? Then indeed, input could be an issue. On "mobile" platforms such as Sailfish OS or Android, this somehow works auto-magically - when an input field is clicked a system provided virtual keyboard shows up. Unfortunately I don't really know how this works & if it could be adapted for your case.

In such case indeed Qt Virtual Keyboard might be a solution, even though it's documentation and especially usage examples seem to be kinda lacking, at least after a brief search.

Btw. would it be possible to always set the start point of an route to the current location?
Do you mean when using the on-screen routing buttons ?

These are actually more or less temporary, eventually I would like to introduce a full featured routing page where it will be possible to set start, destination & waypoints (and other route parameters) from various sources, including current position.

On the other hand, there are various routing options already available that always route from current position:

  • long lick on a point on the map, from the menu that shows up select "route here"
  • routing to a search result
  • routing to a POI

@TheoRettisch
Copy link
Author

TheoRettisch commented Jul 12, 2018

Oh, so you environment is basically a fairly standard desktop distro running on a touchscreen only device ? Then indeed, input could be an issue. On "mobile" platforms such as Sailfish OS or Android, this somehow works auto-magically - when an input field is clicked a system provided virtual keyboard shows up. Unfortunately I don't really know how this works & if it could be adapted for your case.

Yes, i am using openbox window manager with modrana running fullscreen on one virtual desktop. Apart from the Qt Virtual Keyboard there seems to also exist this project which might help linux users:

https://wiki.gnome.org/Projects/Caribou

Activation of the keyboard is handled via dbus events. This might be much more coding though, The Qt method sounded to me like very easy to implement. But so far i am already failing at the include statement when trying it myself.

long lick on a point on the map, from the menu that shows up select "route here"

That is exactly what i was looking for, Thanks!
Sent you some bitcoin, enjoy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants