-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Nextcloud 25 UI wallpaper problematic cache lifetime [FIXED] and instance theming vs default wallpapers colors conflict [REMAINING BUGS] #34578
Comments
before going further, first need to fix the caching issues because they cause a lot of side effects so after that one is merged (in 25.0.0 RC5 / final), you can retry your test steps and see if the problem persists |
@PVince81 , I've made some tests with RC5 : The wallpaper cache issue is solved 👍. |
Hello @PVince81 and @szaimen, I have done some more testing of the backgrounds with NC25 RC5; I think there are technical (bugs) and ergonomic (wording) problems. Here are my tests with each of them, what I found and what I advise if necessary: 1. If I choose "Plain background", from what I understand, it is supposed to use the default color of the instance in addition to removing a background image if one was previously selected. I see that, as an administrator, if I choose another default color for the instance (theming), the users who have chosen "Plain background" will not benefit from it and the old default color of the instance will persist and be kept as "Custom color". In my opinion, if a user has chosen "Plain background", his plain background color should follow any default color changes specified by the instance administrator (in the instance theming options). Also, I think that the label "Plain background" is not appropriate, because on the one hand "Plain background" does not suggest that it is a default color of the instance that is supposed to be able to change without their knowledge and on the other hand "Custom color" is also a plain background option. So the wording "Custom color" is not very understandable either. There are two solutions: Either we have to name "Custom color" and "Plain background" differently (but it may not be easy to make it "short" and understandable), or we have to merge "Cutom color" and "Plain background" into one choice which would be called "Plain background" and inside (when we click on it), we would have access to "Default color" and "Custom colors". 2. If I choose "Custom color", from what I understand, it's supposed to be exactly the same as "Plain background" (see the inconsistencies of labels and UI/UX described in point 1): the custom color is applied and my possible previous background image disappears. The problem is that when I go into Nextcloud FIles, the icons in my folders (normal folders and group folders) still have the previous color (in my case, the "Plain background" one, i.e. the default color of the instance, in the "theming" options). I found a way around this problem which consists in clicking on "Reset to default" in the color selection field of the interface, or changing the default color of the instance with any other color and this allows the red color to be applied to the folders, but this is of course a big strange (and not clean) trick which will inevitably cause some rather annoying edge effects. 3. If I choose one of the default screen images (not "Default image"), the background image is applied and the default color associated with it also changes (because I understood, even though I didn't mention it in points number 1 and 2) that the color that can be used as a plain background normally also applies to folder icons and to some elements such as the radio boxes, like the ones used to choose the light or dark theme, just above). For example, for the image "Ribbed red metal", the interface color becomes red. The problem is that this color, as in points number 1 and 2, does not apply to folders (whether they are normal or group folders). As in point 2, there is a workaround (exactly the same): in "theming" click on "Reset to default" in the interface color selection field, or change the default color of the instance with any other color and this allows the color associated with the chosen background image to be applied to the folders, but this is of course still a big, strange (and not clean) trick that will inevitably cause quite annoying edge effects. 4. If I choose "Default image", the image with the clouds on a blue sky appears and the interface color changes to blue. The background changes well, but same problem for the interface color and same rotten trick to achieve it (theming). Another problem is the UX because what is "implicitly" telling me what the default background image is... Couldn't this be improved? I see two solutions: Either you put the cloud image in the background of the "Default image" button, or you put a little icon on the "cloud" image that indicates that it is the default background image, but I really recommend the first solution, because here is another suggestion for improvement: I think it would be very interesting (several clients have already asked us where I work), to be able to choose (upload) a default custom background image for the interface (of course unrelated to the login screen background image that already exists). So, after changing the background image in "theming", the image would also change behind the "Default image" label and everything would be consistent and easy to understand. I hope this helps. |
there are some outstanding things to fix in NC 25 related to theme, see checkboxes in #33925 however I'm not sure if they all address the mentioned issue @jancborchardt any feedback on the issues above ? |
Hello @jancborchardt, |
Just want to left my five cents, as I didn't exactly read that in all that comments... If the admin set a global custom background image and a custom primary color (theming admin settings) and the user choose "Default Image" (user settings page) then the user will see the global custom background image, but the color is the default Nextcloud color instead of the custom primary color. Looks like the "Default Image" option has a prio for the custom global bg image, but no check for the custom global primary color and forces the blue Nextcloud color. I've seen the bug in the first stable release. But not at my testing instance with RC2 - there the color for the user is the same as the custom global primary color - and that behavior is what I expect for "Default Image". EIDT: The bug still exists in v25.0.1 RC1 |
So, just following up... in 25.0.0 i currently experience the issue that the background image is not displayed in chrome (Version 107.0.5304.88 (Official Build) (64-bit)); After a clear-cache-reload it displays normally. So i am not too sure how much the caching issues have been fixed. |
@szaimen On our fresh Nextcloud 25.0.1 testing instance, we always have the folders color problem. Cc @PVince81 |
Folder colors will get fixed with 25.0.2 |
Bug description
1rst problem :
When I change the wallpaper, and go elsewhere in the interface, the old wallpaper is still displayed and I have to clear my browser's cache to see it. There is certainly a history of cache whose purpose is to optimize performance, but it harms the functional aspect of changing the image.
2nd problem (explanation updated 20 minutes after opening the issue) :
I noticed that when you change the wallpaper (from the set of "default" wallpapers provided by Nextcloud), the interface changes color (and i assume here and consider that this color is a "user" color and not a color applied to the whole instance). Nice idea ! But there is a problem. If afterwards, we go to change manually the color of the whole instance (in the theming options, where we can also change the logo, etc.), since we go back to change the wallpaper by choosing it again among the images proposed by default, the color of the interface doesn't change anymore and stays the same (the color chosen just before, manually). Either there is a bug, between "user side color" and "interface color applied to all users", or I didn't understand well these new features.
Following the explanation of this problem, to a personal reflection, should we not have a custom color selector "for the user". I have the impression that there is an inconsistency of features in the color of the interface and those that are visibly related to the proposed default wallpapers.
Steps to reproduce
1rst problem :
2nd problem :
Expected behavior
1rst problem :
The new wallpaper should continue to appear directly after setting it
2nd problem :
The default colors that are linked to the default wallpapers should come back if we set again one of the default wallpapers collection.
Installation method
Community Manual installation with Archive
Operating system
RHEL/CentOS
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Can be provided if necessary
Additional info
No response
The text was updated successfully, but these errors were encountered: