Repository navigation
Labels
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
1.Go to Accessibility, enable dark theme
2.Share link from one folder
3.Open the shared link
Expected behaviour
The size and modified columns text should be white
Actual behaviour
The size and modified columns text are grey and black
Server configuration
Freebsd 12
Nginx 1.18.0
MariaDB 10.5.8
PHP 7.4.16
Nexcloud 21.0.2
Updated from an older Nextcloud
Where did you install Nextcloud from: Web
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser:
Firefox 78.10.0 esr (64-bit)
Operating system:
Debian 10.9
Logs
Web server error log
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Activity
MichaIng commentedon Jun 8, 2021
Confirmed.
The modification time is expected to be grey, same with file sizes < 20 MiB (on my instance, not sure if this is hardcoded). But file files > 20 MiB are shown white in the files app (right), but black on the share (left):
Interesting is that the color codes are the same (out of borders), but prefixed with a minus sign on the sharing page:
color: rgb(51539718,51539718,51539718);color: rgb(-51539718,-51539718,-51539718);That doesn't look like a coincidence to me. These are set as HTML document attributes, so not sure currently whether PHP or JavaScript is responsible here.
The color for smaller files is not identical either, but
140, 140, 140in the files app and114, 114, 114in the share. Not a big difference, but since the modification date is140, 140, 140is both cases, it looks better when it's aligned.szaimen commentedon Jul 7, 2021
After a deeper investigation I found out that this check doesn't return true on public sites when you are not logged in
server/apps/files/js/filelist.js
Line 1664 in 09b38bc
cc @nickvergessen for a fast fix on this one as I have no idea why it doesn#t work on public sites. Is maybe the Accessibility store or theme store not available?
BTW: this is a follow up of #21366
szaimen commentedon Jul 7, 2021
seems like this is the case
szaimen commentedon Jul 7, 2021
Found a solution