Comments (3)
@nvllz π Thanks for the report.
My concern: If we merge the folders, what should we do if both the folders contain a file that has the same name?
We can just skip the duplicated ones and merge the rest β however that may cause confusion:
An example: Many users use Amarok to hide visual novel game data. If a user starts the launcher by accident when data is still in the hidden state, the launcher is expected to produce lots of configs or log files. These files have the same name as the hidden ones. And merging them could lead to game data corruption which is hard to fix. If we just leave the merge task to the user, the user can simply delete the newly generated folder.
And my solution to your problem: set all the inner nested folders (like DCIM/Screenshots
) rather than the outmost one (DCIM
) to hide. Amarok doesn't apply obfuscation to the folder directly set to hide, it just hides the folder contents. Yeah that may have several drawbacks, but that's better than the data corruption.
from amarok-hider.
An example: Many users use Amarok to hide visual novel game data. If a user starts the launcher by accident when data is still in the hidden state, the launcher is expected to produce lots of configs or log files. These files have the same name as the hidden ones. And merging them could lead to game data corruption which is hard to fix. If we just leave the merge task to the user, the user can simply delete the newly generated folder.
The only solution I can think of is to first check for any files before processing if there is already a catalog with the same name, and if there are any files there, let the user decide whether to merge or skip processing for that catalog. If it's too complex, If it's too complex, I can stick to what you said below, but the hiding of the folder name is one thing that I would like to achieve here.
from amarok-hider.
let the user decide whether to merge or skip processing for that catalog
That's where the problem is. The hiding process is performed in a background thread (so it can be triggered by the QuickSettings switch or the PanicButton). Popping out a dialog from background service is generally discouraged by Android and has lots of limitations. Instead, I can try sending a notification to notify the user about the failure & provide a button to auto-merge the folders β no guarantee, I'll have a try later.
from amarok-hider.
Related Issues (20)
- [FeatureRequest] Hold GitHub repository link to copy HOT 1
- [BUG] Chmod may cause Samsung S23 failed to boot
- Option to hide folders by adding (.) at beginning of name.
- [FeatureRequest] Add Customized Colors to the Floating Button
- [FeatureRequest] Add Option to Change Color of Floating Button HOT 3
- [FeatureRequest] Preserve app's original permissions while hiding HOT 1
- [FeatureRequest] add quick-setting tile for hiding files HOT 2
- [FeatureRequest] Tweak not hidden reminder message HOT 3
- [FeatureRequest] HOT 1
- [FeatureRequest] δΌͺθ£ ζζ₯εζΆη£θ΄΄ζͺεζ₯εε HOT 2
- [BUG] "Documents" Folder Is Considered Virtual. HOT 1
- [BUG] Obfuscation (Encryption And Decryption) Bug. HOT 3
- [BUG] Unhidden Apps stay hidden after Unhide is activated HOT 9
- [BUG] Low performance when processing nested folders
- [FeatureRequest] Let us choose Dark/Light themes manually HOT 9
- [FeatureRequest] Obfuscate folder names HOT 2
- App is sold in AppGallery HOT 7
- [BUG] HOT 1
- [BUG] HOT 1
- [FeatureRequest]
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 amarok-hider.