Gedit icon is missing

Bug #884136 reported by Sasa Stamenkovic
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Invalid
Low
Unassigned

Bug Description

After Ubuntu upgrade from 11.04 to 11.10 and Gedit update, it happends that Gedit icon is missing in the app menu.

Please check screen attached.

If you need any additional info, I will provide.

Tags: gedit icon
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Looks like it happends only when I open files from Nautilus. When I launch gedit from app launcher, icon is there, but when no active Gedit instance and I double click on text file in Nautilus, Gedit is opened and icon is not visible.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what locale do you use? Does it happen in a guest session? I can't confirm the issue there

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

I use english, default locale, no additional locales instlaled.

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

@Sebastien Bacher Did you open file from Nautilus remote location (ex remote FTP server)?

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

no, is that specific to remote locations?

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

just tried with a ftp file, the icon is still displayed

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

@Sebastien Bacher But when opening file, gedit is not running, right? It only happens when there is no active gedit instance, and you open file from a remote location.

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

right, I've no gedit running, I connect to ftp.gnome.org and open the robots.txt there by double clicking on it, that opens gedit which correctly get an icon

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Does not work for me.

Nautilus 3.2.1
Gedit 3.2.1

Do you use same versions?

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

yes, did you try in a guest session?

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

@Sebastien Bacher Hm, yes, and you are right, in the guest session icon is there.

So, bug only appear when I login as Sasa. What does that mean?

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

it likely means that the issue has to do with your user settings, do you use the standard theme, icon theme, etc or did you tweak those settings?

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Nope, everything is standard as you can see from screenshots. No custom settings, standard unity settings. Started to happen after Ubuntu upgrade.

Can I provide some additional info to help you reproducing the bug?

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

> Can I provide some additional info to help you reproducing the bug?

Not that I can think of for now, I'm running out of idea about what could create that issue

Changed in gedit (Ubuntu):
status: Incomplete → New
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

I have just tried this at home, and it works. So it's just my computer at work.

I keep them both in same versions, same apps installed, same settings...really strange.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Another thing I noticed.

When Gedit is opened from launcher, it has icon, then when I open some file from Nautilus (double click) it opens file in a new window instead in a new tab in already opened Gedit instance. Is this expected behavior?

I'm afraid I have two Gedits installed, one invalid used by Nautilus (no icon), and one regular run from launcher.

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

does moving .local/share/applications somewhere else (or renaming ità fixes the issue? that's where your user customization for softwares to use are stored

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Ugh, here is what I did.

>cd .local/share/applications/
>ll
-rw-r--r-- 1 umpirsky umpirsky 137 2011-05-17 14:53 userapp-gedit-4H0OVV.desktop
-rw-r--r-- 1 umpirsky umpirsky 137 2011-05-17 14:49 userapp-gedit-572WVV.desktop
-rw-r--r-- 1 umpirsky umpirsky 137 2011-05-17 13:39 userapp-gedit-Q110VV.desktop
-rw-r--r-- 1 umpirsky umpirsky 137 2011-05-19 08:31 userapp-gedit-TAYNVV.desktop

>cat userapp-gedit-4H0OVV.desktop

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=gedit %f
Name=gedit
Comment=Custom definition for gedit
NoDisplay=true

// And all 4 files look same.

>mkdir bak
>mv userapp-gedit-* bak/

After I moved files, when I open gedit it does not show up in Alt+Tab preview, and it is not selected in launcher menu. So when I leave window, I can't return back to it. Problem resists even if I move .desktop diles back.

So now I have new problem. Any idea?

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

did you try restarting your session have moving those?

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Ah, ok.

After removing .desktop files and restarting session, problem is solved.

Everything works now except now Epiphany was default app in Nautilus instead Gedit, but that was easy to change.

I don't know how come I have 4 .desktop files for Gedit, probably updates, uninstall/install.

Thanks.

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

ok, closing the bug, those are user config files, not coming from gedit or from the installation, they might have been written by nautilus when using "open with" or some other software, not a bug in gedit though so I'm closing the ticket

Changed in gedit (Ubuntu):
status: Confirmed → Invalid
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.