{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17520","labels_url":"https://api.github.com/repos/owncloud/core/issues/17520/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17520/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17520/events","html_url":"https://github.com/owncloud/core/issues/17520","id":93990056,"number":17520,"title":"Font change after clicking/downloading a file","user":{"login":"eraaijmakers","id":1861365,"avatar_url":"https://avatars.githubusercontent.com/u/1861365?v=3","gravatar_id":"","url":"https://api.github.com/users/eraaijmakers","html_url":"https://github.com/eraaijmakers","followers_url":"https://api.github.com/users/eraaijmakers/followers","following_url":"https://api.github.com/users/eraaijmakers/following{/other_user}","gists_url":"https://api.github.com/users/eraaijmakers/gists{/gist_id}","starred_url":"https://api.github.com/users/eraaijmakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eraaijmakers/subscriptions","organizations_url":"https://api.github.com/users/eraaijmakers/orgs","repos_url":"https://api.github.com/users/eraaijmakers/repos","events_url":"https://api.github.com/users/eraaijmakers/events{/privacy}","received_events_url":"https://api.github.com/users/eraaijmakers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/design","name":"design","color":"cc317c"},{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":615,"closed_issues":102,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-07-10T00:37:17Z","due_on":"2015-10-19T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-07-09T08:30:07Z","updated_at":"2015-07-10T08:11:53Z","closed_at":null,"body":"@jancborchardt\r\n\r\n### Steps to reproduce\r\n1. Go to any folder with files listed\r\n![before click](https://cloud.githubusercontent.com/assets/1861365/8590948/2f3505fa-2625-11e5-8ab7-0d776c3471bb.png)\r\n2. Click a file to download, font changes, when navigating away or reload the page the font changes back to normal\r\n![after click](https://cloud.githubusercontent.com/assets/1861365/8590947/2f319a64-2625-11e5-99de-637de2183c55.png)\r\n\r\n\r\n### Expected behaviour\r\nFont should stay the same\r\n\r\n### Actual behaviour\r\nFont changes\r\n\r\n### Server configuration\r\n**Operating system:**\r\nDebian Jessie\r\n\r\n**Web server:**\r\nApache/2.4.10\r\n\r\n**Database:**\r\nMySQL 5.5.43-0+deb8u1\r\n\r\n**PHP version:**\r\n5.6.9-0+deb8u1\r\n\r\n**ownCloud version:**\r\n8.1.0 (stable8.1 branch)\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated since at least 7\r\n\r\n**List of activated apps:**\r\n - activity: 2.0.1\r\n - documents: 0.10.0\r\n - files: 1.1.9\r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_trashbin: 0.6.3\r\n - files_versions: 1.0.6\r\n - gallery: 0.6.0\r\n\r\n**The content of config/config.php:**\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'installed' => true,\r\n  'dbtype' => 'mysql',\r\n  'dbname' => '***',\r\n  'dbuser' => '***',\r\n  'dbpassword' => '***',\r\n  'dbhost' => '***',\r\n  'dbtableprefix' => '***',\r\n  'passwordsalt' => '***',\r\n  'forcessl' => true,\r\n  'blacklisted_files' =>\r\n  array (\r\n    0 => '.htaccess',\r\n  ),\r\n  'overwritehost' => '',\r\n  'overwriteprotocol' => '',\r\n  'overwritewebroot' => '',\r\n  'overwritecondaddr' => '',\r\n  'proxy' => '',\r\n  'proxyuserpwd' => '',\r\n  'theme' => '',\r\n  'default_language' => 'en',\r\n  '3rdpartyroot' => '',\r\n  '3rdpartyurl' => '',\r\n  'defaultapp' => 'files',\r\n  'knowledgebaseenabled' => true,\r\n  'appstoreenabled' => false,\r\n  'appstoreurl' => 'http://api.apps.owncloud.com/v1',\r\n  'mail_domain' => '***',\r\n  'mail_smtpdebug' => false,\r\n  'mail_smtpmode' => 'php',\r\n  'mail_smtphost' => '127.0.0.1',\r\n  'mail_smtpport' => '25',\r\n  'mail_smtptimeout' => 10,\r\n  'mail_smtpauthtype' => 'LOGIN',\r\n  'memcached_server' =>\r\n  array (\r\n    0 => 'localhost',\r\n    1 => 11211,\r\n  ),\r\n  'trashbin_retention_obligation' => 30,\r\n  'trashbin_auto_expire' => true,\r\n  'allow_user_to_change_display_name' => true,\r\n  'appcodechecker' => '',\r\n  'updatechecker' => true,\r\n  'has_internet_connection' => true,\r\n  'check_for_working_webdav' => true,\r\n  'check_for_working_htaccess' => true,\r\n  'log_type' => 'owncloud',\r\n  'logfile' => '',\r\n  'loglevel' => 2,\r\n  'logdateformat' => 'F d, Y H:i:s',\r\n  'logtimezone' => 'Europe/Amsterdam',\r\n  'log_query' => false,\r\n  'log_authfailip' => false,\r\n  'log_rotate_size' => 52428800,\r\n  'remember_login_cookie_lifetime' => 1296000,\r\n  'session_lifetime' => 86400,\r\n  'custom_csp_policy' => 'default-src \\'self\\'; script-src \\'self\\' \\'unsafe-eval\\'; style-src \\'self\\' \\'unsafe-inline\\'; frame-src *; img-src *; font-src \\'self\\' data:; media-src *',\r\n  'xframe_restriction' => true,\r\n  'datadirectory' => '/storage',\r\n  'maintenance' => false,\r\n  'apps_paths' =>\r\n  array (\r\n    0 =>\r\n    array (\r\n      'path' => '/var/www/***/owncloud/apps',\r\n      'url' => '/apps',\r\n      'writable' => false,\r\n    ),\r\n    1 =>\r\n    array (\r\n      'path' => '/var/www/***/owncloud/apps2',\r\n      'url' => '/apps2',\r\n      'writable' => false,\r\n    ),\r\n  ),\r\n  'customclient_desktop' => '',\r\n  'customclient_android' => '',\r\n  'customclient_ios' => '',\r\n  'enable_previews' => true,\r\n  'preview_max_x' => NULL,\r\n  'preview_max_y' => NULL,\r\n  'preview_max_scale_factor' => 10,\r\n  'preview_libreoffice_path' => '/usr/bin/libreoffice',\r\n  'preview_office_cl_parameters' => '',\r\n  'enable_avatars' => true,\r\n  'openssl' =>\r\n  array (\r\n  ),\r\n  'singleuser' => false,\r\n  'instanceid' => 'oc28e77e20c5',\r\n  'version' => '8.1.0.8',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => '***',\r\n  ),\r\n  'secret' => '***',\r\n);\r\n```\r\n\r\n**Are you using external storage, if yes which one:**\r\nNo\r\n\r\n**Are you using encryption:**\r\nNo\r\n\r\n**Are you using an external user-backend, if yes which one:**\r\nNo\r\n\r\n### Client configuration\r\n**Browser:**\r\nVersion 43.0.2357.130 (64-bit)\r\n\r\n**Operating system:**\r\nUbuntu 14.04\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nNo related log entries found\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\nNo related log entries found\r\n```\r\n\r\n#### Browser log\r\n```\r\nResource interpreted as Document but transferred with MIME type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: \"https://***/index.php/apps/files/ajax/download.php?dir=%2FS…g%2FSeizoen%202014-2015%2FBevers%2FZomerkamp&files=Bevers%20Checklist.xlsx\".\r\nUncaught TypeError: Cannot read property 'classList' of null\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/120283711","html_url":"https://github.com/owncloud/core/issues/17520#issuecomment-120283711","issue_url":"https://api.github.com/repos/owncloud/core/issues/17520","id":120283711,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T08:11:53Z","updated_at":"2015-07-10T08:11:53Z","body":"@eraaijmakers please search the styles list and see which one is defining the font.\r\nDo this before and after the problem appears.\r\n"}}