bugGNU Octave - Bugs: bug #53712, Please allow arbitrary editor...

 
 

bug #53712: Please allow arbitrary editor window layout

Submitter:  Marshall <marsian>
Submitted:  Fri 20 Apr 2018 05:22:17 PM UTC
 
Category:  GUI Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Patch Submitted Assigned to:  None
Originator Name:  Marsian Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Tue 03 Jul 2018 08:43:24 PM UTC, comment #5: 

I suppose, you have configured an external editor in linux.

Cascading and tiling by the menu actions are of course indented for few files only. For many files, the desired layout has to be arranged manually.

Several tabbed stacks at a time are not possible with mdi subwindows as far as I know. I will have a look at the issue regarding the same file opened multiple times.

Torsten Lilge <ttl>
Group Member
Tue 03 Jul 2018 08:09:07 PM UTC, comment #4: 

I built this in mxe-octave. In linux, the editor wouldn't show up and a command "edit ode45" for example results in an error dialogue box in the form

"Could not start custom file editor
emacs +0 /file/location".

When I installed it in Windows, it opened up fine with the previous files open. Switching between cascaded/tabbed(and tiled) worked fine via the view/windows menu.

This approach would probably be acceptable when there are few files open, but it isn't very practical for my usage: I had 9 files open up from my previous session (and at times I've had more), but the cascaded view makes it hard to find the right file, and tiled views are unusably small. A standard work flow I've used in editors that allow tiled layouts is to have the majority of files in one tabbed tile set and then a specific file or two in an alternate tabbed tile set for side by side viewing/debugging.

I know work is early on this: but another problem I found was that debugging in the cascaded view ended up re-opening a file multiple times for some reason.

Marshall <marsian>
Sun 01 Jul 2018 02:26:00 PM UTC, comment #3: 

Please find attached a patch that implements an mdi area instead of a tab widget. For cascading, tabbing or tiling the editor file windows, a new menu "View/Windows" is available together with the following default shortcuts (configurable):


Tabbed View:                 Ctrl+Shift-T
Cascaded windows:            Ctrl+Shift-A
Tile Windows Vertically:     Ctrl+Shift-V
Tile Windows Horizontically: Ctrl+Shift-H


If this approach is acceptable and looks promising I would push the patch and work in the following on still missing features like, e.g., actions/shortcuts for switching and closing windows from the keyboard.

(file #44478)

Torsten Lilge <ttl>
Group Member
Wed 23 May 2018 05:22:35 PM UTC, comment #2: 

I suggest to use a QMdiArea (http://doc.qt.io/qt-5/qmdiarea.html) which allows to arrange sub windows tabbed or in arbitrary form within the main window. In contrast to dock widgets, the sub windows can not be made floatable. Even when we decide on using dock widgets, I would like to vote against making them floatable.

Torsten Lilge <ttl>
Group Member
Wed 25 Apr 2018 03:08:12 PM UTC, comment #1: 

Yes, same for the doc browser, as it might be useful to display multiple locations in the documentation simultaneously.

We were also talking on IRC yesterday about making the figure windows dockable, so those might also be candidates for display in any configuration inside a dockable figure widget.

John W. Eaton <jwe>
Group administrator
Fri 20 Apr 2018 05:22:17 PM UTC, original submission:  

It would be very nice if the editor windows could be rearranged arbitrarily (side by side, vertical, horizontal, mixed). It's a feature I've wanted for a long time and love in other text editors/ide's. I see that the variable editor (in 3.90) now has this feature, so it doesn't seem like quite as much of a long shot now... :)

Marshall <marsian>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44478:  bug53712_ttl_v01.patch added by ttl (48KiB - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by marsian (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 project members can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-02 ttl Dependencies- bugs #55631 is dependent
    2018-07-01 ttl Attached File- Added bug53712_ttl_v01.patch, #44478
        StatusNone Patch Submitted
    2018-04-20 mtmiller Severity3 - Normal 1 - Wish

    Back to the top

    Powered by Savane 3.12