Giter Site home page Giter Site logo

dahliaos / files Goto Github PK

View Code? Open in Web Editor NEW
52.0 4.0 22.0 1.12 MB

File manager application

License: Apache License 2.0

Kotlin 0.09% Swift 0.28% Objective-C 0.03% Dart 71.13% CMake 11.02% C++ 15.38% C 1.00% HTML 1.05% Shell 0.02%
file manager dahliaos application flutter hacktoberfest

files's Issues

Upgrading isar dependency to v1.0+

Currently the project depends on isar pre release version which thereby causes

flutter: Invalid argument(s): Failed to load dynamic library 'libisar.so': libisar.so: cannot open shared object file: No such file or directory

error when running on Linux host.
I probably assume that we can solve this once we upgrade to v1.0+ but because it requires some breaking change hence we might need to be careful and see issues related to that

Missing files

Describe the bug
When u open folder with hidden files and turn off "Show hidden files" option u can't see some files

What kind of a bug is it?
This is the application bug

To Reproduce
Steps to reproduce the behavior:

  1. Go to any folder with hidden files in it
  2. Turn off "Show hidden files" option
  3. See error

Expected behavior
U must see all files

The problem is that you can not remove elements from the list using for loop.
In this situation u lost one file after removing hidden from the list

for (int i = 0; i < list.length; i++) {
if (_cancelled) {
onCancel?.call();
cancelableCompleter.complete();
return;
}
String name = Utils.getEntityName(list[i].path);
if (name.startsWith(".") && !showHidden) {
list.removeAt(i);
continue;
}

One way to fix this is filtrate the list before loop:

    List<FileSystemEntity> newList = list
        .where(
          (element) =>
              !Utils.getEntityName(element.path).startsWith(".") || showHidden,
        )
        .toList();

Probably i can take that issue on myself after announcing new feature

Add a button to show/hide hidden files

Hello,

I have tested the files app and did not find a way to show/hide hidden files. Currently, all the hidden files are being shown in the application.

If you would like, the button for it could be on a kebab menu on the left/right side of the "add new folder" button

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.