summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-24 00:37:14 +0200
committerhut <hut@lavabit.com>2011-10-24 00:37:14 +0200
commit2f7e770983ba9219b892f3d739b55e0bc724205c (patch)
tree8e8058f9ede7b35e843aaddf88b5f3d8da750117
parent25c9aa011cedfd58a5b18bc45698b192d9411ea4 (diff)
downloadranger-2f7e770983ba9219b892f3d739b55e0bc724205c.tar.gz
core.actions: Added comment about possible bug
-rw-r--r--ranger/core/actions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 5966789a..5364f391 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -691,6 +691,9 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 			# self.previews['/tmp/foo.jpg']['loading'] = False
 			# A -1 in tuples means "any"; (80, -1) = wid. of 80 and any hei.
 			# The key 'foundpreview' is added later. Values in (True, False)
+			# XXX: Previews can break when collapse_preview is on and the
+			# preview column is popping out as you move the cursor on e.g. a
+			# PDF file.
 			try:
 				data = self.previews[path]
 			except: