Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse

Chebucto Regional Softball Club

  1. Home
  2. Uncategorized
  3. Whoa: Weston, the reference compositor for #Wayland, supports multiple physical independent mice at the same time!
A forum for discussing and organizing recreational softball and baseball games and leagues in the greater Halifax area.

Whoa: Weston, the reference compositor for #Wayland, supports multiple physical independent mice at the same time!

Scheduled Pinned Locked Moved Uncategorized
wayland
11 Posts 2 Posters 0 Views
  • 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.
  • ? Offline
    ? Offline
    Guest
    wrote last edited by
    #1

    Whoa: Weston, the reference compositor for #Wayland, supports multiple physical independent mice at the same time! πŸ˜€

    "New mouse, who dis?"

    (I'll write up how to do this later!)

    ? 1 Reply Last reply
    0
    • ? Guest

      Whoa: Weston, the reference compositor for #Wayland, supports multiple physical independent mice at the same time! πŸ˜€

      "New mouse, who dis?"

      (I'll write up how to do this later!)

      ? Offline
      ? Offline
      Guest
      wrote last edited by
      #2

      There are couple of surprises around window interaction:

      - Once a cursor starts to resize/move a window, those actions are not possible for the other one.
      - One cursor can open a menu, and the other one can use it, that one works pretty well!
      - Closing a window with one cursor, while the other drags it, makes the second one *disappear*! πŸ˜„

      I mean, these are really hard UI questions to solve! Often, it's not clear to me what the correct behavior should be!

      ? 1 Reply Last reply
      0
      • ? Guest

        There are couple of surprises around window interaction:

        - Once a cursor starts to resize/move a window, those actions are not possible for the other one.
        - One cursor can open a menu, and the other one can use it, that one works pretty well!
        - Closing a window with one cursor, while the other drags it, makes the second one *disappear*! πŸ˜„

        I mean, these are really hard UI questions to solve! Often, it's not clear to me what the correct behavior should be!

        ? Offline
        ? Offline
        Guest
        wrote last edited by
        #3

        Okay, let's try some applications, and see how they deal with multiple mice! 😈

        First up: Gedit, a GTK application.

        Both cursors can place the cursor and select text, but movement from one cursor "interrupts" the selection of the other one. Not very satisfying.

        Imagine how cool it would be if both had their own selections + cursors!! That would allow a really neat form of collaboration within the same document!

        ? 1 Reply Last reply
        0
        • ? Guest

          Okay, let's try some applications, and see how they deal with multiple mice! 😈

          First up: Gedit, a GTK application.

          Both cursors can place the cursor and select text, but movement from one cursor "interrupts" the selection of the other one. Not very satisfying.

          Imagine how cool it would be if both had their own selections + cursors!! That would allow a really neat form of collaboration within the same document!

          ? Offline
          ? Offline
          Guest
          wrote last edited by
          #4

          Next up: Chromium! It has a very pragmatic solution: It just *ignores* all cursors but the first one!

          In the video, the arrow-shaped cursor can click on stuff. The turtle has no power here.

          ? 1 Reply Last reply
          0
          • ? Guest

            Next up: Chromium! It has a very pragmatic solution: It just *ignores* all cursors but the first one!

            In the video, the arrow-shaped cursor can click on stuff. The turtle has no power here.

            ? Offline
            ? Offline
            Guest
            wrote last edited by
            #5

            In Firefox, it seems like all mouse events are mashed together, and are seen as coming from the same device.

            That means that both cursors can click – if the other one "holds still". Otherwise, I guess Firefox is very confused by a click on a link while the mouse is not in it! πŸ˜†

            Selections feel strange – the last-moving cursor will determine the selection.

            Also notice how, if one cursor hovers a link, *both* turn into hand icons!

            ? 1 Reply Last reply
            0
            • ? Guest

              In Firefox, it seems like all mouse events are mashed together, and are seen as coming from the same device.

              That means that both cursors can click – if the other one "holds still". Otherwise, I guess Firefox is very confused by a click on a link while the mouse is not in it! πŸ˜†

              Selections feel strange – the last-moving cursor will determine the selection.

              Also notice how, if one cursor hovers a link, *both* turn into hand icons!

              ? Offline
              ? Offline
              Guest
              wrote last edited by
              #6

              Of course, we *had* to try a drawing application next!

              Here's @tldraw (in Firefox)!

              Collaborative drawing at it's best! πŸ’š

              ? 1 Reply Last reply
              0
              • ? Guest

                Of course, we *had* to try a drawing application next!

                Here's @tldraw (in Firefox)!

                Collaborative drawing at it's best! πŸ’š

                ? Offline
                ? Offline
                Guest
                wrote last edited by
                #7

                Finally, I tried attaching an additional keyboard and assigned them to a different "seat"!

                That worked really well! In Weston, each "seat" has its own keyboard focus, so you can actually work side-by-side with two mice + two keyboards independently!

                Also!!! The two seats have their own (independent) clipboards!!!! Whatttt! 🀯

                I totally didn't expect this. But multi-seat as a concept seems deeply integrated into libinput + #Wayland! Now it's up to GUI toolkits and compositors to support it!

                ? 1 Reply Last reply
                0
                • ? Guest

                  Finally, I tried attaching an additional keyboard and assigned them to a different "seat"!

                  That worked really well! In Weston, each "seat" has its own keyboard focus, so you can actually work side-by-side with two mice + two keyboards independently!

                  Also!!! The two seats have their own (independent) clipboards!!!! Whatttt! 🀯

                  I totally didn't expect this. But multi-seat as a concept seems deeply integrated into libinput + #Wayland! Now it's up to GUI toolkits and compositors to support it!

                  ? Offline
                  ? Offline
                  Guest
                  wrote last edited by
                  #8

                  Tried it again, and the independent clipboards still seem a bit glitchy after all… 😞

                  An issue asking for proper support in GTK was closed five years ago, for example… https://gitlab.gnome.org/GNOME/gtk/-/issues/1574

                  ? 1 Reply Last reply
                  0
                  • ? Guest

                    Tried it again, and the independent clipboards still seem a bit glitchy after all… 😞

                    An issue asking for proper support in GTK was closed five years ago, for example… https://gitlab.gnome.org/GNOME/gtk/-/issues/1574

                    ? Offline
                    ? Offline
                    Guest
                    wrote last edited by
                    #9

                    Side note: I think more window managers should support *this* feature!

                    ? myrmepropagandistF 2 Replies Last reply
                    0
                    • ? Guest

                      Side note: I think more window managers should support *this* feature!

                      ? Offline
                      ? Offline
                      Guest
                      wrote last edited by
                      #10

                      Very useful when your very long line of code doesn't fit on your screen, for example! πŸ˜›

                      (Shout-out to @xssfox, who first did this on X.org! https://sprocketfox.io/xssfox/2021/12/02/xrandr/)

                      Link Preview Image
                      1 Reply Last reply
                      0
                      • myrmepropagandistF myrmepropagandist shared this topic
                      • ? Guest

                        Side note: I think more window managers should support *this* feature!

                        myrmepropagandistF This user is from outside of this forum
                        myrmepropagandistF This user is from outside of this forum
                        myrmepropagandist
                        wrote last edited by
                        #11

                        @blinry

                        cursed

                        1 Reply Last reply
                        0

                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups