Server: IE11 with white theming doesn't show black app icons

Created on 6 Dec 2017  Β·  15Comments  Β·  Source: nextcloud/server

Safari βœ…:

bildschirmfoto 2017-12-06 um 10 03 41

Edge βœ…:

bildschirmfoto 2017-12-06 um 10 17 28

IE 11 :x::

bildschirmfoto 2017-12-06 um 10 17 52

Also happens on stable12.

cc @nextcloud/designers @nextcloud/theming

@jancborchardt Could you have a look at this?

bug design theming high

Most helpful comment

@skjnldsv no
image

All 15 comments

The theming-icon looks a bit pixelated on Edge too :(

The theming-icon looks a bit pixelated on Edge too :(

That's due to the shitty resolution of the VM. This ticket is about the non-visible app icons on IE11.

I thought that was already fixed some time ago, let me check what's wrong there.

This is because filter as we use is not compatible with IE11 as discussed in https://github.com/nextcloud/server/issues/5593, right? I checked around and saw this blog post which refers to this jQuery plugin to make it work for IE11 and IE 10: https://shekhardesigner.github.io/InvertImages/

@juliushaertl but if you can make it work without JS I guess that’s preferable. (cc @pixelipo @skjnldsv cause you were also involved in the issue discussion I mentioned.)

Not fond of the jquery plugin.
We could use svg filters https://jsfiddle.net/g97e26pa/180/

Not fond of the jquery plugin.
We could use svg filters https://jsfiddle.net/g97e26pa/180/

I would also use only a minimal approach - if we have sag filters that only apply to IE -> perfect.

plugin mentioned by @jancborchardt does exactly that, @skjnldsv @MorrisJobke :) It applies SVG filter to SVG icons in IE, while "falling back" to default CSS3 filters for other browsers (Firefox, Chrome, Edge).

There's no way we can implement SVG filters selectively without JS. In addition, this solution doesn't mean that we have to apply filters directly inside SVG files (which would cause them to double in filesize and add some maintenance overhead).

Code in that plugin is quite simple and less than 2 kB minimized. We could also work out our own, simplified method and add it straight into our JS code (so that we don't have to worry about source)

There's no way we can implement SVG filters selectively without JS. In addition, this solution doesn't mean that we have to apply filters directly inside SVG files (which would cause them to double in filesize and add some maintenance overhead).

We could also directly add this in the app menu generator, and not use anything. We won't have svgs to maintains at all and we should be able to apply the filter with css too (without the filter css3)

Yes, that's what I wrote in my previous comment, @skjnldsv ;)

But I'm worried that we might already have a similar problem with #7319 as well. Can anyone test Talk and Gallery apps in master on IE11?

Yes, that's what I wrote in my previous comment, @skjnldsv ;)

πŸ™ˆ

But I'm worried that we might already have a similar problem with #7319 as well. Can anyone test Talk and Gallery apps in master on IE11?

Yup, it should probably also be an issue there

I could add that code, but it would be blind, since I can't test on IE11...

@pixelipo time for a vm! πŸ˜†

@skjnldsv no
image

@pixelipo time for a vm! πŸ˜†

VMs can be downloaded from http://modern.ie πŸ˜‰

Was this page helpful?
0 / 5 - 0 ratings