• KoboldCoterie@pawb.social
    link
    fedilink
    English
    arrow-up
    57
    ·
    2 days ago

    Yes, and the low-resolution pointer when you do this excessively is just unacceptable. I’m glad they’re finally addressing this pressing concern.

    • FuglyDuck@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      The just added a high res image or whatever rather than scaling it up. Someone probably fixed it in their spare time.

        • programmerlexi@sh.itjust.works
          link
          fedilink
          arrow-up
          13
          ·
          2 days ago

          Because it uses the XCursor format, which is a quite old standard. Getting apps to switch to a newer standard that has vector graphics is already hard enough. Getting them to do so without burning your GPU is basically impossible.

        • Ross_audio@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          2 days ago

          You have to re-render vector graphics when you zoom in. Otherwise they have the same pixels stored in memory as when they were first opened.

          You are always viewing a bitmap image because you have a bitmap display and it makes sense they don’t load a full size cursor into memory to get rendered.

          I’d be curious as to if they’ve rendered a full size image to sit in memory, or re-render the vector image directly as it grows.

          Given the way games work re-rendering would be trivial for any computer running KDE so I’d take that bet.

          • ArrowMax@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            14 hours ago

            Theoretically speaking, you could draw directly from vector data instead of generating a texture as an intermediate step. Or you could use a signed distance field to sample from instead of a regular bitmap.

            Would it be absolutely bonkers and utterly incompatible with any legacy software? Suuure, but you would get a perfectly crisp cursor after all that wiggling.

        • SystemDisc@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          2 days ago

          I would assume they replaced it with an SVG that is rasterized on demand instead of a very high resolution rasterized image.

          In terms of coding effort, just replacing a PNG is the easiest, but it’s also the least correct solution, imo.

          • ricecake@sh.itjust.works
            link
            fedilink
            arrow-up
            5
            ·
            1 day ago

            I went and read the commit descriptions.

            Previously it was using whatever cursor the theme had loaded and just scaled it up. Now it references the full set of resources for the theme and picks the appropriate one for the size.

            So they went with the most correct third option: defer to the standard set by a more authoritative source. :)