-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Icons disappear from Brackets UI when Inkscape is installed #7208
Comments
@asincrono Hmm, this sounds like #7091... Are you also not seeing the expand/collapse triangles in the left-hand file tree? What about the Brackets logo in the About box? |
Same behaviour with Sprint 37. |
I just reinstalled inkscape (was a dev build but I think will happen the same with the regular) and the icons went missing again. So I imaging this issue will affect the ppl with Inkscape and windows. |
Wow, that is crazy weird. Do SVG files render correctly for you in Chrome? (Some quick Googling didn't turn up any references to Inkscape breaking Chrome, but it's worth checking). Reopening now that we have a firm repro case. |
Clarified title (was: "Missing icons in windows 8.1 64 bit (sprint 36, spanish)") |
Btw, you can easily repro by just editing the registry key to anything else than |
@asincrono If you open a new tab in Chrome and drag any SVG file onto it -- so the file is viewed from a It looks like Inkscape is setting an incorrect mimetype on .svg files, which affects how browsers 'serve' them up from |
With the changed reg property, the file is "downloaded". With the right one, it is shown. |
As SAPlayer said, if I use the "application/svg" instead of "image/svg+xml", Chrome downloads the file (accessing by file://) if I try to open a SVG file from the web it works as usual, Chrome displays it. |
It looks like recent versions of CEF have an API that would let us fix this in our native code: https://code.google.com/p/chromiumembedded/issues/detail?id=1098 |
Reviewed - low priority @JeffryBooher to use the CEF API to forcibly correct the mimetype within brackets-shell. (If we get more reports of this, priority might go up -- but low for now). We may also want to file a bug against Inkscape just so they know their installer is setting an incorrect mimetype these days. |
I think the only way to solve this would be to check the registry to make sure that the correct mime type is registered for svg files and change it. The question is -- is this something we want to do? another tool has changed it and if we change the registry it would break the other tool. I don't know of a CEF API to take over mimetypes. @peterflynn was there an API that you know of that does this? |
I need to remind that there was no the regular Inkscape the one who broke 2014-03-24 23:23 GMT+01:00 Jeff Booher notifications@github.com:
|
@JeffryBooher See the bug I linked to above: https://code.google.com/p/chromiumembedded/issues/detail?id=1098. This seems to be presenting an API for it. (Edit: actually https://code.google.com/p/chromiumembedded/issues/detail?id=515 might be more relevant) Whether it's worth it to use that API at this point, I'm not sure though. This bug's priority is currently low / not nominated for 1.0, so... |
I know this is an older post but I thought I'd ask here before I created a new post, so I am having the same problem that @asincrono had, however I do not have inkscape installed at all. I tried looking for the HKEY_CLASSES_ROOT.svg but I could not find it. I am running sprint 38 and was just wondering what I should do. I don't know much about brackets seeing as I just installed it, however I looked in the code and noticed there is no tags in the side bars. |
@obliviousjd There are no tags because the image is displayed via the background-image CSS attribute. For me, I was having the same problem as @asincrono, I had installed a dev version of Inkscape which had messed up the content type (MIME) of SVG. Deleting the Content Type Value in the HKEY_CLASSES_ROOT.svg key fixed it for me. The underlying problem is that Chromium follows whatever content type Windows has it set as for the file extension. Windows stores these settings in the registry. If an application (in my case Inkscape, but it could be anything) comes in and changes the content type to something that chromium doesn't like, it will choose not to render it. I would double check to see if there is a .svg key in HKEY_CLASSES_ROOT as that is really the only place in Windows that defines that behavior. |
ok i didn't actually know what the HKEY_CLASSES_ROOT.svg was, I assumed it was a file in the brackets directory however i found out what it was and where to find it, so once i deleted it everything started working, sorry about the trouble I was just confused :) |
I have the same problem. |
Not sure why this issue was closed. It appears to still be a problem and this is the best candidate to fix (+has all of the required native API changes noted) |
This issue is still affecting users, me included. Manually adjusting mime types in the registry is a poor workaround for such a simple fix. |
@felixhcat Can you describe the simple fix you have in mind? |
According to this the root problem has recently been fixed in Inkscape: https://bugs.launchpad.net/inkscape/+bug/1399720. So it sounds like everyone who's having this issue just needs to update to the latest Inkscape prerelease (the bug supposedly only affects the 0.91/0.92 prerelease series, so anyone hitting this bug is presumably using a prerelease version already). |
I was running both versions of Inkscape here: 0.91 and 0.91pre3 and had this bug. I removed the 0.91pre3 version and the extension icons appeared again. Looks like it was indeed fixed. |
So glad I found this thread, the missing icons in Brackets have been a nuisance! |
I ran across this issue with Brackets missing the triangle icons on the left, as well as the extension toolbar icons on the right. All fixed now ... see below :-) I do NOT have Inkscape installed on my Windows PC. I do have various other graphics software installed, some of it is from Adobe. The fix was to delete these registry keys (I backed them up first!):
|
I had the same problem that @jbwCode spoke. No Inkscape, but Photoshop and Elements installled here I deleted the same registry keys and all the svg icons in Brackets are visible now. |
Same thing in Ubuntu 16.04. Uninstalling Inscape doesn't help. |
I can't see the "close file" icon at the left of the file names at the left bar, neither the "live development" and "extensions manager" at the top right. I can click over the place and the "button" works, but can't see the icons.
I see the broken image icon for "installed", "available" when I open the "extensions manager".
This is on a Windows 8.1 64 bit. Brackets Sprint 36 and Spanish language.
The text was updated successfully, but these errors were encountered: