bugGNU Octave - Bugs: bug #44605, Tab handling in GUI: Close tab...

 
 

bug #44605: Tab handling in GUI: Close tab with middle mouse button

Submitted by:  Martin Kunz <mkunz>
Submitted on:  Mon 23 Mar 2015 06:59:20 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 21 Mar 2017 07:36:23 PM UTC, comment #8:

The remaining possibilities for closing tabs in the editor and doc browser are implemented by changesets
http://hg.savannah.gnu.org/hgweb/octave/rev/81bc57aa7024
http://hg.savannah.gnu.org/hgweb/octave/rev/fb495c47e82d
http://hg.savannah.gnu.org/hgweb/octave/rev/ac4d0a72927a
http://hg.savannah.gnu.org/hgweb/octave/rev/c4aebfe51a17

Torsten <ttl>
Project Member
Fri 17 Mar 2017 08:20:36 AM UTC, comment #7:

Torsten, this sounds like a good solution. Thank you very much!

Armin Müller <arm_in>
Thu 16 Mar 2017 03:55:02 PM UTC, comment #6:

Armin, thanks for the survey.

Concerning the methods and their status in octave:

I cannot think of other reasons for double clicking on a tab (except for open it in a new window, which is not supported), thus I suggest to implement middle and double-click on the tab for closing, without the possibility of configuration.

Torsten <ttl>
Project Member
Thu 16 Mar 2017 11:28:33 AM UTC, comment #5:

I made a quick survey covering 4 software products, which is not representative. In general, there is a number of common ways to close a tab (using MS Windows, maybe different on Mac and Unix). Most software is offering a number of methods in parallel, for convenience. None of them is offering all.

Mouse
click left on the tab "X" symbol (Firefox, Notepad++, Matlab, Octave)
double-click left on the tab (Firefox via addon, Notepad++ via setting)
click middle on the tab (Firefox, Notepad++, Matlab)
click right tab + context menu + close (Firefox, Notepad++, Matlab)

Keyboard shortcuts
Ctrl + W (Firefox, Notepad++, Matlab)
Ctrl + F4 (Firefox, Matlab, Octave)

Menu
File -> Close (Notepad++, Octave)

Forgot anything?! Maybe...

The other way round:

Firefox is missing
Menu File -> Close
Notepad++ is missing
shortcut Ctrl + F4
Matlab is missing
double-click left on the tab
Menu File -> Close (since R2012b ribbon interface, I guess)
Octave is missing
click middle on the tab (until now)
shortcut Ctrl + W
double-click left on the tab
click right tab + context menu + close

=> In the sense of having functionality orthogonal across different software products, I would like to withdraw my suggestion to make this function configurable. I would rather plead to offer 5 or 6 of the above mentioned methods in parallel.

Armin Müller <arm_in>
Wed 15 Mar 2017 09:19:18 PM UTC, comment #4:

Changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/3cbd3caf19a7
implements the feature for the doc browser (middle mouse button).

A configurable method is possible. Are the double click and the middle button the only possible ways? Should they also work both at the same time or only one of them?

Torsten <ttl>
Project Member
Wed 15 Mar 2017 08:30:07 AM UTC, comment #3:

Another commonly found method to close tabs is by double clicking the tab with the left mouse button, e.g.
Notepad++ (native, via "Settings -> Preferences -> Global -> Tab bar -> Double click to close document")
Firefox (via addon)
Chrome (via addon)
etc.

The present changeset is hard-coded to the middle button. Might it be possibe to make this variable?

Armin Müller <arm_in>
Tue 14 Mar 2017 10:31:54 PM UTC, comment #2:

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/ea143f4f76a5 adds the possibility to close editor tabs with the middle button. An implementation of this feature for the doc browser will follow.

Torsten <ttl>
Project Member
Tue 02 Jun 2015 04:32:17 PM UTC, comment #1:

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Mon 23 Mar 2015 06:59:20 AM UTC, original submission:

It would be very handy if one could close tabs in the GUI editor and in the GUI documentation by clicking on them with the middle mouse button. I guess this would feel intuitive to many users, as Firefox and probably most other browsers support that feature.

Martin Kunz <mkunz>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arm_in (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mkunz (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Mar 2017 07:36:23 PM UTCttlStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Thu 16 Mar 2017 03:55:02 PM UTCttlStatusReady For Test=>In Progress
    Tue 14 Mar 2017 10:32:02 PM UTCttlStatusNone=>Ready For Test
    Tue 14 Mar 2017 10:31:54 PM UTCttlRelease4.0.0=>dev
      Operating SystemMicrosoft Windows=>Any
    Tue 02 Jun 2015 04:32:17 PM UTCjweRelease4.0.0-rc1=>4.0.0

    Back to the top


    Powered by Savane 3.1-cleanup1