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

 
 

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

Submitted by:  Rik <rik5>
Submitted on:  Tue 09 Jul 2013 04:14:49 PM UTC  
 
Category: GUISeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project MemberIn charge of this item.
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>
Project 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>
Project 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>
Project MemberIn charge of this item.
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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by lostbard (Updated the item)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 21 Jul 2013 11:18:12 PM UTCrik5Open/ClosedOpen=>Closed
    Sun 21 Jul 2013 10:56:26 PM UTClostbardStatusPatch Submitted=>Fixed
    Sun 21 Jul 2013 02:17:05 AM UTClostbardAttached File-=>Added gui_doc.patch, #28630
      StatusIn Progress=>Patch Submitted
    Sat 20 Jul 2013 01:22:34 AM UTClostbardStatusNone=>In Progress
      Assigned toNone=>lostbard

    Back to the top


    Powered by Savane 3.1-cleanup