nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Hitting the next button goes by files in the same folder, not the current view #525

Open da3dsoul opened 5 years ago

da3dsoul commented 5 years ago

Bug report

Steps to reproduce

  1. Go to a view that is not just a folder, such as search or tag search
  2. Open an image (slideshow view opens)
  3. Click next
  4. Be annoyed

Expected behaviour

You should see the next image in the current view, not the next image in the folder where the image exists.

Actual behaviour

You see the next image in the folder where the image resides.

Server configuration

https://github.com/crazy-max/docker-nextcloud

Operating system: Alpine Linux Web server: nginx Database: mariadb PHP version: 7.2

Nextcloud configuration

Nextcloud version: (see admin page or version.php) 16.0.4 Updated from an older installation or fresh install: Fresh List of activated apps:

App list ``` da3dsoul@THE-THRONE:~/nextcloud$ docker exec -ti nextcloud_app_1_ee99473100dc occ app:list Enabled: - accessibility: 1.2.0 - activity: 2.9.1 - cloud_federation_api: 0.2.0 - comments: 1.6.0 - dav: 1.9.2 - federatedfilesharing: 1.6.0 - federation: 1.6.0 - files: 1.11.0 - files_external: 1.7.0 - files_pdfviewer: 1.5.0 - files_rightclick: 0.13.0 - files_sharing: 1.8.0 - files_texteditor: 2.8.0 - files_trashbin: 1.6.0 - files_versions: 1.9.0 - files_videoplayer: 1.5.0 - firstrunwizard: 2.5.0 - flowupload: 0.1.0 - gallery: 18.3.0 - logreader: 2.1.0 - lookup_server_connector: 1.4.0 - metadata: 0.9.0 - music: 0.9.5 - nextcloud_announcements: 1.5.0 - notifications: 2.4.1 - oauth2: 1.4.2 - password_policy: 1.6.0 - privacy: 1.0.0 - provisioning_api: 1.6.0 - recommendations: 0.4.0 - serverinfo: 1.6.0 - sharebymail: 1.6.0 - sharerenamer: 2.6.0 - support: 1.0.0 - survey_client: 1.4.0 - systemtags: 1.6.0 - theming: 1.7.0 - twofactor_backupcodes: 1.5.0 - updatenotification: 1.6.0 - viewer: 1.0.0 - workflowengine: 1.6.0 Disabled: - admin_audit - bruteforcesettings - encryption - files_inotify - files_trackdownloads - occweb - user_ldap ```

Nextcloud configuration:

Config.php ``` da3dsoul@THE-THRONE:~/nextcloud$ docker exec -ti nextcloud_app_1_ee99473100dc occ config:list system { "system": { "logtimezone": "America\/Indianapolis", "logdateformat": "Y-m-d H:i:s", "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "da3dsoul.strangled.net", "da3dsoul.shokoanime.com" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "", "mysql.utf8mb4": true, "overwritehost": "da3dsoul.shokoanime.com", "overwriteprotocol": "https", "overwrite.cli.url": "https:\/\/da3dsoul.shokoanime.com", "version": "16.0.1.1", "filesystem_check_changes": 1, "installed": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "apps_paths": [ { "path": "\/var\/www\/apps", "url": "\/apps", "writable": false }, { "path": "\/data\/userapps", "url": "\/userapps", "writable": true } ], "enable_previews": true, "preview_max_x": 1024, "preview_max_y": 1024, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\HEIC", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\Illustrator", "OC\\Preview\\Movie", "OC\\Preview\\MSOffice2003", "OC\\Preview\\MSOffice2007", "OC\\Preview\\MSOfficeDoc", "OC\\Preview\\OpenDocument", "OC\\Preview\\PDF", "OC\\Preview\\Photoshop", "OC\\Preview\\Postscript", "OC\\Preview\\StarOffice", "OC\\Preview\\SVG", "OC\\Preview\\TIFF", "OC\\Preview\\Font" ] } } ```

Are you using external storage, if yes which one: local folder, smb share, sftp, etc. yes, local folder Are you using encryption: yes/no no Are you using custom gallery.cnf config files: yes/no no, I should probably map the apps path for it, though

Web server error log

Web server error log Not an exception, but a logic issue

Nextcloud log

Nextcloud log ``` Ask and I'll reproduce it to post, but I didn't see anything relevant ```

Client configuration

Browser: Chrome Operating system: Windows, Android

Browser log

Browser log ``` Doubt it's relevant, but I can if needed ```