← Back to team overview

registry team mailing list archive

[Bug 393241] Re: Text files changes default launching software

 

Launchpad has imported 3 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=22534.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-06-29T10:10:58+00:00 Nicklas W Bjurman wrote:

Please describe the problem:
As I enter a space into the text file. The text file changes content-type for
an unknown unexplainable reason and hence changes default launching software as
well. In this case to Grapviz dot.

Steps to reproduce:
1. Enter into gedit, "Automatically add <p> </p> aruond paragraphs of text,
unless the paragraph"
2. Save
3. Add a space and save(it is now detected as a Graphviz dot file)

Actual results:
First when the file is saved it is detected as text
After adding a space to the end of the line it is however detected as Graphviz
dot

Expected results:
Keep being detected as a text file.

Does this happen every time?
Yes

Other information:
http://launchpadlibrarian.net/28490754/Screenshot-1.png
http://launchpadlibrarian.net/28490767/Screenshot-2.png

comment(http://bugzilla.gnome.org/show_bug.cgi?id=587322#c1) from previously malfiled bug:
This is not a problem in gedit but in the shared-mime-info. I found the
following magic rule for graphiz dot files:

<match value="graph " type="string" offset="0:256"/>

Which nicely matches "... paragraph ". Please file a bug against
shared-mime-info (http://freedesktop.org/wiki/Software/shared-mime-info)

Reply at: https://bugs.launchpad.net/gedit/+bug/393241/comments/3

------------------------------------------------------------------------
On 2009-10-06T05:23:11+00:00 David Faure wrote:

Fixed (changed the 0:256 into 0; people using comments in their .dot
file can just call it ".dot" or ".gv" and won't need magic).

The fix will be in the next release after 0.60 (I guess it will be
called 0.70)

Reply at: https://bugs.launchpad.net/gedit/+bug/393241/comments/5

------------------------------------------------------------------------
On 2009-10-06T05:23:31+00:00 David Faure wrote:

Marking as fixed.

Reply at: https://bugs.launchpad.net/gedit/+bug/393241/comments/6


** Changed in: shared-mime
   Importance: Unknown => Medium

-- 
Text files changes default launching software
https://bugs.launchpad.net/bugs/393241
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for gedit.