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 155612 - remove the preferred app/text editor tab ?
remove the preferred app/text editor tab ?
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Preferred applications
2.11.x
Other Linux
: Normal minor
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 136230 152263 166372 166923 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-17 00:20 UTC by Sebastien Bacher
Modified: 2009-11-14 18:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
hide the text editor tab (867 bytes, patch)
2004-11-22 09:27 UTC, Marco Pesenti Gritti
committed Details | Review

Description Sebastien Bacher 2004-10-17 00:20:28 UTC
The current code uses the old mime system, so it needs to be removed or to be
rewritten for the new mime system. Is there any good reason to keep it here ?
This association is a standard mime one and should be done in nautilus like the
other ones ...

Let me know if you think that should be removed, I'll write a patch for this.
Comment 1 Marco Pesenti Gritti 2004-10-29 08:54:32 UTC
I think it should go. See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136784 for an example on
how it can confuse people.

Bryan what do you think ?
Comment 2 André Dahlqvist 2004-10-29 10:07:14 UTC
*** Bug 136230 has been marked as a duplicate of this bug. ***
Comment 3 Bryan W Clark 2004-10-29 20:13:21 UTC
Marco: yea, the text editor preference is obsolete now.  Everything is handled
through the MIME interface so we should look to removing this item.  

But I might hold off on a patch for it right now since the control-center is
getting an overhaul for this gnome-2.10 timeframe.  I think I'm supposed to
build a web of tracking bugs for how the control-center is being redone.  I'll
cc Marco and Sebastien on that bug if you guys would like.

Anyway, the others are broken URL handlers which need to stay for a little while
longer (until we have a good fix for that too).  And the terminal will probably
never leave.
Comment 4 Sebastien Bacher 2004-10-29 20:27:00 UTC
What do you mean by " the control-center is getting an overhaul for this
gnome-2.10 timeframe" ?

Do you have more details on what's being changed for 2.10 ? I had the feeling
that the control-center was not really actively developped during the 2.7/2.8
cycle and would like to help for 2.9/2.10 so please Cc me on the interesting bug
yes.

BTW what's broken with the URL handlers ? 
Comment 5 Sebastien Bacher 2004-11-22 00:05:38 UTC
could we take a decision on this ? People keep using it and wonder why it
doesn't work ...
Comment 6 Sebastien Bacher 2004-11-22 00:08:54 UTC
*** Bug 152263 has been marked as a duplicate of this bug. ***
Comment 7 Marco Pesenti Gritti 2004-11-22 09:27:44 UTC
Created attachment 34021 [details] [review]
hide the text editor tab

I propose we check this one in on both branches. Even if we are still unsure
where we are going for 2.10 a quick fix for this is really necessary. We
shouldnt ship not working UI ...
Comment 8 Sebastien Bacher 2004-11-26 15:38:43 UTC
Ok, no reply from the maintainers, I've commited the one line change to the
glade file to hide the "Text Editor" tab to gnome-2-8 and HEAD, I hope that's ok.
Comment 9 Bryan W Clark 2005-01-02 04:30:26 UTC
Closing this as FIXED since it has been commited and fixed.
Comment 10 Sebastien Bacher 2005-01-02 11:21:21 UTC
I disagree, this is a workaround. There is no point to keep the code if it's not
used. Should we removed the code too ? Is there any plan to adapt this capplet ?
Comment 11 Sebastien Bacher 2005-02-05 17:09:00 UTC
*** Bug 166372 has been marked as a duplicate of this bug. ***
Comment 12 Sebastien Bacher 2005-02-10 16:58:56 UTC
*** Bug 166923 has been marked as a duplicate of this bug. ***
Comment 13 Sean Quaint 2005-02-24 09:09:03 UTC
Is there a workaround to actually have the file manager open the correct text
editor?  Hiding the option to set the default editor is one thing ... how does
one actually set the default editor.  I've been using vi too long now to switch
the emacs.
Comment 14 Sebastien Bacher 2005-02-24 12:23:26 UTC
right click on a text file in nautilus, properties, open with
Comment 15 Tim Cooijmans 2005-02-25 20:20:46 UTC
That doesn't work. It opens it in the editor of choice once (because that's what
I've chosen to open it with), then I click the file again, and it'll open in the
old default.
Comment 16 Braden 2006-04-01 06:26:32 UTC
It does work; however, the situation now seems to be that every particular kind of text file needs to have this set independently. That's a lot more work than should be necessary.
Comment 17 Paul Smith 2006-08-25 16:58:43 UTC
Braden is absolutely correct here IMO: there must be a way to set the default editor for the entire system at once, without having to go through every possible MIME type and set it individually (or at least without the _USER_ having to do it)--that's just ridiculous!

Also, the documentation for this is all messed up: it hasn't been updated at all since these changes were made.  I'm looking at Desktop User Guide -> Configuring Your Desktop -> Preferred Applications, and it still talks about separate tabs for web browser and email client (which are now combined on the "Internet" tab) and terminal emulator (which now exists on the System tab), and text editor, which doesn't exist at all anywhere.  Very confusing.


BTW, I'm using Ubuntu 6.06.1.
Comment 18 Paul Smith 2006-08-25 17:08:55 UTC
I filed a separate doc bug about that issue.
Comment 19 Thilo 2007-07-12 10:43:45 UTC
Maybe one should think about how one can do the MIME configuration with this piece of software, too. I find the right click mime setting a bit complicated, too. So to have again other tabs for Text, etc.
Comment 20 Michael Miceli 2009-04-16 20:44:20 UTC
I was wondering if anything has been done in this area.  The preferred applications menu is still there, but this thread is suggesting we don't use it?  The text section is still commented out.  Why can't we change the code to use the new mime configuration, so that changing it there would be the same as right clicking?
Comment 21 Thomas Wood 2009-11-14 18:23:22 UTC
We already have a bug about setting mime-type associations (bug 169670).

Since the original issue has been resolved, this bug should remain closed and further discussion about setting the application for text editing should happen on bug 169670.