Custom builder for a library
-
I've finished a first small test application (a simple video player). You can find it under https://github.com/MaxPerl/pefl.maxperl
All in all, it works pretty well. However, there are a few limitations:
-
I haven't yet managed to get the Wayland engine from efl to work (I'm hoping for Mir 2.x). This may lead to suboptimal performance (especially at the moment no hw acceleration), but more importantly, to an error with rotation. In landscape mode there is a well known Issue with Xwayland: Inputs on the right side of the screen do not work in landscape mode (see also the problem in uWolf, fix could come when this is merged: https://gitlab.com/ubports/development/core/lomiri/-/merge_requests/207). I also can't resolve it through settings X-Lomiri-Rotates-Window-Contents=false and/or X-Lomiri-Supported-Orientations=portrait at the moment (see ubports/development/core/lomiri#184)
-
Maliit virtual keyboard does not work at the moment. Apparently, there’s also a way for Xwayland apps to integrate this via the DBus interface. But right now, that’s too complicated for me. In the meantime, I’ve programmed my own little virtual keyboard (though it’s not really necessary for a video player. You can test it in the file-open dialog at the search field. Works pretty well for me).
-
I’m currently working on a connection to the Content Hub (at least receiving data from other apps would be nice). But it doesn't seem that straightforward if an app doesn't use Qt or QML at all. I've already tried launching the app via Qt/QML instead of a Bash script, but apparently that doesn't work with Xwayland apps? If anyone here has experience with this, I'd appreciate any suggestions. Maybe I’ll start a separate thread regarding Content Hub as well. Surely that should work without Qt/QML????
Best wishes, Max
-
-
P PerlMax referenced this topic
-
The state of Content-Hub is strange. When I open the app and then send myself files via the File Manager, for example, it seems to work. However, if the app isn't already open the first time and is essentially opened through the Content Hub, it only works once

-
There is also a visual issue that two windows are now opening: one titled "pefl" (the actual app) and one titled "X11 Support." This problem also occurs in uWolf by @chromiumos-guy , for example. However, it has somehow been resolved in Min Browsers and @pparent apps (which also run on Xwayland). I'd appreciate any advice...
Here a screenshot
(

-
-
@pparent 24.04-1 I think (the stable branch)
-
Yes but what version precisely? Because there was an important change about that between 24.04-1.2 and 24.04-1.3 .
Can you re-upload the screenshot we cannot see it!
-
my UT version is 24.04-1.3
here again the screenshot:

Can you see it now?
-
Yes, Well I guess your application is firing 2 windows, no?
You can install xdotool to list the existing xWayland windows.
My guess is, that this bug is not related to UT, but that your application is starting 2 windows.
-
@pparent mmh, I don't think so (because on my desktop there is only one window and the problem is with uWolf the same). I really do only some standard code with efl
But I will do further diagnostics with xdotool.. -
Well I don't know, I've not done anything in particular, with 24.04-1.3 there should be only one window by default for a Xwayland program.
Make sure to do
export GDK_BACKEND=x11 export DISABLE_WAYLAND=1before you start your app
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login