bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #24980] Idle time fetching of data


From: John Darrington
Subject: PSPP-BUG: [bug #24980] Idle time fetching of data
Date: Tue, 02 Dec 2008 09:15:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2)

URL:
  <http://savannah.gnu.org/bugs/?24980>

                 Summary: Idle time fetching of data
                 Project: PSPP
            Submitted by: jmd
            Submitted on: Tue 02 Dec 2008 05:15:24 PM WST
                Category: Graphical User Interface
                Severity: 1 - Wishlist
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

If a user opens a very large system file (or an input source with high
latency) in the GUI, there is little delay displaying that file.  However,
when she scrolls down through the data, there is a noticeable delay whilst the
data is read from disk (or other source).

In extreme cases, this can't be avoided, but typically the user will pause,
to view the first part of the data, before hitting the scroll down button. 
This pause provides an opportunity to preload the data.

To do this we need an additional function to src/data/datasheet.c of the form


bool datasheet_preload_next_chunk (struct datasheet *d, int size);

which loads the next chunk of data and returns true if there's more data to
be loaded.

The GUI can then call this function in a low priority idle callback  until it
returns false.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24980>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]