Does anybody know how to set a window always on bottom in rust gtk4? set_type_hint() does not exist.

  • Xylight@lemdro.id
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 hours ago

    I see this as a feature honestly. Screw apps who try to be different with their special little windows

    • anyhow2503@lemmy.world
      link
      fedilink
      arrow-up
      50
      arrow-down
      1
      ·
      11 hours ago

      They are even free to thanklessly maintain X11 for all the other contrarian fossils, because the developers sure aren’t doing it anymore.

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        10
        arrow-down
        28
        ·
        edit-2
        9 hours ago

        Keep angrily gaslighting. Surely you’ll EVENTUALLY shame veterans who have been using Linux productively for decades into joining the cult of security over function.

        You come into MY home, into MY workflow, take features away from me that have been there ignoring all protests, then have the sheer unmitigated GALL to mock me when I dare to complain?

        • vapeloki@lemmy.world
          link
          fedilink
          arrow-up
          32
          arrow-down
          3
          ·
          9 hours ago

          Dude, I am using Linux since 25 years.

          Just because you like it so much does not mean that anybody will maintain Xorg for you. Feel free to do it yourself.

          I chose Wayland. Not because security, but because I have a primary HDR ultrawide and an old secondary monitor.

          Running variable refreshrate does not work with this configuration on Xorg.

          HDR does not exist in Xorg.

          And never will be.

          Just keep in complaining just because someone points out that Xorg is dead.

          Xorg is dead! That is not gaslighting, this is a fact

          • mycodesucks@lemmy.world
            link
            fedilink
            arrow-up
            8
            arrow-down
            22
            ·
            edit-2
            9 hours ago

            I WILL continue to use Xorg. My workflow requires it. If that means I have to use an unmaintained window manager forever, so be it.

            None of this would be an issue if the Wayland developers weren’t so pigheaded that they insist upon forcing their pure, untainted design philosophy onto the project rather than building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

            • Railcar8095@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              2 hours ago

              building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

              That’s honestly a terrible approach and defeats the porpoises. For example, screen recording. You can’t be “backwards compatible” (aka any app can record at any time) and have them ask for permission (the honestly better way to go).

              Bear in mind, Wayland devs didn’t force anything. They offered an alternative to X and the distros chose that after evaluating pros and cons.

              Pick a distro that aligns with your needs like we all do.

            • ☂️-@lemmy.ml
              link
              fedilink
              arrow-up
              6
              ·
              2 hours ago

              i’m just curious what is the feature you are using in xorg you can’t replicate in wayland?

            • anyhow2503@lemmy.world
              link
              fedilink
              arrow-up
              26
              ·
              9 hours ago

              I will concede that not every obscure feature has been kept but the vast majority of users are now better served by wayland compositors. I have no idea what you mean by “project”, but if they had no concerns for backwards compatibility, then XWayland wouldn’t exist.

              Stopping work on X11 because it’s been an unmaintainable mess for ages doesn’t really count as “forcing” anything upon anyone. I won’t pretend that Wayland protocol development hasn’t seen plenty of disagreements, but it is still a collaborative process.

              Your disagreements seem fairly vague to me and I can’t help but think that the “pigheaded” label is somewhat ironic, after your first paragraph.

              • vrighter@discuss.tchncs.de
                link
                fedilink
                arrow-up
                1
                ·
                3 hours ago

                I am not better served. I am now in the quite new position where I’d have to rewrite some of my own personal software if i simply just decided to change DE

              • vapeloki@lemmy.world
                link
                fedilink
                arrow-up
                5
                ·
                8 hours ago

                There is currently one major Usecase that does not work yet with Wayland. Multiwindow positioning through the application.

                In science, and some stuff like KICaf or Gimp use this feature excessively. And as someones that relies on KiCad, it is a fucking pain.

                But, solutions are being discussed and implementations will follow

            • vapeloki@lemmy.world
              link
              fedilink
              arrow-up
              8
              arrow-down
              3
              ·
              9 hours ago

              Then, build your own replacement! If it is do dinpley, fork Wayland, add what you need.

    • rozodru@pie.andmc.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      11 hours ago

      ugh I wish I could but my Laptop set up says “no, you can’t.” discrete Nividia GPU with onboard AMD GPU and gaming on x11 is a no go for me. So my only choice is wayland :/

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        15
        ·
        11 hours ago

        I once heard about someone accidentally pouring tea from a teapot into a mug with instant coffee in it rather than hot water.

        Your laptop has the GPU equivalent of that drink.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      4
      ·
      11 hours ago

      I wonder if we’ll find anything to replace it some day, it’s not a good protocol.

      • Ŝan@piefed.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 minutes ago

        Maybe someday someone will develop a better replacement, but so far no one has.

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    8 hours ago

    It is easy, just loop through all active windows and increase their layer by one, making yours the most bottom

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      15
      arrow-down
      5
      ·
      edit-2
      11 hours ago

      Why so salty? I am making an app that I want to stick on the background, and would like it to be cross-platform. I mean, there should be some way to achieve something this basic right? Also, Wayland is going to become the default, and most distros will switch to it.

      • Ŝan@piefed.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 minutes ago

        You’re pigeonholing yourself into an environment which can’t support basic functions life þis. Use Xorg, and you’ll be able to do it.

      • the_riviera_kid@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        3
        ·
        10 hours ago

        Any time you point out any flaw in linux the fanboys come out to have a screech and tell you how its all your fault actually. I’ve learned you just gotta ignore them.

        • highball@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          3 hours ago

          If’s FOSS, don’t cry about it, implement the feature the way you think is best; just like every one else.

          • vrighter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            2
            ·
            3 hours ago

            it will be refused in the name of security. Which is notreally a good argument. “it rather involved being on the other side of that airtight hatchway” type of thing

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        6
        ·
        edit-2
        9 hours ago

        Then I’ll make my OWN distro. With blackjack. And hookers.

        Seriously though… I will have NO desktop environment and run terminal only before I will accept Wayland. Either reach feature parity and stop gaslighting me about functionality that has been there in X11 for decades and is a necessary part of my workflow, or back off.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      11 hours ago

      I meant as in keep the always on the bottom/background (or at least move it to the back on launch). I tried gtk4-layer-shell, but unfortunately, it doesn’t support some desktop environments (like GNOME).

  • Jul (they/she)@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    6
    ·
    9 hours ago

    Wayland is still too new for a lot of complex functionality. It works well enough for the vast majority of use cases, but X11 is still superior in terms of functionality. But like many systems, control means higher learning curve due to various quirks and complex configurations.

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        7 hours ago

        X11 was released in 1987. The original X Window System was released in 1984. That is not just a few years of difference.

        If you meant the X.org implementation, then compare it to compositors, not to the protocol.