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 - Kate no longer recognizes shell scripts to use syntax highlighting
Summary: Kate no longer recognizes shell scripts to use syntax highlighting
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2014
  Show dependency treegraph
 
Reported: 2014-10-07 21:02 CDT by Darrell
Modified: 2014-10-08 11:32 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.