Comment 17 for bug 1366421

Revision history for this message
marmuta (marmuta) wrote :

Hi Simon, welcome and thanks for the official github links.

> I'm not totally happy with the current state either,
> but I'm very willing to work with you guys to improve the situation.
Sounds great. I've tried the latest from git and could indeed enter passwords since you're switching to GNOME's keyboard there too now.

> The reason is that Onboard doesn't work in places like the
> aktivity overview (it is not being shown). This is an Onboard
> bug! I didn't focus much on finding the culprint though as
> typing in your wifi password or the name of the application
> you're searching for is fine to do with Caribou.
I agree that falling back to Caribou mostly does the job now. However, I believe we'd need to push a little further if we want to offer Onboard as, quoting Ritesh, a "1st class replacement for Caribou".

AFAIK regular applications, and that's what Onboard is, can't be shown in overview and password dialogs. You call this a bug and you might be right, but then it's one we can't fix from Onboard. As I understand it, only shell extensions have the ability to place windows in overview and password screens. Obviously, the Caribou integration does that successfully already, so we know it is possible somehow. We'd need to figure out how to create those windows from JavaScript and then possibly re-parent Onboard into them. Maybe using Xembed, that's what Onboard supports with "onboard --xid", but I'm Not sure if that can work on Wayland.

> One of the things that comes to my mind is implementing
> dbus flags that indicate whether Onboard is visible or not
There's a read-only D-Bus property "Visible" you can query. Onboard's README has an example. https://bazaar.launchpad.net/~onboard/onboard/trunk/view/head:/README#L65

> One more question on the side: How's Onboard support for Wayland?
Good question. It shouldn't immediately crash anymore, but is otherwise pretty much unusable in Wayland. There's plenty of core functionality that relies on X extensions - XTest, XKb, XInput, you name it. Finding replacements on Wayland or MIR will be quite an effort. We were hoping to drag it out until there's at least a clear (and mature) winner we can focus on. I suppose "1st class replacement for Caribou" wouldn't go far without Wayland support, though.