Rich icons not working
Comments
-
Hi @Blava
I've seen this once before. When you attach a custom image to an entry we shrink it down in size. It tries 3 times, each more aggressive than the previous to do this but if it doesn't compact the icon down to a suitable size it fails, only noticeable when you click save. We do have a bug report on this but at the moment what you may want to try is manually reducing the size of the image before adding it, something Preview can help you with. The oddity in the previous case was that despite being supplied the exact image we couldn't replicate the failure - our systems, making the exact same system call would shrink the image to a suitable size.
Does it persist in this behaviour if you shrink the size of the icon?
0 -
littlebobbytables,
thanks for the suggestion, but this does not solve the problem. Just the day before this misbehavior I have created entry for a freshly bought Parallels.
Dragged the app icon in and there it was. Now I cannot do that. I get the same results. While editing, rich icon is showing, second I save, it disappears.
This came on suddenly. One day it work and literally next day it's broken. No matter what I try, where the icon comes from and at at whatever size it just
does not stick.I should mention that when I turn rich icons off in preferences, two apps will still show them (quark and carbon copy cloner). The rest of them turn
generic.And one more thing, that might be not related is that not all the web site pull the rich icon. I just created login fro WindowsPoint site and that did not
work. On the other hand I had to create new log-in fro Agile site (the old one did not work) and in this instance the rich icon is showing.0 -
I did little sleuthing.
I downloaded 1password 5 from web. ( I have original license since v.3 days). Strange thing is that I did not have to enter the license key to use it.
It thinks it's a App store purchase. Besides that ,rich icon works. When I go back to App store purchased one v 5.0.2(502006) it does break again. When starting up from the web based v 5.0.2(502007) again, it automatically shows rich icon that was applied earlier.I am starting to suspect iCloud sync.
0 -
Confirmed.
In my case iCloud is a culprit. Here is what I did.
• turned off the iCloud sync
• restored from back up created with 1Password copy downloaded from your site, rich icons are fine
• turned on the the iCloud sync, rich icon in question changed to generic immediatelyI am having some issues with family sync, maybe this is related. I will call Apple to resolve iCloud issues and see if it changes anything.
0 -
… it looks like something happens to the vault file when synced to iCloud.
0 -
Hi @Blava
Depending on the source we handle icons differently. The Use rich icons option refers to icons 1Password will pull down from our CDN and turning this option off will remove those icons - they aren't stored in your vault. If you add a custom image that is stored in your vault and is independent of rich icons.
So it seems I misunderstood how you were trying to add an image.
If you're still experiencing issues I think our devs would be interested in a diagnostic report. If you could repeat the steps of having it working, enabling iCloud and it breaking first then follow this:
I'd like to ask you to create a Diagnostics Report from your Mac.
Then attach the entire file to an email to us: support+forum@agilebits.com
Please do not post your Diagnostics Report in the forums, but please do include a link to this thread in your email, along with your forum handle so that we can "connect the dots" when we see your Diagnostics Report in our inbox.
A short note here once you've sent the Report in will help us to keep an eye out for it. :)
Once we see the report we should be able to better assist you. Thanks in advance!
0 -
Thanks!
More I am looking into this, it does appear to be a bug of sort. At this moment I can say for sure that this affects the 1Password bought at App store, the web purchased one behaves just fine in that regard. As soon as I can I'll get diagnostic report to you.0 -
Report was send.
Thanks for looking into this. Let me know if you need any additional info.
0 -
Hi @Blava,
I'm trying here and I have not been able to reproduce this issue, even when using iCloud Sync. To try to reproduce, I:
- Created a new Software License and named it 'Sidekick' as I have an app in /Applications named Sidekick
- I saw that it picked up its icon automatically
- I then went and found another icon, the Appstore icns file actually. I dragged that into the Sidekick icon to swap it
- It swapped it, and I hit save
- I disconnected sync entirely
- I reconnected iCloud sync
- The appstore icon is still showing on the Sidekick software license
Am I doing any steps wrong?
As for the webstore showing as licensed from the appstore... that's expected. We made transitioning from Mac App Store to Webstore easier in version 5.
Rick
0 -
OK. It looks like I have figure out what happened, although I still do not understand why and it does not seems to be related to iCloud what so ever.
Try this:
• Create the new entry for the software license in the App store version of the the 1Password and name it "Microsoft Windows 7 Ultimate"
• Try to apply included .png image as a rich icon. After saving this turns into generic one. This is where it gets interesting. For some strange reason
after this I was not able to create a software entry where the rich icon would stick, no matter what I tried. That's why I fired up web version of the
1Password and everything worked just fine, even .png image would stick. Then I went back to the App store version with iCloud sync off (since I was
suspecting it to be the culprit), opened backup file created with the web based version and viola, .png image was displayed as rich icon. Unfortunately
the second I turned the iCloud sync back the icon changed back to the generic one right in from of me.• Then I rebuilt the directory and tried one more time. Mind you that I am not sure if rebuilding the directory has had any impact on the final outcome.
Opened App store version with the same result. This time I created the copy of the "Microsoft Windows 7 Ultimate" and renamed it to "Windows 7".
at first nothing happened, but after deleting the generic icon in the edit preview suddenly I got the Windows 7 icon in a blue circle (not the .png that I
was trying to apply and the one that worked in the web version). If I changed The title to "Windows 7 Ultimate" the icon automatically change to just
'widows' flag with no background. When I rename the entry "Microsoft Windows 7 Ultimate" or "Windows Ultimate" icon changes to the generic one.• Somewhere along there was a instance that the icon was generic on the screen, yet printed and show in print preview as rich one.
• ThenI noticed that my entry for "Microsoft Office 20011" shows different rich icon in iOS then on my Mac. After changing the name to "Office 2011"
only, they are both identical. Although changing the title to "Office" only changes the rich icon to a different one.• In the summary, App store version behaves differently from the web version. In the web version I can assign any image to show as rich icon while in the App store version I am not exactly sure what is happening. For example I definitely cannot apply just any icon to the software entry in the App store
version and I have to be careful what the title says for it to work. For example just creating the duplicate which is named "app name - copy" will yield the
same results with rich icon being replaced with the generic one.• By the way, all the above testing was done with iCloud sync on.
I am not sure why it's doing what i's doing, but I'll be interested to here what you find out.
Cheers.
ivan
0 -
Hi @Blava,
Thanks for that investigation. Mind answering some more questions? For software we look on your local disk for icons to use... Here are the locations that I'm seeing that we check for:
- /Applications (any app whose name matches the title of the Software item)
- ~/Library/PreferencePanes (we look inside of any pref panes whose names match the lowercased, whitespace-stripped version of the title of Software Item). Inside of there we look in Contents/Resources for icons that would be appropriate.
Could you look to see if the icons you're seeing are being pulled from there? Because I don't have a trace of Windows on my Mac, your exact example will not work for me.
The AppStore version of the app will not be able to look in ~/Library/PreferencePanes because of sandboxing restrictions, so it should be limited to only getting results from /Applications.
You mentioned "For example just creating the duplicate which is named "app name - copy" will yield the same results with rich icon being replaced with the generic one."
This would make sense to me. With a name like "Sidekick" it'll find /Applications/Sidekick.app and use its icon. With "Sidekick copy" it won't be able to find /Applications/Sidekick copy.app as it doesn't exist and it'll go generic.
I'm leaning towards you having found a bug... but I'm just trying to get a better understanding of where the icons are getting pulled from in each case. Realize that we do not provide any icons for Software at all, so all of the automatic icons you're seeing are being pulled from somewhere on your system.
Here's a screenshot I've taken here from 1Password 5/AppStore where I created two Sidekick items. The first is picking up the icon automatically from /Applications. The second was picking it up, and I've replaced it with the image you've provided.
Would you be willing to record a little video of the steps you've described via QuickTime so that we could see it and make sure we're understanding it perfectly?
Rick
0 -
Rick,
I cannot assign different icon to the application like you just did. At least not in App store version. I will certainly shoot the action video so you can see what is happening on my end. I'll do it ASAP.0 -
Thanks @Blava.
Don't forget to check to see if you have apps named the exact same as the items to see if that's the icon it's picking up.
Rick
0 -
Rick,
Here is a quick video to demonstrate the issue I brought up.
https://dl.dropboxusercontent.com/u/3769125/1Password Rich Icon Video.mp4
I am running OS X 10.10 and 1Password from the App store. As you can see I cannot change the rich icon for the application on my hard drive with .png file that I am using for the test purposes, nor using .icns from any other application on my drive (that part is not in the video).
I need to mention that I do not have and never have had any windows installed on this machine. Unless rich icons are being pulled from the Office Suite, I have no idea where are they coming from.
I was able to assigned my test .png icon in 1Password web version with no restrictions. (again video does not show that).
Let me know if you need more, I would be very interested in your findings.
Thanks, Ivan.
0 -
Hi @Blava Lets see what @rickfillion says. This will probably drive you a little daft though. I'm running 1Password 5 (MAS) on 10.10.1 myself. My entry for 1Password 3 was showing me the icon for the 1Password.app in my Applications so I just dragged the icon from the old 1Password 3 and it saved. I don't know how but your system must differ slightly from what Rick and I have.
0 -
Hi @Blava,
Thanks a ton for the video, and the many tests you did in it. I can only think of one thing that might cause this, and we should be able to confirm it a Diagnostics Report. My theory is that for whatever reason your system is failing to find a way to save the images you're dragging into the image well into a small enough size. This process happens after you hit save, which explains why you would see the image show up until you hit save (there's a disconnect between when we take the image in, and show it in the UI and when it actually gets resized and saved to disk). It can behave differently on different systems which is likely why it behaves correctly for me and @littlebobbytables but not for yourself.
Let's see if we can confirm this with the Diagnostics Report... Could you create a diagnostics report by following the instructions on this page? Email the diagnostics report to support+forum@agilebits.com, and include a link to this thread so that we can connect the dots.
In this DR what I'm looking for are log entries that indicate that 1Password has tried to resize the image 3 times and has not gotten the image size small enough and is giving up. I believe you're running into the bug that we have filed here as OPM-2575.
Rick
__ref__: OPM-2575
0 -
Rick,
I am extremely busy at the moment, but will get back to it as soon as I can. I did not drop the ball on this … I would like to find out what is going on.0 -
Good to hear, @Blava. :smile:
0