Comments (4)
It is possible that this could be due to a flaw in the mechanism used to distinguish between binary and ascii text files. Like many binary files, there are ascii elements, in particular, the header used to define the file type.
from amazefilemanager.
Uh huh... Futils.java lines 528 or 532.
Actually, it would be nice to be able to disable all the built-in file handlers altogether, since there are a lot of applications capable of opening all of the types that the built-in handlers are able to open. While it is nice to have a fallback, these handlers are somewhat simplistic. Sometimes it is nice to hand the file over to applications that are devoted to that specific function.
For example, you don't want gedit or windows notepad to take over all text file handling on a desktop, rather something more powerful, like vi, emacs, notepad++, etc. Same on Android.
I would really like the option to NOT USE the integrated file handlers. Instead of loading activities to handle these files internally, handle everything as "openunknown". Create intent filters for the internal handlers, and let the system choose whether to let the file manager handle them, or some other application.
from amazefilemanager.
Icons.java defines a whole bunch of non-plaintext files as "text", presumably for the purpose of selecting an icon to display. Futils.java queries Icons.java and is mislead into believing that those types should be loaded as plaintext. Icons.java:179-189 are the offending lines causing this problem. Registering intent filters with the system would avoid this entire problem by passing mimetype and uri to the system to deal with, instead of making bad assumptions.
from amazefilemanager.
Temporary hack fix; move what is currently on line 178 of Icons.java down to line 189. This would redefine all those word processor document as.... word processor documents.
from amazefilemanager.
Related Issues (20)
- Crash reported by None HOT 1
- Crash reported by Lowerclasswarfare HOT 1
- `NoClassDefFoundError` on `LoadFilesListTask#listSmb` HOT 1
- Improve the List View for TalkBack Users
- Crash reported by hayrett HOT 1
- NPE on `MainFragment#computeScroll` HOT 1
- Crash Log HOT 1
- SFTP over OpenSSH server doesn't work HOT 16
- android folder on sd card HOT 1
- Crash reported by furryhacker69 HOT 1
- Crash reported by None HOT 1
- Search in Recent Files
- Cannot search or rename files within Documents HOT 1
- Failed to connect by SMB HOT 1
- Sorting by relevance when search fails causes crash HOT 3
- Crash reported by xyznobody799 HOT 1
- Crash reported by Neal HOT 1
- Rotate the screen after entering text during the search, and the text disappears HOT 3
- Crash reported by "Olaf HOT 1
- Crash after opening a video file HOT 1
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 amazefilemanager.