Giter Club home page Giter Club logo

leafpic's Introduction

This project is no longer maintained

Crowdin Donate

LeafPic

LeafPic is a fluid, material-designed alternative gallery, it also is ad-free and open source under GPLv3 license. It doesn't miss any of the main features of a stock gallery, and we also have plans to add more useful features.


Screenshots

Contributing

This project is no longer maintained

Code

If you are a developer and you wish to contribute to the app please fork the project and submit a pull request on the dev branch.

Issues

You can trace the status of known issues here, also feel free to file a new issue (helpful description, screenshots and logcat are appreciated), or send me an email if you have any questions.

Translations

If you are able to contribute with a new translation of a missing language or if you want to improve an existing one, we greatly appreciate any suggestion! The project uses Crowdin, a platform that allows anybody to contribute to translating the app

Licensing

LeafPic is licensed under the GNU v3 Public License. In addition to the terms set by the GNU v3 Public License, we ask that if you use any code from this repository that you send us a message to let us know.

leafpic's People

Contributors

51114u9 avatar aaronallencs avatar abhimanicodal avatar adam-poteralowicz avatar arjun-sna avatar brandonio21 avatar briant1234 avatar calvinnor avatar carusooo avatar d4rken avatar dethstar avatar dnldsht avatar gilnd avatar itstauq avatar kignorchan avatar ldonggyu avatar licaon-kter avatar lorisgir avatar metinkale38 avatar niklascon avatar nursaruhan avatar pylersm avatar rupak0577 avatar smeyyeac avatar sysmain avatar thakkaryash94 avatar tonyzzp avatar trebuhd avatar ycram avatar zhao-gang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leafpic's Issues

Remember album list position

Case:

  • have multiple albums
  • scroll to the 25-th
  • open it
  • press back arrow
  • you're back at the top of the list
  • try to remember what album you opened last

Picture Orientation while viewing single photo

When viewing a photo, if you go to more -> settings and check picture orientation, the picture will rotate according to your phones orientation. When you uncheck it, the picture will still rotate rather than returning to portrait orientation. It requires exiting the "view single picture mode" to viewing the full album in order for this change to take effect. This can be quite annoying when you have a large album because you lose your place.

EXIF details of pictures

I would like have some exif details when is available on images. After resolution include:

  • model of device, e.g. "Model: SM-J500M" -> "Camera: SM-J500M"
  • f-number/focal length/exposure time/iso values, e.g. "EXIF: f/1.9 3.7mm 1/105s 1600"
  • location values, e.g. "Lat: 17, 21, 10.8366 North/South + Lon: 66, 12, 52.0916 East/West" -> "Location: -17.3530102, -66.2144699"

Top menu-bar disappears when trying to interact with any of the buttons.

No matter what button (Left-"Go Back"-Arrow, Share, Trash-Can, Circle-Arrow or vertical-dots) i press, nothing happens besides that the whole bar simply slides off the top of the screen.

Tested in version v0.2.6 & v0.2.7
on Device "LG L9 II D605"
Android-Version 4.4.2

Can i be of further assistance?
Thx, btw. I already seem to like this app more than QuickPic and Piktures...

LeafPic crashes (unfortunately has stopped) when started from within Open Camera app

First of all, great to see the development of a FOSS gallery app. Thanks to all who are involved, it looks great.

I use Open Camera (http://opencamera.sourceforge.net) as my standard camera app; when I tap on the gallery icon within Open Camera, it tries to open LeafPic, but I get the error message "Unfortunately, LeafPic has stopped."

It works fine with another gallery app (F-Stop), but that is not open source so it like to get rid of it.

Fairphone 2, android 5.1, not rooted, all google apps and services disabled

Ascending or descending date sorting not working

In my main foto folder there isn't anything changing when a select or deselect the ascending button with date selected.
When i activate sorting by name and go back to sorting by date - it works...

I am using the f-droid version 0.2.5

API 20 support

I compiled and installed on Android 4.4.4, and it crashes. Complaining something about statusbar problems.

Large folders won't load images

I have a couple of folders with 5000+ images (default camera and whatsapp images folders) and when opening them clicking on the images or videos have no effect.

Tested it with a folder of 1100 images and it does work so the limit is somewhere in between.

I'm using the F-droid 0.25 LeafPic version on a SGS5. Quickpic and default gallery have no issue with the folders.

Black Theme for AMOLED display

Currently, dark mode results in gray color menu and background. It would be great if we could have a pitch black mode #000000 because it can save battery for AMOLED displays.

Exclude entire folder (and subfolders)

Just got this on f-droid, this app could easily replace other well known gallery apps!

I'd like to exclude a folder (ext sd/Music) and all it's subfolders. I have to manually select each album folder that shows up to exclude them, which is not possible due to the amount shown.

Thanks!

Photos not being moved

I'm on an LG G4, Android 6.0 devices.
Whenever I try to move a picture that does nothing. I can delete pictures tho, so I assume that's not a permission related issue.

I'll try to provide LogCat output asap (got to disable that because an LG issue with logdaemon).

Leafpic version 2.6.

Thanks!
William

Crash immediately after starting

LeafPic crashes & exit just after showing the splash image "LEAFPIC" while starting via the app icon.

Tested on Acer A3-A30 (Intel Atom CUP, Android 5.0.2, not rooted)

Is the splash screen 'needed'?

Don't get me wrong, but would you consider to (optionally) disable the splash screen sometime in the future?
If this exists because of some background loading processes, I could life with it. But if not, it would be cool if there would be a way to disable it.

Keep it up.

Dark black (night) theme

Currently the dark theme still uses a grey background. Especially for AMOLED devices a really black theme (similar to FDroids one e.g.) would be nice.

Fix lint translation warnings

I have to add "android { lintOptions { disable 'MissingTranslation' } }" to ignore translation warnings, however disabling/enabling this should be handled by upstream, since you know best when this is needed and when not.

not register as a photo gallery app

Hello I am not sure if it's a bug of leafpic but with an other gallery app I don't have it.
When I want to add an image in QKSMS it's give me the error message :
"App not found. Try to install an app of photo gallery !"

LeafPic v0.2.5
QKSMS 2.5.4
Both from F-Droid

Picture orientation always landscape

When viewing image as a thumbnail the orientation of the photo is correct. The moment you go into any photo that is supposed to be portrait it always shows it in landscape. You have to manually rotate the photo for it to appear correctly.

Does not show any picture when opened from app

The crash with the content provider is fixed (#148), however when I now open a picture from the other app it just displays me a black screen (with a kind of dark-blue stripe at the top).

BTW: My theme is AMOLED black.

Menu buttons do not work

The following buttons do nothing:

  • Local Folder
  • Tags
  • Timeline
  • Wallpapers
  • Donate

So said in another way: Only the settings and the about button work.

Cyanogenmod 13

0.3 Cashes when starting on x86 Android 5.0

Just updated via F-droid to the latest version 0.3 and now it refuses to run (up to 0.27 it was fine except for the OpenCamera bug). All I get is the white background with the leafpic logo and then a "Unfortunatly leafpic has stopped" message.

This is on a stock Android 5.0 x86 Zenfone2.

Crashes when opening images from other apps (Content Provider)

I have an app which passes images using a content provider (as a more secure method for sharing files). However when I use this app to share a image with LeafPic, LeafPic crashes.

It also failed when I instructed the other app to save my image and then used the "File saved" notification to pass the image to LeafPic.

Here some lines from logcat:

W/PackageManager(  621): Not granting permission android.permission.WRITE_EXTERNAL_STORAGE to package com.horaapps.leafpic because it was previously installed without
W/PackageManager(  621): Not granting permission android.permission.READ_EXTERNAL_STORAGE to package com.horaapps.leafpic because it was previously installed without
W/PackageManager(  621): Not granting permission android.permission.WRITE_EXTERNAL_STORAGE to package com.horaapps.leafpic because it was previously installed without
W/PackageManager(  621): Not granting permission android.permission.READ_EXTERNAL_STORAGE to package com.horaapps.leafpic because it was previously installed without
I/PackageManager(  621): Setting last chosen activity com.horaapps.leafpic/.PhotoPagerActivity for user 0:
I/ActivityManager(  621): START u0 {act=android.intent.action.VIEW dat=content://ch.*******.app.fileprovider/tmp_files/****EXAMPLEFILE****.gif typ=image/* flg=0x3000001 cmp=com.horaapps.leafpic/.PhotoPagerActivity} from uid 10202 on display 0
I/ActivityManager(  621): Start proc 7582:com.horaapps.leafpic/u0a249 for activity com.horaapps.leafpic/.PhotoPagerActivity
W/System  ( 7582): ClassLoader referenced unknown path: /data/app/com.horaapps.leafpic-1/lib/arm
W/XPrivacy( 7582): Hooking package=com.horaapps.leafpic
W/System.err( 7582):    at com.horaapps.leafpic.utils.StringUtils.quoteReplace(StringUtils.java:157)
W/System.err( 7582):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.checkAndCreateAlbum(CustomAlbumsHandler.java:67)
W/System.err( 7582):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.getSettings(CustomAlbumsHandler.java:48)
W/System.err( 7582):    at com.horaapps.leafpic.Base.Album.setSettings(Album.java:109)
W/System.err( 7582):    at com.horaapps.leafpic.Base.Album.<init>(Album.java:78)
W/System.err( 7582):    at com.horaapps.leafpic.PhotoPagerActivity.onCreate(PhotoPagerActivity.java:101)
E/AndroidRuntime( 7582): Process: com.horaapps.leafpic, PID: 7582
E/AndroidRuntime( 7582): java.lang.RuntimeException: Unable to resume activity {com.horaapps.leafpic/com.horaapps.leafpic.PhotoPagerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setBackgroundColor(int)' on a null object reference
E/AndroidRuntime( 7582):    at com.horaapps.leafpic.PhotoPagerActivity.setupUI(PhotoPagerActivity.java:216)
E/AndroidRuntime( 7582):    at com.horaapps.leafpic.PhotoPagerActivity.onResume(PhotoPagerActivity.java:251)
W/ActivityManager(  621):   Force finishing activity com.horaapps.leafpic/.PhotoPagerActivity
W/ActivityManager(  621): Activity pause timeout for ActivityRecord{1590eaf u0 com.horaapps.leafpic/.PhotoPagerActivity t30 f}
I/ActivityManager(  621): Process com.horaapps.leafpic (pid 7582) has died
I/PackageManager(  621): Setting last chosen activity com.horaapps.leafpic/.PhotoPagerActivity for user 0:
I/ActivityManager(  621): START u0 {act=android.intent.action.VIEW dat=content://media/external/images/media/11087 typ=image/gif flg=0x13000000 cmp=com.horaapps.leafpic/.PhotoPagerActivity (has extras)} from uid 10010 on display 0
I/ActivityManager(  621): Start proc 7952:com.horaapps.leafpic/u0a249 for activity com.horaapps.leafpic/.PhotoPagerActivity
W/System  ( 7952): ClassLoader referenced unknown path: /data/app/com.horaapps.leafpic-1/lib/arm
W/XPrivacy( 7952): Hooking package=com.horaapps.leafpic
W/System.err( 7952):    at com.horaapps.leafpic.utils.StringUtils.quoteReplace(StringUtils.java:157)
W/System.err( 7952):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.checkAndCreateAlbum(CustomAlbumsHandler.java:67)
W/System.err( 7952):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.getSettings(CustomAlbumsHandler.java:48)
W/System.err( 7952):    at com.horaapps.leafpic.Base.Album.setSettings(Album.java:109)
W/System.err( 7952):    at com.horaapps.leafpic.Base.Album.<init>(Album.java:78)
W/System.err( 7952):    at com.horaapps.leafpic.PhotoPagerActivity.onCreate(PhotoPagerActivity.java:101)
E/AndroidRuntime( 7952): Process: com.horaapps.leafpic, PID: 7952
E/AndroidRuntime( 7952): java.lang.RuntimeException: Unable to resume activity {com.horaapps.leafpic/com.horaapps.leafpic.PhotoPagerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setBackgroundColor(int)' on a null object reference
E/AndroidRuntime( 7952):    at com.horaapps.leafpic.PhotoPagerActivity.setupUI(PhotoPagerActivity.java:216)
E/AndroidRuntime( 7952):    at com.horaapps.leafpic.PhotoPagerActivity.onResume(PhotoPagerActivity.java:251)
W/ActivityManager(  621):   Force finishing activity com.horaapps.leafpic/.PhotoPagerActivity
W/ActivityManager(  621): Activity pause timeout for ActivityRecord{54e73c3 u0 com.horaapps.leafpic/.PhotoPagerActivity t32 f}
I/ActivityManager(  621): Process com.horaapps.leafpic (pid 7952) has died
I/ActivityManager(  621): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/*******/******* Pictures/Dark.jpg typ=image/jpeg flg=0x10000001 cmp=com.horaapps.leafpic/.PhotoPagerActivity (has extras)} from uid 10093 on display 0
I/ActivityManager(  621): Start proc 8458:com.horaapps.leafpic/u0a249 for activity com.horaapps.leafpic/.PhotoPagerActivity
W/System  ( 8458): ClassLoader referenced unknown path: /data/app/com.horaapps.leafpic-1/lib/arm
W/XPrivacy( 8458): Hooking package=com.horaapps.leafpic
I/ActivityManager(  621): Displayed com.horaapps.leafpic/.PhotoPagerActivity: +976ms
I/PackageManager(  621): Setting last chosen activity com.horaapps.leafpic/.PhotoPagerActivity for user 0:
I/ActivityManager(  621): START u0 {act=android.intent.action.VIEW dat=content://ch.*******.app.fileprovider/tmp_files/****EXAMPLEFILE****.gif typ=image/* flg=0x3000001 cmp=com.horaapps.leafpic/.PhotoPagerActivity} from uid 10202 on display 0
W/System.err( 8458):    at com.horaapps.leafpic.utils.StringUtils.quoteReplace(StringUtils.java:157)
W/System.err( 8458):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.checkAndCreateAlbum(CustomAlbumsHandler.java:67)
W/System.err( 8458):    at com.horaapps.leafpic.Base.CustomAlbumsHandler.getSettings(CustomAlbumsHandler.java:48)
W/System.err( 8458):    at com.horaapps.leafpic.Base.Album.setSettings(Album.java:109)
W/System.err( 8458):    at com.horaapps.leafpic.Base.Album.<init>(Album.java:78)
W/System.err( 8458):    at com.horaapps.leafpic.PhotoPagerActivity.onCreate(PhotoPagerActivity.java:101)
E/AndroidRuntime( 8458): Process: com.horaapps.leafpic, PID: 8458
E/AndroidRuntime( 8458): java.lang.RuntimeException: Unable to resume activity {com.horaapps.leafpic/com.horaapps.leafpic.PhotoPagerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setBackgroundColor(int)' on a null object reference
E/AndroidRuntime( 8458):    at com.horaapps.leafpic.PhotoPagerActivity.setupUI(PhotoPagerActivity.java:216)
E/AndroidRuntime( 8458):    at com.horaapps.leafpic.PhotoPagerActivity.onResume(PhotoPagerActivity.java:251)
W/ActivityManager(  621):   Force finishing activity com.horaapps.leafpic/.PhotoPagerActivity
W/ActivityManager(  621): Activity pause timeout for ActivityRecord{a8b6c9 u0 com.horaapps.leafpic/.PhotoPagerActivity t30 f}
I/ActivityManager(  621): Process com.horaapps.leafpic (pid 8458) has died

Note there are different exceptions...

Cyanogenmod 13 (based on Android 6.0.1)

Have to reboot to display the new pictures

Hi,
How to reproduce the issue:

  1. With a file manager, create a new folder into your internal memory and copy some pictures
  2. Open LeafPic
  3. The pictures are not displayed

I have to reboot my phone to be able to see them.
Thank you.

Nexus 5 - Android 6.0.1.

[UI] Animation in menu missing in AMOLED theme & not noticable in black theme

In the swipe menu there should be a "press"/tap animation when tapping on a menu button. (So the user gets some feedback that the [correct] button is actually pressed) This is best practise and I am quite sure you can find some Google Design docs for that somewhere... (but I don't care to look for them now)

Crash upon selecting any picture in camera folder

In version 0.2.6 I can no longer view any images in my camera folder (100MEDIA). This was not an issue in 0.2.5 (I would test this again but fdroid is giving me errors when I try to downgrade). The app still loads up images from other folders just fine, so I suspect this might be related to the large size of my camera folder (over 4000 images). When I click on an image in this folder the app gives me the Android 6.0 close app animation (app moves to the bottom of the screen) and if I return to the app through the recents menu its loads up the splash screen and starts again.

Error displaying when pictures have exif rotation

I have pictures with rotation in exif values. I have screenshots...

Android 5.1.1, LeafPic v0.2.5 downloaded from FDroid.

Leafpic gets killed while showing splash screen

I downloaded Leafpic from FDroid, but I only see the splash screen after I give permission to access the pictures.

Using Android Studio, this is what Android Monitor spews out:

961-4861/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 702280)
961-4861/system_process W/ActivityManager: Exception in new application when starting activity com.horaapps.leafpic/.MainActivity
    android.os.TransactionTooLargeException: data parcel size 702280 bytes
    at android.os.BinderProxy.transactNative(Native Method)
    at android.os.BinderProxy.transact(Binder.java:503)
    at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:826)
    at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1323)
    at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked(ActivityStackSupervisor.java:647)
    at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:6432)
    at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:6495)
    at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:507)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2670)
    at android.os.Binder.execTransact(Binder.java:453)
961-4861/system_process E/ActivityManager: Exception thrown launching activities in ProcessRecord{31bb989 21574:com.horaapps.leafpic/u0a150}
    android.os.TransactionTooLargeException: data parcel size 702280 bytes
    at android.os.BinderProxy.transactNative(Native Method)
    at android.os.BinderProxy.transact(Binder.java:503)
    at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:826)
    at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1323)
    at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked(ActivityStackSupervisor.java:647)
    at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:6432)
    at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:6495)
    at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:507)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2670)
    at android.os.Binder.execTransact(Binder.java:453)
961-4861/system_process I/ActivityManager: Killing 21574:com.horaapps.leafpic/u0a150 (adj 0): error during init
961-4861/system_process I/ActivityManager: Start proc 21587:com.horaapps.leafpic/u0a150 for activity com.horaapps.leafpic/.MainActivity
961-1648/system_process W/ActivityManager: Spurious death for ProcessRecord{31bb989 0:com.horaapps.leafpic/u0a150}, curProc for 21574: null

Don't know if it matters, I'm using CM13 (android 6.0.1) on a moto g 4g

Any ideas on how to debug this matter and get to the bottom of it?

Add support to display photo location on a map

I guess this is kind of a huge request, but it would add a lot of value to the app.
Adding support to display where images were taken on a map would be a great feature.
osmdroid seems to be the most popular solution for achieving this, and is hopefully not too hard to include.

Crashes when deleting last image

If you delete the last image in an album it will crash. The title will also say 1 out of 0, so I'm assuming its probably an Array out of bounds error of some sorts.

I would try to fix myself, but I'm studying right now :)

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.