Skip to content

IE11 with white theming doesn't show black app icons #7408

Description

@MorrisJobke

Safari ✅:

bildschirmfoto 2017-12-06 um 10 03 41

Edge ✅:

bildschirmfoto 2017-12-06 um 10 17 28

IE 11 ❌:

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?

Activity

  1. added this to the Nextcloud 13 milestone on Dec 6, 2017
  2. MariusBluem commented on Dec 6, 2017

    @MariusBluem
    Member

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

  3. MorrisJobke commented on Dec 6, 2017

    @MorrisJobke
    MemberAuthor

    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.

  4. juliusknorr commented on Dec 11, 2017

    @juliusknorr
    Member

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

  5. self-assigned this
    on Dec 11, 2017
  6. jancborchardt commented on Dec 11, 2017

    @jancborchardt
    Member

    This is because filter as we use is not compatible with IE11 as discussed in #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.)

  7. skjnldsv commented on Dec 12, 2017

    @skjnldsv
    Member

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

  8. MorrisJobke commented on Dec 12, 2017

    @MorrisJobke
    MemberAuthor

    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.

  9. pixelipo commented on Dec 12, 2017

    @pixelipo
    Contributor

    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).

  10. pixelipo commented on Dec 12, 2017

    @pixelipo
    Contributor

    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)

  11. skjnldsv commented on Dec 12, 2017

    @skjnldsv
    Member

    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)

  12. pixelipo commented on Dec 12, 2017

    @pixelipo
    Contributor

    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?

  13. skjnldsv commented on Dec 12, 2017

    @skjnldsv
    Member

    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

  14. pixelipo commented on Dec 20, 2017

    @pixelipo
    Contributor

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

  15. skjnldsv commented on Dec 20, 2017

    @skjnldsv
    Member

    @pixelipo time for a vm! 😆

  16. pixelipo commented on Dec 20, 2017

    @pixelipo
    Contributor
  17. MorrisJobke commented on Jan 2, 2018

    @MorrisJobke
    MemberAuthor

    @pixelipo time for a vm! 😆

    VMs can be downloaded from http://modern.ie 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions