https://bugs.kde.org/show_bug.cgi?id=348790

--- Comment #4 from Ruslan Kabatsayev <b7.10110...@gmail.com> ---
In fact, it doesn't have to be done using UB:

struct Hack : QWindow
{
    static void recreateWindow(QWindow* w)
    {
        w->destroy();
        w->create();
    }
};

The problem remains though that widget->winId() and widget->internalWinId() no
longer match widget->windowHandle()->winId(). This means that all the other
helpers like BlurHelper should use the latter. This also means that the
integrity of QWidget is now somewhat broken, and the behavior can be hard to
predict.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to