gedit should display as Text Editor in Default Applications

Bug #1437395 reported by Mathew Hodson
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

In places related to choosing which application should be used to open a file, the entry should be Text Editor. That is what is used in the Unity menu and dash.

This affects the Default Applications menu in System Settings, the Open With context menu, the Other Application... dialogue, and the Open With tab in the file properties dialogue.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gedit 3.10.4-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-48.80-generic 3.13.11-ckt16
Uname: Linux 3.13.0-48-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Mar 27 11:12:52 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-11-01 (876 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: gedit
UpgradeStatus: Upgraded to trusty on 2014-09-04 (204 days ago)

Revision history for this message
Mathew Hodson (mhodson) wrote :
Revision history for this message
Mathew Hodson (mhodson) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gedit (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream decided of the naming, you can read https://bugzilla.gnome.org/show_bug.cgi?id=590180 about that

Revision history for this message
Mathew Hodson (mhodson) wrote :

It is shown as Text Editor in the Unity Launcher as well as in the Dash (screenshot attached). Was that a change that Ubuntu made or was the upstream decision that it should be Text Editor in some places but gedit in others?

The bug that you linked doesn't seem to reflect the current situation on Ubuntu. It was resolved by using X-GNOME-Fullname=gedit Text Editor, but that isn't used anywhere that I can see.

Revision history for this message
Sebastien Bacher (seb128) wrote :

What you describe is an upstream GTK bug it seems, the application chooser doesn't use the correct key to display the title

affects: gedit (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Mathew Hodson (mhodson) wrote :

This still affects Ubuntu 16.04.

I see that gnome-software shows the title as gedit rather than Text Editor. That leads me to believe that there is a problem with the .desktop files or the appstream info gedit is providing.

Maybe Unity is using a special value and that's why Unity shows Text Editor in the Dash but gedit is used everywhere else.

Mathew Hodson (mhodson)
no longer affects: hundredpapercuts
Revision history for this message
Mathew Hodson (mhodson) wrote :

This bug was fixed in the package gedit 3.20.2-2ubuntu1

--
gedit (3.20.2-2ubuntu1) yakkety; urgency=medium

  [ Jeremy Bicha ]
  * Merge with Debian (LP: #1582449). Remaining changes:
    - debian/control.in:
      + gedit replaces gedit-common (<< 3.18.1-1ubuntu1)
      + bump gnome-pkg-tools build-depends version for compatibility rule
    - debian/rules:
      + create compatiblity desktop file for upgraders
      + Build without --Bsymbolic-functions to fix issues
    - debian/patches/02_add_keywords.patch:
      + Add new keywords for unity and gnome-shell
    - debian/patches/05_menu_label.patch:
      + Don't display in menu as "gedit Text Editor"
    - debian/patches/07_use_del_instead_ctrl_del.patch:
      + Use Delete, not Ctrl+Delete, to delete files in file browser
        side panel to match Nautilus behavior
    - debian/patches/unity_no_csd.patch:
      + don't use GtkHeaderBar decorations under Unity
  * debian/patches/unity_no_csd.patch:
    - Refreshed

  [ Rico Tzschichholz ]
  * Refresh patches

  [ Iain Lane ]
  * Use DEB_LDFLAGS_MAINT_STRIP to strip off -Bsymbolic-functions
  * debian/patches/unity_no_csd.patch: Don't fork the .ui file - this makes it
    more difficult to keep up with upstream changes. Instead, move the widgets
    around manually in code.
  * debian/patches/0001-Allows-to-have-the-close-button-on-the-left-corner.patch:
    Take patch from bgo #745381 to hopefully fix the close button in all cases.

affects: gtk+3.0 (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Fix Released
affects: ubuntu → gedit (Ubuntu)
Revision history for this message
Mathew Hodson (mhodson) wrote :

It looks like it was these two changes that fixed it.

diff -Nru gedit-3.18.3/data/org.gnome.gedit.desktop.in gedit-3.20.2/data/org.gnome.gedit.desktop.in
--- gedit-3.18.3/data/org.gnome.gedit.desktop.in 2016-01-14 10:20:24.000000000 +0000
+++ gedit-3.20.2/data/org.gnome.gedit.desktop.in 2016-05-08 09:44:51.000000000 +0000
@@ -1,21 +1,20 @@
 [Desktop Entry]
-_Name=gedit
-_GenericName=Text Editor
+_Name=Text Editor

diff -Nru gedit-3.18.3/data/org.gnome.gedit.desktop.in.in gedit-3.20.2/data/org.gnome.gedit.desktop.in.in
--- gedit-3.18.3/data/org.gnome.gedit.desktop.in.in 2016-01-14 09:48:09.000000000 +0000
+++ gedit-3.20.2/data/org.gnome.gedit.desktop.in.in 2016-04-23 14:25:53.000000000 +0000
@@ -1,13 +1,12 @@
 [Desktop Entry]
-_Name=gedit
-_GenericName=Text Editor
+_Name=Text Editor

Revision history for this message
Mathew Hodson (mhodson) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.