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

--- Comment #24 from Antonio Rojas <aro...@archlinux.org> ---
(In reply to Antonio Rojas from comment #23)
Alright, found the issue. This is indeed a (very tricky) case of uninitialized
variables. The problem is in PreviewImageProvider::requestImage, which saves
the xft exclude range to temporary variables oldStart, oldEnd which are not
initialized, then sets the exclude range to (0,0) to perform some computations,
and finally restores the old exclude range from the oldStart, oldEnd variables.

The issue comes up when the original exclude range is (0,0), in which case
xft.getExcludeRange does not assign any value to the variables. So, at the end,
the exclude range was set to whatever random values these variables were
storing.

Fixed in https://phabricator.kde.org/D22707 by properly initializing the
variables.

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

Reply via email to