From 66852aa736c6ef6bfa3199fce82aeee8ba28f451 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 26 Feb 2014 21:54:24 +0100 Subject: [PATCH] Add FIXME for CompletionItemDelegate --- qutebrowser/widgets/completion.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qutebrowser/widgets/completion.py b/qutebrowser/widgets/completion.py index 844e39882..c11670362 100644 --- a/qutebrowser/widgets/completion.py +++ b/qutebrowser/widgets/completion.py @@ -234,6 +234,10 @@ class _CompletionItemDelegate(QStyledItemDelegate): """ + # FIXME this is horribly slow when resizing. + # We should probably cache something in _get_textdoc or so, but as soon as + # we implement eliding that cache probably isn't worth much anymore... + def __init__(self, parent=None): self._painter = None self._opt = None