Announcement

Collapse
No announcement yet.

GTK4 Data Transfer APIs Being Modernized Around Wayland

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

  • GTK4 Data Transfer APIs Being Modernized Around Wayland

    Phoronix: GTK4 Data Transfer APIs Being Modernized Around Wayland

    Red Hat's Matthias Clasen has provided an update on one of the latest areas the GTK developers are working on finishing up with the forthcoming GTK 4.0 tool-kit... Improving the data transfer interfaces around handling for copy/paste and drag-and-drop...

    http://www.phoronix.com/scan.php?pag...-Transfer-APIs

  • #2
    They also landed some nice CSS performance MRs.

    https://gitlab.gnome.org/GNOME/gtk/merge_requests/1360

    https://gitlab.gnome.org/GNOME/gtk/merge_requests/1362
    Last edited by tildearrow; 01-30-2020, 11:14 AM.

    Comment


    • #3
      Originally posted by 144Hz View Post
      Do you know of any GTK4 previews or is it going to look and feel like GTK3?
      Last edited by tildearrow; 01-29-2020, 02:04 PM.

      Comment


      • #4
        I really look forward to GTK4, it seems really nice. It has a new password widget with ability to reveal the password.

        I hope the UI XML gets easier to re-organize. I have two projects in GTK, in one of the projects I write the UI in code, it is easy to re-organize but its messy because UI and logic are mixed. In another project I keep the UI in a separate XML files so UI and logic are cleanly separated, but it is difficult to re-organize the UI because editing the XML file is tricky.

        Originally posted by skeevy420 View Post
        Do you know of any GTK4 previews or is it going to look and feel like GTK3?
        GTK4 uses CSS just as GTK3 so I think it will look exactly the same. Hopefully it will have a nicer feeling though, because hopefully it will be easier to do animations, and I hope there will be some implicit animations that just happens without the developer have to explicitly declare so.

        Comment


        • #5
          I believe frosted glass blur is the best feature in GTK4.0.

          Comment


          • #6
            Originally posted by uid313 View Post
            GTK4 uses CSS just as GTK3 so I think it will look exactly the same. Hopefully it will have a nicer feeling though, because hopefully it will be easier to do animations, and I hope there will be some implicit animations that just happens without the developer have to explicitly declare so.
            I was wondering if their design standards had been updated so that everything didn't look so big and space wasting. I suppose it might not be that bad on laptop screens, but on a 49" monitor, GTK3 is big and space wasting and my first instinct is "Except for the font, I wish most of the UI was scaled down by 33%" and was hoping for a Compact UI mode or option.

            A lot of people like those big, clean, and simple interfaces for TVs, like Steam BIg Picture or the Gnome Applauncher or Kodi, but I'm the opposite and want the option for compact, cluttered, and advanced interfaces. I can do more at once with the latter setup so it's more productive for me.

            Comment


            • #7
              Originally posted by skeevy420 View Post

              I was wondering if their design standards had been updated so that everything didn't look so big and space wasting. I suppose it might not be that bad on laptop screens, but on a 49" monitor, GTK3 is big and space wasting and my first instinct is "Except for the font, I wish most of the UI was scaled down by 33%" and was hoping for a Compact UI mode or option.

              A lot of people like those big, clean, and simple interfaces for TVs, like Steam BIg Picture or the Gnome Applauncher or Kodi, but I'm the opposite and want the option for compact, cluttered, and advanced interfaces. I can do more at once with the latter setup so it's more productive for me.
              There's still quite a lot of time before GTK4 is supposed to be out, so design changes could happen. But don't expect any size changes for GTK3 because GTK3 is declared stable and messing with spacing is almost certainly going to break some existing apps.

              I'd personally be in favour of a slight shrink, something between macOS and current level padding, but I'm not too bothered.

              Comment


              • #8
                Hypothetically, how hard will be the migration from GTK3 to 4 in apps? I realise that's like asking how long is a piece of string, but still.

                Comment


                • #9
                  Originally posted by uid313 View Post
                  I hope the UI XML gets easier to re-organize. I have two projects in GTK, in one of the projects I write the UI in code, it is easy to re-organize but its messy because UI and logic are mixed. In another project I keep the UI in a separate XML files so UI and logic are cleanly separated, but it is difficult to re-organize the UI because editing the XML file is tricky.
                  Wouldn't it be easier to just keep the logic in something like C and write the UI in a higher level language, like JavaScript or Python? In the browser world, people moved away from static resources for the UI (html) precisely because of how brittle and limited they are. (people rediscovered the same issue with XML layouts in Android) You still want to program in a declarative fashion, but a dynamic programming language is much easier to express yourself in and lets you do more interesting things. (not that the GNOME APIs are declarative)

                  Comment


                  • #10
                    Originally posted by skeevy420 View Post

                    I was wondering if their design standards had been updated so that everything didn't look so big and space wasting. I suppose it might not be that bad on laptop screens, but on a 49" monitor, GTK3 is big and space wasting and my first instinct is "Except for the font, I wish most of the UI was scaled down by 33%" and was hoping for a Compact UI mode or option.

                    A lot of people like those big, clean, and simple interfaces for TVs, like Steam BIg Picture or the Gnome Applauncher or Kodi, but I'm the opposite and want the option for compact, cluttered, and advanced interfaces. I can do more at once with the latter setup so it's more productive for me.
                    Have you looked at Ubuntu recently for comparison? I don't know if Gnome has slimmed things down at all from the past, but the titlebars in Ubuntu look very compact.

                    Comment

                    Working...
                    X