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

--- Comment #3 from Lisa <syn.shai...@gmail.com> ---
The discrepancy originates at one of the calls to removeTab (likely the one
inside closeDccPanel) and m_popupViewIndex is never updated, so it becomes out
of bounds.

I attached a patch that works both as a quick fix for this crash and as a "safe
default" in the general case: canMoveView{Left,Right} detect the invalid
pointer and return "false", causing the view to shift to the first tab in the
list rather than to the adjacent one. A minor annoyance compared to the crash.

It is not the "proper" fix to this issue though, so I'll leave to the owners
the decision on what to do with it.

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

Reply via email to