Menu

#6 Doesn't Work in 5.20

1.0
open
Robert
None
2020-10-25
2020-10-21
No

The effect will install fine and will load but without changing anything, there are 0 rounded cornerss in 5.20 with the effect.

Discussion

  • Robert

    Robert - 2020-10-21

    Hmmm, not sure whats wrong then... works fine here on 5.20... is there any information relating to shapecorners if you start kwin from the terminal?

     
  • Koosha Paridehpour

     
    • Robert

      Robert - 2020-10-21

      And you're sure you recompiled shapecorners after updating kde?

       
  • Koosha Paridehpour

    Was the first thing I did

     
    • Robert

      Robert - 2020-10-22

      No idea then, could you post the contents of the install_manifest.txt file to see if everything goes in the right place.

       
      • Koosha Paridehpour

        lll get that in a sec but I just noticed something, I don't use titlebars on my windows but the ones that have them, shapecorners works fine on, are you using titlebars? Because that might be why you never noticed anything different

         
        • Robert

          Robert - 2020-10-23

          I don't disable painting for titlebarless windows per-se, however, if the windows are without shadows (painted by kwin/deco) then it won't paint over the corners.

           
          • Koosha Paridehpour

            hmm, I'm using the breeze deco without a titlebar

             
            • Robert

              Robert - 2020-10-24

              How did you disable the titlebars then? It's possible you disable the deco then and in doing so, the shadows.

               
              • Koosha Paridehpour

                 
                • Robert

                  Robert - 2020-10-25

                  Yes, that effectively destroys the deco for that window and in doing so, everything the deco does. The strange thing is that it was working up until 5.20(?), I think that the style (breeze?) used to set shadows on the windows that don't have a deco, but doesnt do it anymore.

                  shapecorners paints if:

                  the window is not part of plasma, krunner or latte dock
                  the window is not OSD, a desktop, or a dock (those that can be docked inside another window)
                  the window has a shadow (set by either deco or style)

                  Menues for instance get a shadow set by the style, so shapecorners paints the corners on those.

                   

                  Last edit: Robert 2020-10-25
                  • Koosha Paridehpour

                    yh that's odd but with other decos when I just enable no border the rounded cornerss leave, which means that it's a new change in 5.20 that removes shadows when there's no border? The tiling script I use doesnt show titlebars on any of the windows it's tiling, and most of the deco's really ruin the rounded corner feel for me, so idk what I can/should do

                     
                    • Robert

                      Robert - 2020-10-25

                      Some styles set shadows on windows (i know i do in dsp), others don't, I really have no idea which ones do w/o looking at the code.

                      Well, I've been meaning (for many years now, so don't get your hopes up), to write a more comprehensive configuration dialog for this... but, since I have absolute 0 use for it myself I doubt if its going to happen anytime soon (or ever).

                      What you can do, well, live with it(?), try and find a style that sets the shadows on 'normal' windows that you can live with(?), fork shapecorners and rewrite it to your needs?

                      Anyways, I am not going to blindly paint on windows w/o shadows since those are usually 'special' windows with special characteristics.

                       

                      Last edit: Robert 2020-10-25
      • Koosha Paridehpour

        /usr/lib/qt/plugins/kwin/effects/plugins/kwin4_effect_shapecorners.so
        /usr/share/kwin/shaders/1.40/shapecorners.frag
        /usr/share/kwin/shaders/1.10/shapecorners.frag
        /usr/lib/qt/plugins/kwin/effects/configs/kwin4_shapecorners_config.so
        /usr/share/kservices5/kwin/shapecorners_config.desktop

         
        • Robert

          Robert - 2020-10-23

          This seems right.

           

Log in to post a comment.

MongoDB Logo MongoDB