By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2148

Summary: Kate no longer recognizes shell scripts to use syntax highlighting
Product: TDE Reporter: Darrell <darrella>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella, kb9vqf, michele.calgaro
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2014    

Description Darrell 2014-10-07 21:02:11 CDT
With the recent mime changes, kate no longer auto-recognizes shell scripts, unless the file uses an .sh extension.

To verify:

* Temporarily rename $TDEHOME/share/apps/kate/metainfo.
* Start kate.
* Open a shell script that does not use an extension.
* Verify the shebang is either /bin/sh or /bin/bash.
* Verify no syntax highlighting.
Comment 1 Darrell 2014-10-07 21:02:56 CDT
When I revert to a package set from Oct. 1 that still uses kmimemagic, kate auto-recognizes shell scripts.
Comment 2 Darrell 2014-10-07 21:09:08 CDT
I verified the bug is not profile remnants. A fresh profile exhibits the same bug.
Comment 3 Timothy Pearson 2014-10-08 00:46:13 CDT
This had the same root cause as the Konqueror unknown file type issue; Kate didn't know what to do with the newer mimetypes and therefore didn't load any syntax rules files.

This should be fixed in GIT hash a44c924; please test and confirm.

Thanks!
Comment 4 Michele Calgaro 2014-10-08 03:46:45 CDT
Looks ok here, thanks!
Comment 5 Timothy Pearson 2014-10-08 09:51:56 CDT
Closing bug.

Thanks for reporting!
Comment 6 Darrell 2014-10-08 11:32:20 CDT
Looks good. Thanks.