ntanibata / weston-ivi-shell

Other
13 stars 10 forks source link

input-method not supported #3

Open sykrim opened 10 years ago

sykrim commented 10 years ago

Using weston 1.5.0 with patches for ivi-shell, weston150_ivi-shell_v6, I get the following errors when running weston-terminal:

[06:58:20.225] launching '/usr/lib/weston/weston-keyboard' [06:58:20.257] input_method died, giving up.

ntanibata commented 10 years ago

Hi, It is supported from https://github.com/ntanibata/weston-ivi-shell/tree/genivi-1.2.0.

hbrns commented 10 years ago

one thing I noticed... that branch you are talking about seems still not be 1.5, because looking at the protocol folder here https://github.com/ntanibata/weston-ivi-shell/tree/genivi-1.2.0/protocol and here http://cgit.freedesktop.org/wayland/weston/tree/protocol?h=1.5 they are different (ie. no Makefile.am)

same for 1.6, so my guess is that this branch is still on 1.4.

Can you make a patchset available that is against http://cgit.freedesktop.org/wayland/weston/tree/protocol?h=1.5 ?

agherzan commented 10 years ago

I can confirm that genivi 1.2.0 is based on weston 1.4.93.

ntanibata commented 10 years ago

Yes, Agherzan is right. It can work on 1.4.93 which is exactly the same as 1.5.0. Additionally, you can also find branch for 1.6.0. It can work as well.

agherzan commented 10 years ago

Well. I tried to format patch the patches on top of "2014-05-14 11:00 Nobuhiko Tanibata o weston 1.4.93". But these patches don't apply on top of weston 1.5.

agherzan commented 10 years ago

I rebased some of the conflicting patches and can confirm that this bug is fixed using the patches from genivi-1.2.0 on top of weston 1.5

sykrim commented 10 years ago

Great. Thank you.

sykrim commented 10 years ago

Hi Tanibata-san. I have some issues with the input. I don't get the error message, but input is not working either. For example, start weston-terminal or weston-clickdot and in either cases mouse input does not work and in weston-terminal case, since the window does not have focus, keyboard input is not working. Mouse pointer is visible and working, I can close the weston-clickdot window, start new apps from the launcher, but apparently that is all that can be done. When an application is started, it cannot receive any mouse input except for closing the window from the right X on the top bar.

Can you reproduce this behavior? Thanks

ntanibata commented 10 years ago

OK. Yes, I can reproduce it. If I implement my own application, It can receive keyboard input. So I think I have to check weston example why it doesn't behave like it. I add it my task list. Now I am a little busy. So I will follow this issue later.

sykrim commented 10 years ago

Hi Tanibata-san, thanks for your input. Just to let you know that it is not only weston examples that behave like this, I also have this problem with qt apps. Basically, all graphical apps that I have in my rootfs, do not receive any input.

ntanibata commented 10 years ago

How about this example. I can observe receiving keyboard event with genivi-1.2.0 latest. https://github.com/ntanibata/weston-ivi-shell/commit/5aa3f882647ab738430220c62ba2fe87b429bbd8

sykrim commented 10 years ago

I believe agherzan has added patches up to b7e61b00b46ad50cfdf663e0a5bc2fc86dec1762 Which is newer than 5aa3f88

So with this one ( b7e61b00b46ad50cfdf663e0a5bc2fc86dec1762 ) I am seeing the error.

sykrim commented 10 years ago

Hi, any update on this from anybody? agherzan, hbrns is it something you could reproduce?

agherzan commented 10 years ago

Yes. I just reproduced this issue too. The interesting thing is that I am able to select stuff in the terminal (empty areas) but can't actually get the cursor focus no-matter what I click. And the top bar right buttons are clickable too.

sykrim commented 9 years ago

Is it genivi-1.2.0 latest patches that you have applied on top? Or some older maybe? Tanibata-san suggested that he does not see this issue on genivi-1.2.0 latest

ntanibata commented 9 years ago

Hi sykrim,

I am sorry for slow reply. I think I have to investivate why weston-terminal can not receive or can receive but can not show input in the terminal. However, I am very busy for, maybe till end of this month. If somebody else can investigate this issue, it is welcome....

nikemc commented 9 years ago

I've got the GENIVI shell running on a raspberrypi (Works OK, but I couldn't compile the native EGL demonstrations as I haven't got wayland-egl built yet, not sure if it works.) and am seeing this problem. Once I understand Weston/Wayland a bit more, I may have time to investigate. (Unless it has already been fixed.)