UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Custom builder for a library

    Scheduled Pinned Locked Moved App Development
    25 Posts 6 Posters 1.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      PerlMax
      last edited by PerlMax

      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

      (screenshot20260609_124509719.png

      pparentP 1 Reply Last reply Reply Quote 0
      • pparentP Offline
        pparent @PerlMax
        last edited by

        @PerlMax

        I can't see the screenshot! 😉

        What version of UT are you running?

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          PerlMax @pparent
          last edited by

          @pparent 24.04-1 I think (the stable branch)

          pparentP 1 Reply Last reply Reply Quote 0
          • pparentP Offline
            pparent @PerlMax
            last edited by

            @PerlMax

            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!

            1 Reply Last reply Reply Quote 0
            • P Offline
              PerlMax
              last edited by

              my UT version is 24.04-1.3

              here again the screenshot:

              screenshot20260609_124509719.png

              Can you see it now?

              pparentP 1 Reply Last reply Reply Quote 0
              • pparentP Offline
                pparent @PerlMax
                last edited by

                @PerlMax

                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.

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  PerlMax @pparent
                  last edited by

                  @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..

                  pparentP 1 Reply Last reply Reply Quote 0
                  • pparentP Offline
                    pparent @PerlMax
                    last edited by

                    @PerlMax

                    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=1 
                    

                    before you start your app

                    pparentP 1 Reply Last reply Reply Quote 0
                    • pparentP Offline
                      pparent @pparent
                      last edited by

                      Also maybe make sure your window title and name are similar or equal to your application name, as Lomiri does a fuzzy compare to detect the application corresponding to a window.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        PerlMax
                        last edited by PerlMax

                        @pparent : Thank you so much!!! This was the solution 🙂 Important for me in efl was not only to change the title, but also the name of the window, that means

                        instead of only
                        $win = pEFL::Elm::Win->util_standard_add("main", "pefl.maxperl");

                        also
                        $win = pEFL::Elm::Win->util_standard_add("pefl.maxperl", "pefl.maxperl");

                        1 Reply Last reply Reply Quote 0

                        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
                        • First post
                          Last post