matinlotfali / KDE-Rounded-Corners

Rounds the corners of your windows in KDE Plasma 5 and 6
GNU General Public License v3.0
605 stars 19 forks source link

KDE Rounded Corners is not supported by Kwin anymore [Error] #256

Closed OzzyHelix closed 2 months ago

OzzyHelix commented 2 months ago

I have this error and have no idea how to make it go away it appears when I start my dessktop every time I start KDE and goes away after failing to build Rounded Corners any help with this is appreciated image image

matinlotfali commented 2 months ago

The message is clear: "Compile Manually". It allows you to read logs. It happened to me once that my gcc-12 package was removed and I had to reinstall it to make the compile work again.

OzzyHelix commented 2 months ago

I tried to downgrade to 5.15 to fix an issue with an MSI usb wifi card and maybe gcc got messed up in the process of doing that I am not on that anymore but I reinstalled gcc13 hopefully that helps sorry for being dumb

OzzyHelix commented 2 months ago

it fails to install it will build but it fails to install I also don't know where the logs are

OzzyHelix commented 2 months ago

running this results in false it seems to fail to load not sure why

❯ sh ../tools/load.sh
false
OzzyHelix commented 2 months ago

I will try install gcc12 but I'm confused because I have gcc13 and gcc14 so why would I need gcc12?

matinlotfali commented 2 months ago

I am not saying you need a specific version of GCC. I am saying in my case, that was the reason the rebuilding was failing. It was looking for a specific compiler but was failing at the time. It might be different on your distro. What do commands gcc --version and g++ --version show you?

OzzyHelix commented 2 months ago

image

OzzyHelix commented 2 months ago

the thing is compiling it manually doesn't error out I think what might be happening is KDE might be trying to run sh ../tools/load.sh and it returns false because rounded corners is already enabled causing it to be stuck in a loop of trying to upgrade what it thinks is an incompatible plugin

OzzyHelix commented 2 months ago

that is what I think is going on anyways

matinlotfali commented 2 months ago

Run sh ../tools/test-install.sh on terminal inside build directory. What does it show in the output?

OzzyHelix commented 2 months ago
❯ sh ../tools/test-install.sh
Errors while running CTest
Output from these tests are in: /home/ozzy/Documents/development/KDE-Rounded-Corners/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
-- Found KF6: success (found suitable version "6.4.0", minimum required is "6.4.0") found components: ConfigWidgets
-- Found KF6: success (found suitable version "6.4.0", minimum required is "6.4.0") found components: KCMUtils
-- The following OPTIONAL packages have been found:

 * Qt6WidgetsTools (required version >= 6.7.2)
 * OpenGL
 * Qt6DBusTools (required version >= 6.7.2)
 * Qt6QmlTools (required version >= 6.7.2)
 * Qt6CoreTools (required version >= 6.7.2)
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * WrapVulkanHeaders
 * Qt6GuiTools (required version >= 6.7.2)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.78)
 * KF6ConfigWidgets (required version >= 6.4.0)
 * KF6KCMUtils (required version >= 6.4.0)
 * KF6 (required version >= 6.4.0)
 * KWin
 * epoxy
 * XCB, X protocol C-language Binding, <https://xcb.freedesktop.org/>
 * KWinDBusInterface

--- KWin Version: libkwin.so.6 -> libkwin.so.6.1.3
--- KWinEffect Version: 236

-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ozzy/Documents/development/KDE-Rounded-Corners/build
[  4%] Built target kwin4_effect_shapecorners_autogen_timestamp_deps
[  4%] Merging shapecorners.glsl: shapecorners.frag and shapecorners_core.frag
[  4%] Built target kwin_shapecorners_config_autogen_timestamp_deps
[  4%] Built target shaders
[  9%] Automatic MOC for target kwin4_effect_shapecorners
[ 13%] Automatic MOC for target kwin_shapecorners_config
[ 13%] Built target kwin_shapecorners_config_autogen
[ 18%] Generating kwineffects_interface.cpp, kwineffects_interface.h
[ 27%] Generating Config.h, Config.cpp
[ 27%] Generating ui_KCM.h
[ 31%] Generating moc_kwineffects_interface.cpp
[ 31%] Built target kwin4_effect_shapecorners_autogen
[ 45%] Building CXX object src/kcm/CMakeFiles/kwin_shapecorners_config.dir/KCM.cpp.o
[ 45%] Building CXX object src/kcm/CMakeFiles/kwin_shapecorners_config.dir/kwin_shapecorners_config_autogen/mocs_compilation.cpp.o
[ 45%] Building CXX object src/kcm/CMakeFiles/kwin_shapecorners_config.dir/plugin.cpp.o
[ 50%] Building CXX object src/kcm/CMakeFiles/kwin_shapecorners_config.dir/Config.cpp.o
[ 54%] Building CXX object src/kcm/CMakeFiles/kwin_shapecorners_config.dir/kwineffects_interface.cpp.o
[ 59%] Generating Config.h, Config.cpp
[ 63%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/kwin4_effect_shapecorners_autogen/mocs_compilation.cpp.o
[ 68%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/TileChecker.cpp.o
[ 72%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/Window.cpp.o
[ 77%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/Effect.cpp.o
[ 86%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/Config.cpp.o
[ 86%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/Shader.cpp.o
[ 90%] Building CXX object src/CMakeFiles/kwin4_effect_shapecorners.dir/plugin.cpp.o
[ 95%] Linking CXX shared module ../bin/kwin/effects/plugins/kwin4_effect_shapecorners.so
[ 95%] Built target kwin4_effect_shapecorners
[100%] Linking CXX shared module ../../bin/kwin/effects/configs/kwin_shapecorners_config.so
[100%] Built target kwin_shapecorners_config
[sudo] password for ozzy: -- Install configuration: "Release"
-- Installing: /usr/lib/qt6/plugins/kwin/effects/plugins/kwin4_effect_shapecorners.so
-- Installing: /usr/lib/qt6/plugins/kwin/effects/configs/kwin_shapecorners_config.so
-- Installing: /usr/share/kwin/shaders/shapecorners.frag
-- Installing: /usr/share/kwin/shaders/shapecorners_core.frag
false
Errors while running CTest
Output from these tests are in: /home/ozzy/Documents/development/KDE-Rounded-Corners/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
OzzyHelix commented 2 months ago

looking at the log there is a permission problem with /home/ozzy/Documents/development/KDE-Rounded-Corners/build/install_manifest.txt

OzzyHelix commented 2 months ago

after running that I get this now

KDE-Rounded-Corners is supported by KWin and doesn't need re-installation.

so I guess we will see on restart if its fixed

OzzyHelix commented 2 months ago

yeah I seem to have figured it out with that command thanks