Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#733 closed defect (fixed)

blank screen in journal after unmounting an usb stick

Reported by: tomeu Owned by: tomeu
Priority: High Milestone:
Component: journal Version: Git as of bugdate
Severity: Major Keywords: r+
Cc: erikos Distribution/OS: Ubuntu
Bug Status: Unconfirmed

Description


Change History (3)

comment:1 Changed 12 years ago by tomeu

  • Cc erikos added
  • Keywords r? added

fix:

diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index 9358036..4578853 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -335,8 +335,9 @@ class BaseListView(gtk.HBox):
         self._vadjustment.props.page_increment = self._page_size
         self._vadjustment.changed()
 
-        if self._result_set is None:
-            self._result_set = model.find(self._query, self._page_size)
+        if self._result_set is not None:
+            self._result_set.stop()
+        self._result_set = model.find(self._query, self._page_size)
 
         max_value = max(0, self._result_set.length - self._page_size)
         if self._vadjustment.props.value > max_value:

comment:2 Changed 12 years ago by tomeu

  • Keywords r+ added; r? removed
  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 8 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.