KDE Plasma 6.3: "It's Looking Pretty Good!"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67370

    KDE Plasma 6.3: "It's Looking Pretty Good!"

    Phoronix: KDE Plasma 6.3: "It's Looking Pretty Good!"

    KDE developer Nate Graham is out with his traditional weekly recap of all the interesting KDE Plasma changes for the past week. With less than two weeks until the Plasma 6.3 stable release, Nate Graham began his weekly update by remarking that the Plasma 6.3 desktop is "looking pretty good!"..

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • xnor
    Senior Member
    • Jun 2013
    • 168

    #2
    It makes me question programmers' abilities if they do not even consider the case that opening a file (that does not exist, is inaccessible etc.) might go wrong and instead crash the entire process.

    Comment

    • anarki2
      Senior Member
      • Mar 2010
      • 858

      #3
      Originally posted by xnor View Post
      It makes me question programmers' abilities if they do not even consider the case that opening a file (that does not exist, is inaccessible etc.) might go wrong and instead crash the entire process.
      That's the quality of programmers you get these days.

      The other day we had a Garmin meltdown where certain watches wouldn't boot at all. All because it apparently downloads a file from their servers, and apparently the coder didn't think it could ever download a corrupted file.

      Comment

      • torsionbar28
        Senior Member
        • Apr 2013
        • 2443

        #4
        Originally posted by xnor View Post
        It makes me question programmers' abilities if they do not even consider the case that opening a file (that does not exist, is inaccessible etc.) might go wrong and instead crash the entire process.
        Read it again. The bug fix was for a file that exists when opening, but is removed at some later point in time, while the process is still using it. Not the same as what you're describing.

        Comment

        • Nth_man
          Senior Member
          • Nov 2012
          • 1038

          #5
          Originally posted by torsionbar28 View Post
          Read it again. The bug fix was for a file that exists when opening, but is removed at some later point in time, while the process is still using it. Not the same as what you're describing.
          Yes. That can be read starting from the original article, which also includes several clarifying screenshots: https://blogs.kde.org/2025/02/01/thi...ke-a-good-one/

          Comment

          • ssokolow
            Senior Member
            • Nov 2013
            • 5108

            #6
            Originally posted by torsionbar28 View Post
            Read it again. The bug fix was for a file that exists when opening, but is removed at some later point in time, while the process is still using it. Not the same as what you're describing.
            Still seems odd that they weren't just loading it into memory and keeping it there so it couldn't go away. When you first summarized it like that, I assumed it was some kind of "They open an fd and keep it open, but people sometimes ftruncate files" situation.

            Comment

            • skeevy420
              Senior Member
              • May 2017
              • 8656

              #7
              Originally posted by xnor View Post
              It makes me question programmers' abilities if they do not even consider the case that opening a file (that does not exist, is inaccessible etc.) might go wrong and instead crash the entire process.
              KDE lets a user pick a file from, say, ~/Downloads/BenQ EX3415R Win11 WHQL driver/" and then a few weeks later you move decide to clean up your ~/Downloads folder so you cut/paste that folder containing your ICC profile to somewhere else. If that sounds oddly specific, guess where my ICC profile is located.

              The programmer didn't account for someone doing a cut/paste three weeks later.

              ngraham Would an alternate way be for KDE to put some kind of global lock or hint on the ICC profile file to prevent it from being moved while in use?

              Perhaps there could be an "Install ICC Profile" option that would copy the ICC profile to a location like ~/local/share/icc, dynamically create a drop down menu with the available ICC Profiles in that folder, and then the user could pick their profile that way . . . my monitor has slightly different profiles in its Windows 10 and 11 drivers and that was my idea to be able to quickly switch profiles without using a file picker.

              Comment

              • xnor
                Senior Member
                • Jun 2013
                • 168

                #8
                Originally posted by torsionbar28 View Post
                Read it again. The bug fix was for a file that exists when opening, but is removed at some later point in time, while the process is still using it. Not the same as what you're describing.
                No, you don't understand how any of this works. If the file was open then the handle would stay valid even if the file was moved. But that's not what is happening anyways. Why would a window manager keep an ICC profile file open anyway? That's even more insane.

                No, they just messed up the error handling in the load method that loads the profile from a path..
                Last edited by xnor; 01 February 2025, 05:59 PM.

                Comment

                • mcloud
                  Phoronix Member
                  • Aug 2012
                  • 70

                  #9
                  Looks pretty "standard" C/C++ thing, lot of calls can crash the process if you ain't careful

                  Comment

                  • MorrisS.
                    Senior Member
                    • Feb 2022
                    • 651

                    #10
                    I would like to know if the desktop trash icon can be made in monochromatic style, such as in Discover left panel menu since I consider the default version horrible.
                    Last edited by MorrisS.; 01 February 2025, 10:54 AM.

                    Comment

                    Working...
                    X