[konsole] [Bug 411387] Split View crash with keyboard navigation

Nikolay Zlatev bugzilla_noreply at kde.org
Tue Sep 10 07:45:24 BST 2019


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

--- Comment #7 from Nikolay Zlatev <nik at astrapaging.com> ---
(In reply to Kurt Hindenburg from comment #6)
> the null check looks reasonable even though I can't it to crash here with
> any theme.  The "+1" is worrisome as it appears to be theme specific.

const auto handleWidth = parentSplitter->handleWidth() <= 1 ? 4 :...

"? 4" is also worrisome :)

In fact this "4" constant prevent konsole to crash under "Breeze" theme.
When handleWidth = parentSplitter->handleWidth(); is used, konsole crash under
all themes.

I have tested with "const auto handleWidth = parentSplitter->handleWidth() +
3;" and everything seems to work fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list