Custom builder for a library
-
Thank you very much for all the suggestions. As a first step, I’m now trying to get the elementary_config configuration program up and running.
I have now compiled efl for this purpose in a Libertine container under the prefix /opt/click.ubuntu.com/pefl.maxperl/current and am trying to start the program as suggested using the shell script run_config.sh. This allowed me to resolve the error message regarding efreetd and the missing configuration

Unfortunately, it still isn't working. Here's the error message I've been getting so far:
ERR<90576>:elementary ../src/lib/elementary/elm_module.c:114 _elm_module_find_as() Failed to load elementary module: 'prefs_iface': No such file or directory ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF EOF ERR<90576>:eina_safety ../src/lib/ecore_evas/ecore_evas.c:3941 ecore_evas_software_x11_new() safety check failed: m == NULL ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:eina_safety ../src/lib/ecore_evas/ecore_evas.c:4056 ecore_evas_gl_x11_options_new() safety check failed: m == NULL ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:elementary ../src/lib/elementary/efl_ui_win.c:5572 _elm_win_finalize_internal() Cannot create window. ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:eo ../src/lib/eo/eo.c:1137 _efl_add_internal_end() Object of class 'Efl.Ui.Win_Legacy' - Not all of the object constructors have been executed. ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:796 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_selection_changed_set() ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:798 _ecore_magic_fail() Input handle pointer is NULL! ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [....] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:796 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_drop_set() ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:798 _ecore_magic_fail() Input handle pointer is NULL! ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:796 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_motion_set() ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:798 _ecore_magic_fail() Input handle pointer is NULL! ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:796 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! in: ecore_evas_callback_drop_state_changed_set() ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:ecore ../src/lib/ecore/ecore.c:798 _ecore_magic_fail() Input handle pointer is NULL! ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOF ERR<90576>:evas_main ../src/lib/evas/canvas/evas_object_smart.c:746 _efl_canvas_group_efl_object_destructor() efl_canvas_group_del() was not called on this object: 0x40000000638f (Efl.Ui.Win_Legacy) ## Copy & Paste the below (until EOF) into a terminal, then hit Enter eina_btlog << EOF [...] EOFMaybe it's because EFL doesn't support Wayland? Or maybe EFL can't find the right display? Everything works perfectly in Libertine... Right now, I'm just at a loss...
You can find the current status at https://github.com/MaxPerl/pefl.maxperl
Thanks in advance, Max
-
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