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

Freya Lupen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #13 from Freya Lupen <[email protected]> ---
The swatches are normally rendered by QTableView::paintEvent() ->
QTableViewPrivate::drawCell() -> KisPaletteDelegate::paint(). But here some
drawCell() calls aren't happening for some reason.

Also, when switching palettes, rows that had group names may keep the shorter
height (if they render at all).

Commenting out these two (redundant) lines in
KisPaletteView::slotAdditionalGuiUpdate() that make the rows with group names
short somehow fixes everything:
>        setRowHeight(rowNumber, fontMetrics().lineSpacing() + 6);
>        verticalHeader()->resizeSection(rowNumber, fontMetrics().lineSpacing() 
> + 6);

Maybe the table gets incorrectly calculated if the row height's been changed?

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

Reply via email to