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:32 +0200
commit10ebe0ef179ca18ed1034514d5395583c9dc8d90 (patch)
treef2cbdcabe18b9372a4b9662addef2d280e89dd44
parente742855d3c98f6dc5888d5aa32c03b0fca7a3ce7 (diff)
downloadranger-10ebe0ef179ca18ed1034514d5395583c9dc8d90.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 0fd60b9a..c8922734 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -686,6 +686,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: