{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/gallery/issues/605","repository_url":"https://api.github.com/repos/owncloud/gallery","labels_url":"https://api.github.com/repos/owncloud/gallery/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/605/comments","events_url":"https://api.github.com/repos/owncloud/gallery/issues/605/events","html_url":"https://github.com/owncloud/gallery/issues/605","id":141613834,"number":605,"title":"no way in public download view to go back to file view","user":{"login":"jospoortvliet","id":551757,"avatar_url":"https://avatars.githubusercontent.com/u/551757?v=3","gravatar_id":"","url":"https://api.github.com/users/jospoortvliet","html_url":"https://github.com/jospoortvliet","followers_url":"https://api.github.com/users/jospoortvliet/followers","following_url":"https://api.github.com/users/jospoortvliet/following{/other_user}","gists_url":"https://api.github.com/users/jospoortvliet/gists{/gist_id}","starred_url":"https://api.github.com/users/jospoortvliet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jospoortvliet/subscriptions","organizations_url":"https://api.github.com/users/jospoortvliet/orgs","repos_url":"https://api.github.com/users/jospoortvliet/repos","events_url":"https://api.github.com/users/jospoortvliet/events{/privacy}","received_events_url":"https://api.github.com/users/jospoortvliet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/gallery/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-17T15:18:23Z","updated_at":"2016-03-18T13:01:37Z","closed_at":"2016-03-17T17:45:55Z","body":"## Bug report\r\n\r\n### Steps to reproduce\r\n\r\n1. Share a folder link without images from the Files app with a public link\r\n1. Visit the public link in an anonymous browser window\r\n1. Switch to the Gallery app\r\n1. Try to switch back - there is no button!\r\n\r\nNote that the button IS there if you share a folder and there are images. It just doesn't show without.\r\n\r\n### Expected behaviour\r\nIt should always show the header with button to switch back to the Files view.\r\n\r\n### Actual behaviour\r\nIt shows no files view button on the top-right.\r\n\r\n### Server configuration\r\n\r\n**Operating system**:\r\nopenSUSE 13.2\r\n\r\n**Web server:**\r\nApache 2\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n7.0.3\r\n\r\n**ownCloud version:** (see ownCloud admin page or version.php)\r\n9.0.0\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated since 6.0\r\n\r\n**List of activated apps:**\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.0\r\n  - comments: 0.2\r\n  - contacts: 1.0.0.0\r\n  - dav: 0.1.5\r\n  - documents: 0.12.0\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_external: 0.5.2\r\n  - files_markdown: 0.1\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 14.5.0\r\n  - notifications: 0.2.3\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\n \r\n**The content of config/config.php:**\r\n        \"datadirectory\": \"\\/media\\/bigbtrfs\\/owncloud\\/\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"ownCloudDB\",\r\n        \"dbhost\": \"127.0.0.1\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"installed\": true,\r\n        \"loglevel\": 2,\r\n        \"forcessl\": true,\r\n        \"theme\": \"\",\r\n        \"maintenance\": false,\r\n        \"preview_libreoffice_path\": \"\\/usr\\/lib64\\/libreoffice\\/program\\/soffice\",\r\n        \"overwritewebroot\": \"\",\r\n        \"log_rotate_size\": \"100000000\",\r\n        \"overwrite.cli.url\": \"https:\\/\\/cloud.josandcamila.com\",\r\n        \"asset-pipeline.enabled\": true,\r\n        \"forceSSLforSubdomains\": true,\r\n        \"enable_previews\": true,\r\n        \"preview_max_x\": 2048,\r\n        \"preview_max_y\": 2048,\r\n        \"preview_max_scale_factor\": 10,\r\n        \"preview_max_filesize_image\": 50,\r\n        \"enabledPreviewProviders\": [\r\n            \"OC\\\\Preview\\\\PNG\",\r\n            \"OC\\\\Preview\\\\JPEG\",\r\n            \"OC\\\\Preview\\\\GIF\",\r\n            \"OC\\\\Preview\\\\BMP\",\r\n            \"OC\\\\Preview\\\\XBitmap\",\r\n            \"OC\\\\Preview\\\\PDF\",\r\n            \"OC\\\\Preview\\\\MP3\",\r\n            \"OC\\\\Preview\\\\TXT\",\r\n            \"OC\\\\Preview\\\\MarkDown\",\r\n            \"OC\\\\Preview\\\\Postscript\",\r\n            \"OC\\\\Preview\\\\SVG\",\r\n            \"OC\\\\Preview\\\\TIFF\",\r\n            \"OC\\\\Preview\\\\Font\",\r\n            \"OC\\\\Preview\\\\Movie\",\r\n            \"OC\\\\Preview\\\\Illustrator\",\r\n            \"OC\\\\Preview\\\\Image\",\r\n            \"OC\\\\Preview\\\\Photoshop\"\r\n        ],\r\n        \"appstore.experimental.enabled\": true,\r\n        \"trashbin_retention_obligation\": \"auto\",\r\n        \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"redis\": {\r\n            \"host\": \"localhost\",\r\n            \"port\": 6379,\r\n            \"timeout\": 0,\r\n            \"password\": \"\",\r\n            \"dbindex\": 0\r\n        },\r\n        \"updatechecker\": false\r\n\r\n\r\n**Are you using external storage, if yes which one:**\r\n local folders, Dropbox, G-drive.\r\n\r\n**Are you using encryption:**\r\nNope\r\n\r\n**Are you using custom gallery.cnf config files:**\r\nNope\r\n\r\n### Logs\r\nNo relevant logs\r\n\r\n### Client configuration\r\n\r\n**Browser:**\r\nFirefox and Chromium\r\n\r\n**Operating system:**\r\nLinux"},"comment":{"url":"https://api.github.com/repos/owncloud/gallery/issues/comments/198345458","html_url":"https://github.com/owncloud/gallery/issues/605#issuecomment-198345458","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/605","id":198345458,"user":{"login":"jospoortvliet","id":551757,"avatar_url":"https://avatars.githubusercontent.com/u/551757?v=3","gravatar_id":"","url":"https://api.github.com/users/jospoortvliet","html_url":"https://github.com/jospoortvliet","followers_url":"https://api.github.com/users/jospoortvliet/followers","following_url":"https://api.github.com/users/jospoortvliet/following{/other_user}","gists_url":"https://api.github.com/users/jospoortvliet/gists{/gist_id}","starred_url":"https://api.github.com/users/jospoortvliet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jospoortvliet/subscriptions","organizations_url":"https://api.github.com/users/jospoortvliet/orgs","repos_url":"https://api.github.com/users/jospoortvliet/repos","events_url":"https://api.github.com/users/jospoortvliet/events{/privacy}","received_events_url":"https://api.github.com/users/jospoortvliet/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T13:01:37Z","updated_at":"2016-03-18T13:01:37Z","body":"Cool, thanks!"}}