Comments (9)
From phase.of.matter on October 07, 2010 10:20:05
Hmmm, yes, it "works" as you describe. As you can see from the Info.plist, quicklook-csv should restrict itself to files with a csv or tsv-extension, but it obviously doesn't. I suppose the behavior you find stems from the compatibility with FileMaker I introduced, despite the file in question having an UTI of "dyn.ah62d4um4ge80g7pf", which is NOT listed by quicklook-csv and therefore should NOT cause quicklook-csv to create an icon.
I'll need to investigate further.
from quicklook-csv.
From reeves.87 on November 25, 2010 01:51:16
FYI dyi. anything is a random auto generated UTI. You can not depend on them for reliable mapping of files any more the an DHCP generated ip address can be used as a reliable way of remotely connecting with a machine. They way stay constant for a long time but this not guaranteed to be to case even on the same machine. I found two such entries in your plist file. I don't know if its causing this particular problem but it will cause similar headaches in the future. The correct way of doing this is to define UTImportedTypeDeclarations in Info.plist. See http://developer.apple.com/library/mac/#documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html for details. You may need to use to the lsregister command to get the mapping to update.
from quicklook-csv.
From phase.of.matter on November 25, 2010 07:39:53
@reeves.87:
The random UTIs you found are the ones that actually made this plugin work back in 10.5 when there was no UTI for CSV and TSV. They were the same for a lot of users and the only option to make this plugin work. See the Wiki of this project.
UTImportedTypeDeclarations are for Applications but irrelevant for QuickLook plugins, see http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/Articles/QLProjectConfig.html#//apple_ref/doc/uid/TP40005020-CH5-SW5
In this issue, QuickLook uses two generators to produce a preview, which already by itself is a bug. Why QuickLook is used in the first place is unknown to me as the UTI that "qlmanage" gives me is not even supported by the plugin.
from quicklook-csv.
From reeves.87 on November 27, 2010 01:20:31
Sorry my brain went out the window. There is an alternative but no need to fix what isn't broken. In any case this problem is clearly unrelated.
from quicklook-csv.
From phase.of.matter on November 27, 2010 09:30:33
It was worth mentioning, made me check the plist again, maybe it would have led to something.
from quicklook-csv.
From [email protected] on August 27, 2011 23:26:17
Any update on this? For anyone that uses TextWrangler on a regular basis (and I bet, being free and still gorgeous) this is a pretty annoying issue.
from quicklook-csv.
From [email protected] on August 27, 2011 23:29:34
Seems to be fixable if one removes the following node from Info.plist
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>tsv</string>
<string>tab</string>
</array>
<key>CFBundleTypeName</key>
<string>FileMaker</string>
<key>CFBundleTypeRole</key>
<string>QLGenerator</string>
<key>LSItemContentTypes</key>
<array>
<string>com.apple.traditional-mac-plain-text</string>
</array>
<key>LSTypeIsPackage</key>
<false/>
<key>NSPersistentStoreTypeKey</key>
<string>XML</string>
</dict>
from quicklook-csv.
From [email protected] on August 28, 2011 19:38:26
Well, "fixable" is the problem. If you remove this section, the plugin won't work anymore for FileMaker tab separated files. I would have to run some tests first, but I no longer have access to pre-10.7 machines so I fear of breaking it for those relying on it to display tab-separated files. On the other hand I could just update it for Lion-Users and state that it might brea for Tab-files pre 10.7. We'll see, I currently don't have time for this but will take a note, thanks!
from quicklook-csv.
From phase.of.matter on October 24, 2012 00:21:30
I can't reproduce this on 10.8, so for the sake of not breaking the plugin for FileMaker I won't take action on this.
from quicklook-csv.
Related Issues (20)
- Niciety: a few test.csv files to play with on .dmg HOT 1
- QuickLookCSV renders wrong amount of columns under certain circumstances HOT 10
- [patch] Stop using dynamic UTIs and instead import the standard/system UTIs HOT 3
- testBig.csv HOT 4
- changing QuickLookCSV's trying encoding HOT 2
- ALE file extension HOT 5
- More delimiters like semicolon HOT 2
- Update download location HOT 3
- Fails on very large data files HOT 1
- Feature Request: + as a delimiter HOT 1
- File extensions are ignored HOT 5
- Possible to display not just as an small thumbnail in finder? HOT 6
- Parsing fails on comma-separated data with escaped double quote
- Cross-Site Scripting (XSS) vulnerability
- CSV files are not rendered anymore by QuickLookCSV but by Apple's Office.qlgenerator in macOS 10.15 Catalina and macOS 11 Big Sur HOT 3
- Plugins (User) links to dev's home folder
- feature request: lazy load HOT 1
- csv preview (thumbnail preview) causes quicklookd to crash HOT 1
- Crash when previewing small files HOT 2
- Feature request: Header remains on top while vertical scrolling HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicklook-csv.