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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/38d047b
                   |                            |963796fedf535d733e7d58a7ead
                   |                            |f7c94d
             Status|REOPENED                    |RESOLVED

--- Comment #14 from Dmitry Kazakov <[email protected]> ---
Git commit 38d047b963796fedf535d733e7d58a7eadf7c94d by Dmitry Kazakov.
Committed on 17/09/2026 at 14:49.
Pushed by dkazakov into branch 'krita/6.0'.

Fix palette docker lockup on Qt 6.11.0

Qt 6.9.0 got a "feature" that lets QHeaderView avoid
memory allocations until some custom row/column size
request comes from the user. This feature has a problem.
When calling resizeSections(QHeaderView::Fixed) on a non-
empty header view, it half-initialized the header,
leaving it in a broken state. All the following
initialization requests will not be able to complete
or fix this state.

Hence we should switch the header into "memory" mode
explicitly, while it has zero sections in it. It will
properly initialize it.

Offending commit:
https://github.com/qt/qtbase/commit/9e3a96189d9db8a458e65cd5078509afe7a160db

Krita's copy has a fix for this issue, which is declared by
a special definition.

M  +14   -1    CMakeLists.txt
M  +1    -0    config-qt-patches-present.h.cmake
M  +1    -1    libs/widgets/KisPaletteModel.cpp
M  +27   -10   libs/widgets/kis_palette_view.cpp

https://invent.kde.org/graphics/krita/-/commit/38d047b963796fedf535d733e7d58a7eadf7c94d

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

Reply via email to