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

--- Comment #4 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
#4  0x00007f0e9a0cdd5c in KWin::Window::frameGeometryChanged(KWin::Window*,
QRectF const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>)
at /usr/src/debug/kwin/build/src/kwin_autogen/include/moc_window.cpp:1671
        _a = {0x0, 0x7ffc31754ce8, 0x7ffc31754d70}
#5  0x00007f0e9a10b557 in KWin::X11Window::moveResizeInternal(QRectF const&,
KWin::Window::MoveResizeMode) (this=0x560a2411a130, rect=<optimized out>,
mode=<optimized out>) at /usr/src/debug/kwin/kwin-5.26.0/src/x11window.cpp:4213
        frameGeometry = {xp = 448, yp = 183, w = 1024, h = -4294966499}
        oldBufferGeometry = {xp = 448, yp = 183, w = 1024, h = 797}
        oldFrameGeometry = {xp = 448, yp = 183, w = 1024, h = 797}
        oldClientGeometry = {xp = 448, yp = 212, w = 1024, h = 768}
        oldOutput = 0x560a23d08b10
#6  0x00007f0e9a10a5dc in KWin::X11Window::getWmNormalHints()
(this=0x560a2411a130) at /usr/src/debug/kwin/kwin-5.26.0/src/x11window.cpp:3705
        origClientGeometry = {xp = 448, yp = 212, w = 1024, h = 768}
        new_size = {wd = 1024, ht = -4294966499}
        hadFixedAspect = <optimized out>

I wonder size hints are. Can you get the xprop output for the window?

---

    xcb_size_hints_t hints;
    xcb_icccm_size_hints_set_min_size(&hints, width, height);
    xcb_icccm_size_hints_set_max_size(&hints, width, width);

I think that this code misses a line to zero initialize `hints`. However,
garbage size hints should not crash kwin.

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

Reply via email to