https://bugs.kde.org/show_bug.cgi?id=484652
Konstantin Kharlamov <hi-an...@yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/spectacle/-/commit/73b | |88ab1eaee494c578ffe1fd2cafa | |8dd0d437a1 --- Comment #5 from Konstantin Kharlamov <hi-an...@yandex.ru> --- Git commit 73b88ab1eaee494c578ffe1fd2cafa8dd0d437a1 by Konstantin Kharlamov. Committed on 05/04/2024 at 15:46. Pushed by ndavis into branch 'master'. SpectacleCore: make class inheritance check more robust Commit f410b0814 "Rename Platform* to ImagePlatform*" introduced a regression by making spectacle window visible at the moment of making rectangular screenshot. That happened because the check for inheritance was using a string instead of a dynamic/qobject cast, so after the rename the fact the code broke went unnoticed. Fix that by using qobject_cast() instead, so if rename ever happens again the code would refuse to compile. While at it, also add a point that the delay there isn't only because of the crash but also because X11 compositors different from kwin may require some time for effects to disappear before the shot can be made. M +7 -4 src/SpectacleCore.cpp https://invent.kde.org/graphics/spectacle/-/commit/73b88ab1eaee494c578ffe1fd2cafa8dd0d437a1 -- You are receiving this mail because: You are watching all bug changes.