** Branch linked: lp:ubuntu/shared-mime-info

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/995067

Title:
  Text files containing 'gtk' are seen as Glade project
  (application/x-glade) files

Status in “shared-mime-info” package in Ubuntu:
  Fix Released
Status in “shared-mime-info” source package in Precise:
  Fix Committed

Bug description:
  Impact: the patch applied before precise to make gtkbuilder files to
  open with glade was not any restrictive and match any text file
  containing "gtk" in its first 256 chars to be listed as a glade file

  Development Fix: the bug is fixed in quantal

  Stable Fix: the fix is a small change to restrict the string from
  "gtk" to variant for what glade writes

  Regression Potential: very limited, it's just glade file detection
  rules

  Test Case:

  - install glade if it's not installed
  - create a file "bug" containing "this file shows the gtk matching issue"
  - browse the directory containing it in nautilus
  -> with the buggy version it has a glade icon and opens with glade (first 
item in the right click menu), with the fix it's displayed as text and open in 
gedit
  - browse /usr/share/gnome-control-center/ui and right click on 
display-capplet.ui or online-accounts.ui (they are different cases of glade 
formatting), the first entry should be glade (before or after the update, i.e 
it should not regress on those)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/995067/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to