Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 190289
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Vim Maintainers <vim@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chidambar "ilLogict" Zinnoury <illogict@online.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gvim.desktop corrected desktop file for gvim text/plain Chidambar "ilLogict" Zinnoury 2007-08-26 11:04 0000 851 bytes Details
gvim.desktop corrected desktop file for gvim (v2) text/plain Chidambar "ilLogict" Zinnoury 2007-08-26 14:12 0000 825 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190289 depends on: Show dependency tree
Bug 190289 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-26 11:03 0000
Currently, gVim desktop file (/usr/share/applications/gvim.desktop) Exec entry
reads:
Exec=gvim -f
When using a file manager on which we assigned gvim to open a file, the file
manager will not pass the selected file's location.
gvim accepts URIs, so using %U is expected.

Reproducible: Always

Steps to Reproduce:
1. Assign a file type to gvim.
2. Open a file.
Actual Results:  
gvim opens with no file.

Expected Results:  
gvim should open the selected file.

------- Comment #1 From Chidambar "ilLogict" Zinnoury 2007-08-26 11:04:46 0000 -------
Created an attachment (id=129215) [details]
corrected desktop file for gvim

------- Comment #2 From Arfrever Frehtes Taifersar Arahesis 2007-08-26 13:48:58 0000 -------
$ desktop-file-validate gvim.desktop
gvim.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
gvim.desktop: error: value
"text/css;text/html;text/htmlh;text/plain;text/rss;text/sgml;text/x-adasrc;text/x-authors;text/x-c++hdr;text/x-c++src;text/x-copying;text/x-credits;text/x-csharp;text/x-csrc;text/x-dtd;text/x-fortran;text/x-gettext-translation-template;text/x-gettext-translation;text/x-gtkrc;text/x-haskell;text/x-idl;text/x-install;text/x-java;text/x-js;text/x-ksh;text/x-ksysv-log;text/x-literate-haskell;text/x-log;text/x-makefile;text/x-moc;text/x-msil;text/x-nemerle;text/x-objcsrc;text/x-pascal;text/x-patch;text/x-readme;text/x-scheme;text/x-setext;text/x-sql;text/x-tcl;text/x-tex;text/x-texinfo;text/x-troff-me;text/x-troff-mm;text/x-troff-ms;text/x-uil;text/x-vb;text/xml"
for string list key "MimeType" in group "Desktop Entry" does not have a
semicolon (';') as trailing character
gvim.desktop: warning: value "Application;Development;" for key "Categories" in
group "Desktop Entry" contains a deprecated value "Application"
$ 

------- Comment #3 From Chidambar "ilLogict" Zinnoury 2007-08-26 14:12:43 0000 -------
Created an attachment (id=129239) [details]
corrected desktop file for gvim (v2)

------- Comment #4 From Chidambar "ilLogict" Zinnoury 2007-08-26 14:13:23 0000 -------
Well, I originately only added %U, but here is modified version which should
address warnings and errors.

------- Comment #5 From Ali Polatel (RETIRED) 2007-09-27 10:17:15 0000 -------
vim-7.1.123 which is in CVS uses a new gvim.desktop file. %U is known to have
problems with unicode filenames[1] so I changed it to gvim -f %F
Thanks for reporting ;)

[1]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406586
     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426243

------- Comment #6 From Chidambar "ilLogict" Zinnoury 2007-09-27 16:56:10 0000 -------
Strange, it works for me whatever strange Unicode characters I use (UTF-8
locale) and Enlightenment's integrated file manager. Anyway, it should not be a
problem :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug