Putting an image onto the icon field resulting missing alpha channel

2»

Comments

  • @Sebastian Rasch

    I'd like you to run a little test for me, if possible. I've written a little test app that you can download here. I'd like you to drag iStat Menus 5 to it, as you would in 1Password, and let us know what it comes up with. It uses the same function to get the image for the app as we use in 1Password when the image isn't cached. I'm curious to see if they match.

  • Sebastian Rasch
    Sebastian Rasch
    Community Member

    Looks good. The icon in 1Password looks good though as well until I save it. Only when I save it the white background appears.

  • Hi @Sebastian Rasch‌,

    Are you a developer by any chance? I'm wondering if there's a tool on your Mac that might be overriding something. Do you use any image compression tools like pngquant?

  • Sebastian Rasch
    Sebastian Rasch
    Community Member

    No. Well, I do a lot with pictures and graphics, but I don’t use any tools that would compress images or any other tools that could possibly interfere. I deactivated all of my 3rd party tools that are running constantly and the behaviour is still the same.

  • MikeT
    edited October 2014

    Hi @Sebastian Rasch‌,

    Let's tackle this differently, can you email us your diagnostic report to support+forum@agilebits.com with a link to this thread and your forum username?

    Thanks!

  • Sebastian Rasch
    Sebastian Rasch
    Community Member

    OK just did so.

  • Megan
    Megan
    1Password Alumni

    Hi @Sebastian Rasch,

    We've received your Diagnostics Report - thanks for sending it in! I've updated the email thread with the necessary details from this forum discussion so that it is easier for our support team to get up to speed with the issue. Someone from the support team will get back to you as soon as possible with some further information. We'll keep the conversation going directly via email to avoid complicating things between here and there. :)

    ref: MUQ-76453-241

  • SirAtilla
    SirAtilla
    Community Member

    I am seeing this exact same issue. All software licenses I have updated since Yosemite had a grey rectangle behind the icon. Previously stored icons do not.

  • sjk
    sjk
    1Password Alumni
    edited October 2014

    Hi @SirAtilla,

    Please run Help > Troubleshooting > Show Application Log from the 1Password menu and check for messages containing text like this:

    S customIconChanged:withData: | Original image size is too big (over 16384 bytes): 26632 bytes E setCustomIconImage:fileData: | Failed to set custom icon as PNG, data is too large: 26632 bytes. Trying JPEG: 6452 bytes.

    Overly large PNG image files being converted to JPEG appears to be the reason behind Sebastian's problem and might also be causing yours. I've mentioned this to Rick ( @rickfillion ).

  • SirAtilla
    SirAtilla
    Community Member

    Hi @sjk, @rickfillion‌,

    Yes I have those exact messages in my application log.

  • sjk
    sjk
    1Password Alumni

    Thanks for checking that, @SirAtilla.

    Glad we finally know where the trouble is. Maybe the maximum image file size can be bumped up a bit so 1Password can accept larger PNGs.

  • Sebastian Rasch
    Sebastian Rasch
    Community Member

    OK I managed to create a .PNG smaller than 16K (took me several attempts) that indeed works in 1Password. It has a quite small resolution though (200² pixels) - OS X ICNS are 1024² pixels.

  • sjk
    sjk
    1Password Alumni

    I'm happy you got that to work, Sebastian. Thanks for sticking with us to figure out the problem. :)

    The current maximum icon image size may have been pre-retina limit. I'm sure our developers will get this sorted out.

  • Sebastian Rasch
    Sebastian Rasch
    Community Member

    Fantastic! Glad this one is finally solved as well.

  • sjk
    sjk
    1Password Alumni

    Indeed -- cheers!

  • SirAtilla
    SirAtilla
    Community Member

    I was hoping this got fixed in one 1Password 5.1 but it appears same problem still exists. Is there an ETA to resolve this? Seems fairly simple considering it is a regression.

  • Lars
    Lars
    1Password Alumni
    edited April 2015

    Hi @SirAtilla - Unfortunately, I don't have an ETA for you. Our developers have been hard at work getting all the new features you see in the new update ready for release, and apparently there wasn't enough time or developer-hours to get to this one. However, it's most definitely on their radar screen, and I will mention it to them again.

    ref: OPM-1478, OPM-2575

This discussion has been closed.