** Description changed:

+ 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)
+ 
  This has been going on for quite some time in 12.04
  
  Test Case:
- Create a new text file & use gtk in it, ex. - 
+ Create a new text file & use gtk in it, ex. -
  With gtk this is now a glade file
  
  Save
  The file is now a glade project file instead of a text file
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nautilus 1:3.4.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
  Uname: Linux 3.2.0-23-generic-pae i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: i386
  Date: Sat May  5 08:54:08 2012
  GsettingsChanges:
-  org.gnome.nautilus.window-state geometry '1094x623+58+148'
-  org.gnome.nautilus.window-state start-with-status-bar true
+  org.gnome.nautilus.window-state geometry '1094x623+58+148'
+  org.gnome.nautilus.window-state start-with-status-bar true
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120407)
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  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)
- 
- This has been going on for quite some time in 12.04
- 
- Test Case:
- Create a new text file & use gtk in it, ex. -
- With gtk this is now a glade file
- 
- Save
- The file is now a glade project file instead of a text file
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 12.04
- Package: nautilus 1:3.4.1-0ubuntu1
- ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
- Uname: Linux 3.2.0-23-generic-pae i686
- NonfreeKernelModules: nvidia
- ApportVersion: 2.0.1-0ubuntu6
- Architecture: i386
- Date: Sat May  5 08:54:08 2012
- GsettingsChanges:
-  org.gnome.nautilus.window-state geometry '1094x623+58+148'
-  org.gnome.nautilus.window-state start-with-status-bar true
- InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120407)
- ProcEnviron:
-  TERM=xterm
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- SourcePackage: nautilus
- UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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