bugGNU Octave - Bugs: bug #39451, GUI: 'doc' should open...

 
 

bug #39451: GUI: 'doc' should open documentation window rather than info browser

Submitter:  Rik <rik5>
Submitted:  Tue 09 Jul 2013 04:14:49 PM UTC
   
 
Category:  GUI Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Jul 2013 11:18:12 PM UTC, comment #5: 

It works really nicely now.  I'm going to close the report .

Rik <rik5>
Group administrator
Sun 21 Jul 2013 09:27:55 PM UTC, comment #4: 

I was going to add anyway, however since I had finished the code for the doc function, I would let everyone take a look at that first.


I will push a change to show the window in a few minutes.

John Donoghue <lostbard>
Group Member
Sun 21 Jul 2013 08:31:42 PM UTC, comment #3: 

I agree with Rik's focus switch. Compare with the current behavior of the GUI with "edit newfunc.m". Both are user-initiated actions that effective change focus in the command-line interface, so I don't think it's disruptive to switch focus in the GUI.

Mike Miller <mtmiller>
Group Member
Sun 21 Jul 2013 04:11:17 PM UTC, comment #2: 

Awesome.  I pushed your changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/359c5ca795cd) after removing a few '^M' characters at the end of some lines.  I gather you were working in a mixed UNIX/DOS environment.

Since I don't do GUI code that much, what is the consensus about changing the window focus?  The doc command now opens up a tab in the Documentation Window.  But the focus still remains in the Command Window so it appears as if the command did nothing until you switch to the Documentation Window.

Rik <rik5>
Group administrator
Sun 21 Jul 2013 02:17:05 AM UTC, comment #1: 

Patch submitted that displays doc xxxxx in the GUI documentation display.


(file #28630)

John Donoghue <lostbard>
Group Member
Tue 09 Jul 2013 04:14:49 PM UTC, original submission:  

Currently typing something like 'doc ls' opens a text info browser within the command window of the GUI.  It would be nice if instead this could be hooked to the built-in HTML documentation browser pane.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28630:  gui_doc.patch added by lostbard (11KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by lostbard (Updated the item)
  • -email is unavailable- added by rik5 (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-21 rik5 Open/ClosedOpen Closed
    2013-07-21 lostbard StatusPatch Submitted Fixed
    2013-07-21 lostbard Attached File- Added gui_doc.patch, #28630
        StatusIn Progress Patch Submitted
    2013-07-20 lostbard StatusNone In Progress
        Assigned toNone lostbard

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code