bugPSPP - Bugs: bug #24980, Idle time fetching of data

 
 

bug #24980: Idle time fetching of data

Submitter:  John Darrington <jmd>
Submitted:  Tue 02 Dec 2008 09:15:24 AM UTC
   
 
Category:  Graphical User Interface Severity:  1 - Wishlist
Status:  None Assigned to:  None
Open/Closed:  Open Release:  Future
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 02 Dec 2008 09:15:24 AM UTC, original submission:  

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.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Updated the item)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-14 blp ReleaseNone Future

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code