Announcement

Collapse
No announcement yet.

Wayland-Protocols 1.21 Released With XDG_Activation, Staging Replaces Unstable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayland-Protocols 1.21 Released With XDG_Activation, Staging Replaces Unstable

    Phoronix: Wayland-Protocols 1.21 Released With XDG_Activation, Staging Replaces Unstable

    Released on Friday was a new version of Wayland-Protocols, the collection of protocol specifications for Wayland...

    https://www.phoronix.com/scan.php?pa...Protocols-1.21

  • #2
    Is this why when I open the "About Firefox" window on X it opens up in the center but when I open it in Wayland it open randomly somewhere in a weird place?

    But I don't know, when I open a modal in my GTK application then the modal appears in the center of the application regardless of where my application happens to be positioned.

    Comment


    • #3
      Originally posted by uid313 View Post
      Is this why when I open the "About Firefox" window on X it opens up in the center but when I open it in Wayland it open randomly somewhere in a weird place?
      Wayland knows surfaces and subsurfaces. The placement of surfaces is the compositors job, it usually places it on the monitor where the pointer is somewhere in the top left corner. The issue with Firefox's about dialog is that it is another surface, not a subsurface that would logically be placed in the middle of the parent windows dimensions. A surface has no control of another foreign surface, even if it spawned it.

      This is correctly implemented in GTK3/4 for example as you already found out yourself.

      Originally posted by uid313 View Post
      But I don't know, when I open a modal in my GTK application then the modal appears in the center of the application regardless of where my application happens to be positioned.

      Comment


      • #4
        With the protocol now part of Wayland-Protocols 1.21, the XDG_Activation support on the KDE side was already merged.
        No https://invent.kde.org/plasma/kwin/-/merge_requests/434 only in Plasma 5.23

        Comment


        • #5
          Would havs been nice to include this to Plasma 5.22. The beta is not out yet and this seems like something a lot of users will notice on Wayland.

          Comment


          • #6
            Originally posted by uid313 View Post
            Is this why when I open the "About Firefox" window on X it opens up in the center but when I open it in Wayland it open randomly somewhere in a weird place?

            But I don't know, when I open a modal in my GTK application then the modal appears in the center of the application regardless of where my application happens to be positioned.
            Bad setup? No, I know that it could very well be a bug, but birdie reported the same issue a few days ago and Phoronixers accused him of having a bad setup…

            Comment


            • #7
              can someone please explain what does this mean?:
              "This protocol is for transferring focus between top-level surfaces such as from a launcher to launchee."

              is it a different flow than when I launch something in gnome by clicking on its icon in the overview (or how is it called) or if I lunch a graphical application from a terminal? They already transfer the focus on the new application window.

              Comment


              • #8
                Originally posted by Vistaus View Post

                Bad setup? No, I know that it could very well be a bug, but birdie reported the same issue a few days ago and Phoronixers accused him of having a bad setup…
                Oh, I just checked and it seems to have been fixed.
                I have this issue in Firefox 88, but not in Firefox nightly anymore.

                Comment


                • #9
                  Originally posted by uid313 View Post
                  Is this why when I open the "About Firefox" window on X it opens up in the center but when I open it in Wayland it open randomly somewhere in a weird place?

                  But I don't know, when I open a modal in my GTK application then the modal appears in the center of the application regardless of where my application happens to be positioned.
                  The result of too much security.
                  Now windows can't even suggest where to be placed, while this very basic thing was on X11 for ages. Amazing Wayland Quality!

                  Maybe GTK modals are centered because of the center modal windows option in GNOME, or the fact it knows a parent window and Firefox does not set it...

                  Comment


                  • #10
                    Busy GNOME/Fedora guys. They also released libinput 1.17.2
                    https://lists.freedesktop.org/archiv...il/041809.html

                    Comment

                    Working...
                    X