After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105196 - Preference for SDI mode of operation
Preference for SDI mode of operation
Status: RESOLVED WONTFIX
Product: gedit
Classification: Applications
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 158806 305683 306416 (view as bug list)
Depends on:
Blocks: 131953
 
 
Reported: 2003-02-04 07:59 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2014-04-02 18:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
messed up widths now :( (22.81 KB, image/png)
2006-04-10 18:22 UTC, Alexander “weej” Jones
  Details
Patch for optional SDI (18.51 KB, patch)
2008-03-30 07:06 UTC, Leo Howell
none Details | Review

Description Dave Bordoley [Not Reading Bug Mail] 2003-02-04 07:59:35 UTC
it would be nice if there was a preference for SDI type interaction, for
those of use who don't like mdi.
Comment 1 Ralph Aichinger 2003-06-05 08:49:36 UTC
I very much second this! 

And in a potential SDI mode, I think there should be no
tabs visible at all IMHO.

2 reasons, really:
 
 a) I want it to spawn a new window each time, so e.g.
    I can easily compare READMEs side by side. I am
    aware that tabs can be torn off, but I would love
    to have a more "direct" solution.
 
 b) Reduces visual clutter, especially when used as
    above.
 
To me having a gconf key to turn on a behaviour like
this would be more than enough. 

Basically what I want is gedit acting like epiphany:
Having the potential of using tabs, but not showing
it, if the user does not like it. It makes even more
sense with gedit, as it starts practically immediately.

/ralph -- I miss my TeachText/SimpleText
Comment 2 Lars Weber 2003-07-24 11:11:58 UTC
Personally I do even think that sdi should be the default.

The HIG says: "MDI has several inherent usability problems, so its use
is not encouraged in new GNOME applications."

I can see some argument for why a text-editor might allow the use of
tabs, and it's basically the same as for terminals or web-browsers:
that it's not uncommon for some users of these applications to open
many different documents at once. For those people (so one might argue
at least) the availability of tabs greatly increases the usefulness of
the application.

However, as for the terminal, I fail to see how this is true for gedit
for the vast majority of users, i.e. those users that only
occasionally open a single text document for inspection or editing. As
gedit aims to be the default text-editor for GNOME I think such users
need to be a priority.
Comment 3 Markus Bertheau 2004-05-11 21:45:14 UTC
I strongly second this - gedit should behave like epiphany in regard to tabs.
Also if I open a file that is already opened in gedit, it should switch to that
tab instead of opening a new tab with a second copy of the document.
Comment 4 Alan Horkan 2004-09-13 20:03:03 UTC
didn't gedit allow for SDI before GTK2?  

I always figured there must still be an option for this somewhere (or was it
ripped out completely?) even though it might be buried in a config file (or
gconf) somewhere.  
Comment 5 Paolo Borelli 2004-11-20 11:53:24 UTC
*** Bug 158806 has been marked as a duplicate of this bug. ***
Comment 6 Mike Stoddart 2005-03-17 01:37:41 UTC
I prefer the Kate (yes it's a KDE app) way of doing things. I like having the
list of filenames on the left of the window, so I can just click on a filename
to switch to that buffer. I find it much easier to work with when there are
multiple files.
Comment 7 Olav Vitters 2005-05-27 18:07:46 UTC
*** Bug 305683 has been marked as a duplicate of this bug. ***
Comment 8 Olav Vitters 2005-06-03 21:38:58 UTC
*** Bug 306416 has been marked as a duplicate of this bug. ***
Comment 9 Alexander “weej” Jones 2005-06-03 21:54:40 UTC
I'm gonna vouch for this. SDI is the way forward.
Comment 10 Paolo Borelli 2005-12-15 23:01:07 UTC
I am removing this from the blocker list of bug #131953.


I am leaving this open since it has been for so long... though I don't think
this is gonna change anytime soon. gedit is a tabbed text editor, like many
others text editors that are widely used in other platforms (UltraEdit,
EditPlus, TextMate to name a few).
Comment 11 Dmitriy Kropivnitskiy 2006-01-03 19:50:48 UTC
This is just my view of this, but "gedit is a tabbed text editor" has not been the fact all the way to 2.10 or something, this change was rather abrupt and surprising. As far as the actual usability, generally, if I am going to do some serious work, I will open an appropriate tool, but if I just want to look at the content of a text file I will click on it in nautilus and expect a gedit window to popup. Instead, if I already have a gedit window in another workspace visually nothing will happen after a click. I believe that this behaviour is confusing.
Comment 12 Paolo Borelli 2006-01-03 19:55:40 UTC
gedit has had tabs since version 0.X, 7 years ago or something like that.


> Instead, if I already have a gedit window in another workspace
> visually nothing will happen after a click. I believe that this behaviour is
> confusing.

This is a bug. Actually it *was* a bug. It was present just in one version of gedit and it has been fixed for a long time. If a gedit window is already present *in the current workspace*, then a tab is added there and the window is brought to the front, otherwise a new window is opened.
Comment 13 Dmitriy Kropivnitskiy 2006-01-03 20:05:01 UTC
OK, so you prefer gedit to behave inconsistently (opening either a new tab or a new window without any guide to the user as to why either behavior is chosen) rather then give user an option to control this. BTW, will it raise gedit window to the front and raise the new tab to the front when "new tab" behavior is used?
Comment 14 Paolo Borelli 2006-01-03 20:15:49 UTC
> without any guide to the user as to why either behavior is chosen

how so? if there is a gedit window open, it is used otherwise a new one is created. Hardly unpredicatble.

The new tab is raised to the top
Comment 15 Alexander “weej” Jones 2006-01-03 21:57:26 UTC
MDI is f***ing horrible.

I tell you what's unpredictable. Open three text files, "one", "two" and "three". Minimize the window. What do you see on your Window List? "three (~) - gedit".

This needs to be changed. I totally 100% disagree with this whole "tab" phenomenon, it's a sign that the Window Manager is failing to do its job properly. Windows XP's window grouping is terrible, and wnck's even worse.
Comment 16 Alexander “weej” Jones 2006-04-10 18:22:44 UTC
Created attachment 63182 [details]
messed up widths now :(
Comment 17 Alexander “weej” Jones 2006-04-10 18:24:27 UTC
Er, somehow that posted to the wrong bug. GG WP Bugzilla!
Comment 18 jessevdk@gmail.com 2006-06-17 12:26:18 UTC
I've implemented SDI mixed with MDI (when appropriate) in a separate CVS branch (sdi_mdi). You can check it out if you like. No promises are made that this will get into HEAD, but still it's a start.
Comment 19 NoWhereMan 2007-11-20 17:17:58 UTC
has this been definitely dropped?
Comment 20 Philip Ganchev 2007-12-23 07:55:09 UTC
I absolutely agree MDIs (TDIs) are horrible in usability.  Switching tabs is modal, as it requires different UI gestures than switching between windows.  This leads to mode errors and user mental effort.  When another application opens a new document in Gedit, the user wonders where the old Gedit window went.  The open documents are not visible in the task bar.  The tab bar wastes wcreen space, as the windows would be compactly displayed in the panel task bar.  You can't put documents side by side to compare them visually before you put them in separate windows.  All wastes user's time and efort, and all this is the job of the window manager which every window manager does well. Even the HIG recommends against MDI.

Why do you insist on keeping Gedit's MDI?  Why can't you at least provide a gconf key to disable it by default?  You are not thinking rationally about Gedit's usability and are disregarding the work in the HIG.
Comment 21 Leo Howell 2008-03-30 07:06:31 UTC
Created attachment 108261 [details] [review]
Patch for optional SDI

Somebody might find this useful. With this patch the user can choose to either
1) Open all docs in new tabs (MDI, like now)
2) Open all docs in new windows (SDI)
3) Open docs in new windows only if opened from outside gedit

Option 3 is inconsistent, but I find it's the behaviour that works best for me.
Comment 22 NoWhereMan 2008-06-20 19:33:32 UTC
nice patch, works perfectly
Comment 23 Alexander Khodyrev 2009-12-06 22:48:04 UTC
Any chance of seeing this in a released version?
Comment 24 jessevdk@gmail.com 2009-12-07 11:40:54 UTC
The patch I once did is hopelessly outdated. However, we are restructuring the internals with regard to document/view management for gedit 3.0 (which should be released in about a year), and it would be nice to see if we can incorporate SDI behavior if we are restructuring anyway.
Comment 25 Paolo Borelli 2014-03-30 14:41:50 UTC
We went through another design iteration in 3.12 and tabs are still there (though when using a single document they are hidden and with ctrl+N you can easily get a new window).

No point keeping this 10 years old bug open
Comment 26 Alexander “weej” Jones 2014-04-01 00:19:51 UTC
Disappointing. AFAIK, KDE has tabbing as part of its window manager, which is clearly a better design.
Comment 27 Paolo Borelli 2014-04-01 06:04:22 UTC
Does keeping open a 10 year old bug with no activity in the last 5 make it any less disappointing? If you think it belongs to the WM convince gnome-shell people.
Comment 28 Alexander “weej” Jones 2014-04-02 18:47:19 UTC
Closing valid feature requests just because they are old doesn't score any points. In fact, it's disrespectful to those who have made the effort to contribute to them in the past, in terms of comments, patches, or even just consideration. I'm sure you have been on the receiving end of this phenomenon, Paolo!

I'm certain that, had this bug not already existed since 5 years ago, many more people would have reported it since. Don't mistake a lack of 'me too' comments for a lack of support for this "feature"!