bugGNU Octave - Bugs: bug #44622, [GUI] Don't update file browser...

 
 

bug #44622: [GUI] Don't update file browser window unless at top level

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Tue 24 Mar 2015 05:41:36 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Apr 2015 07:34:06 PM UTC, comment #3: 

Thanks.
It was esp. a nuisance when e.g., scripts were unzipping/zipping archives in a temp directory. I found that populating the file browser window could take a long time for crowded working directories.

I'll try later.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 25 Apr 2015 06:00:42 PM UTC, comment #2: 

I have pushed changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/d7bea5b11fc3
which uses the set_workspace method to update the gui (file browser and combo box in main window) if the directory has changed in the meantime.

Torsten Lilge <ttl>
Group Member
Fri 17 Apr 2015 06:59:07 PM UTC, comment #1: 

@Torsten: Sorry to keep adding you to bug reports, but this one also looks like something you would know very quickly how to fix.  Octave needs to stop synchronizing the File Browser pane when executing long scripts.

Rik <rik5>
Group administrator
Tue 24 Mar 2015 05:41:36 PM UTC, original submission:  

E.g., during operation of _run_test_suite_.m, but also noted during debugging of unpack.m & tar.m, I noted that not only the workspace but also the file browser pane gets updated regularly.

The workspace pane updates have been fixed (see bug #44156 and bug #44455), but the file directory pane still gets updated.
I commented on this in bug #44455, but that got closed.

The file directory browser may even take more waiting time than the workspace as querying the OS for what files are on disk is a slow operation. However I don't know if this query happens in the background - if so, it may not use that many CPU cycles.
But rendering the directory structure while Octave is busy clearly seems unnecessary.

Philip Nienhuis <philipnienhuis>
Group Member

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by philipnienhuis (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 group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-17 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2015-04-25 ttl StatusNone Ready For Test
    2015-04-17 rik5 Carbon-Copy- Added ttl

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code